Adding `sideEffects: false` to package.json
Open
- Dominant language
- TypeScript
- Stars
- 11.9k
- Forks
- 488
- PR merge metrics
- No merged PRs in 30d
Description
Hello! :)
Would it make sense to add `sideEffects: false` to `package.json`? This can enable more tree-shaking, in some cases: [documentation](https://github.com/webpack/webpack/blob/main/examples/side-effects/README.md)
Other popular libraries, such as `axios`, have been adding this flag: https://github.com/axios/axios/pull/5025
I'd be happy to open a PR :)
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.