Adding `sideEffects: false` to package.json
Aperta
- Lingua principale
- TypeScript
- Stelle
- 11.9k
- Fork
- 488
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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 :)
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.