lukeed/clsxPublic

A tiny (239B) utility for constructing `className` strings conditionally.

v2.0.0

LUlukeed published 6232a9eImmutable

Release notes

## 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](https://github.com/lukeed/clsx#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

Attached at publication

## 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](https://github.com/lukeed/clsx#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

Assets 0
None were attached at publication.
No assets.

Shipped in this Release 0

None

Deployments 0

  • None

History 0

No Decisions yet.