Skip to content

v2.0.0

Latest

Choose a tag to compare

@wewesss wewesss released this 25 Apr 15:23
· 2 commits to main since this release
36bd936

What's new in v2

New features

  • Object syntax — classigo("btn", { "btn--active": isActive }) now supported
  • classigo/lite — strings-only export (137B), typed to reject objects at compile time

Breaking changes

  • ESM only — CommonJS support removed
  • ClassValue now includes ClassObject — migrate string-only callers to classigo/lite if needed

Internal

  • Minified build via bun build --minify (217B for full, 137B for lite)
  • typeof check inverted for faster string path