lukeed/clsxPublic

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

feat: declare package as side-effect free #107

OpenGauBenwants to merge 0 commits intomasterfromrefs/pull/107/head
  1. GA

    Hey! Small update to enable complete tree-shaking of clsx and prevent bare imports `import "clsx";` from ending in bundles

    Reference: https://webpack.js.org/guides/tree-shaking/#mark-the-file-as-side-effect-free (rollup also supports it)

  2. Unknown GitHub usercommitted 19caf8df5403last year on GitHub