Sourced from clsx's releases.
v2.0.0
Breaking
- Add
"exports"map for native ESM support (#57): 3ec8e9f, 0949868 Also supports TypeScript'snode16/nodenextmodule resolution Maintains CommonJS support (with fixed TS definitions) Thank you@remcohaszing~!Chores
- Add Tailwind Support section to README (#65, #68): 496db1d, 4a4eadd Thank you
@kevinlowe0x3F7&@kevinlowe0x3F7- Add tests for numbers & variadic number arguments: c520353
- Update package module size: 03e1cf9
Full Changelog: https://github.com/lukeed/clsx/compare/v1.2.1...v2.0.0
6232a9e 2.0.023b2ced 2.0.0-next.00949868 fix: include *.d.mts in pkg zipc520353 chore: add numbers tests;03e1cf9 chore: update pkg size3ec8e9f break: include "exports" map w/ "types" conditions (#57)4a4eadd chore: readme typo (#68)496db1d chore: add Tailwind readme section (#65)