Skip to content

Add sideEffects: false flag, for better tree shaking - #588

Open
neoncube2 wants to merge 1 commit into
form-data:masterfrom
neoncube2:master
Open

Add sideEffects: false flag, for better tree shaking#588
neoncube2 wants to merge 1 commit into
form-data:masterfrom
neoncube2:master

Conversation

@neoncube2

Copy link
Copy Markdown

Adds sideEffects: false to package.json. This can enable more tree-shaking, in some cases: https://github.com/webpack/webpack/blob/main/examples/side-effects/README.md

axios, which depends on this package, has already added this flag: axios/axios#5025

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