clsx v2.0.0

v2.0.0
Breaking
  • Add "exports" map for native ESM support (#57): 3ec8e9f, 0949868 Also supports TypeScript's node16/nodenext module 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

View original

Upgraded? How did it go?

Discussion