Skip to content

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
@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))
@github-actions
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.

2 participants