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

fix: mark package as side-effect free #630

Merged
merged 1 commit into from
Jan 16, 2024

Conversation

achingbrain
Copy link
Member

Tree shaking results in smaller web bundles by deleting unused code.

This module is side-effect free so mark it as such to signal to bundlers that unused exports can be excluded from bundles.

[Tree shaking](https://webpack.js.org/guides/tree-shaking/) results in smaller web bundles by deleting unused code.

This module is side-effect free so mark it as such to signal to bundlers that unused exports can be excluded from bundles.
@achingbrain achingbrain merged commit 699c1e0 into main Jan 16, 2024
16 checks passed
@achingbrain achingbrain deleted the fix/mark-package-side-effect-free branch January 16, 2024 07:53
github-actions bot pushed a commit that referenced this pull request Jan 16, 2024
## [20.0.2](v20.0.1...v20.0.2) (2024-01-16)

### Bug Fixes

* mark package as side-effect free ([#630](#630)) ([699c1e0](699c1e0))
Copy link

🎉 This PR is included in version 20.0.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant