Skip to content

perf: add sideEffects declaration to all packages#670

Open
TrevorBurnham wants to merge 1 commit intoaws:mainfrom
TrevorBurnham:side-effects-false
Open

perf: add sideEffects declaration to all packages#670
TrevorBurnham wants to merge 1 commit intoaws:mainfrom
TrevorBurnham:side-effects-false

Conversation

@TrevorBurnham
Copy link
Copy Markdown

This commit adds sideEffects: false to all packages, allowing Webpack and other bundlers to remove unused code when consumers import from them:
https://webpack.js.org/guides/tree-shaking/#mark-the-file-as-side-effect-free

License

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

This commit adds `sideEffects: false` to all packages, allowing Webpack
and other bundlers to remove unused code when consumers import from
them:
https://webpack.js.org/guides/tree-shaking/#mark-the-file-as-side-effect-free
@TrevorBurnham TrevorBurnham requested a review from a team as a code owner August 25, 2025 18:08
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