clsx icon indicating copy to clipboard operation
clsx copied to clipboard

feat: declare package as side-effect free

Open GauBen opened this issue 8 months ago • 0 comments

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)

GauBen avatar Feb 07 '25 22:02 GauBen