Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mark all files are sideEffects-free to make each tree-shakable #84

Merged
merged 1 commit into from
Mar 25, 2024

Conversation

exoego
Copy link
Contributor

@exoego exoego commented Mar 18, 2024

Closes #83

IIUC, "sideEffects": false allows bundler like Webpack and esbuild to tree-shake unused code.

As far as I checked, all files in src/ has no side-effect.

@marcuspoehls marcuspoehls merged commit c3d8860 into supercharge:main Mar 25, 2024
3 checks passed
@exoego exoego deleted the side-effects branch March 25, 2024 05:33
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.

Not tree-shakeable
2 participants