Skip to content

Conversation

@GauBen
Copy link

@GauBen GauBen commented Feb 7, 2025

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)

Hey! Small update to enable complete tree-shaking of clsx and prevent bare imports `import "clsx";` from ending in bundles
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant