Baike.dev
All toolsAI codingTrendingOpen sourceNewsSubmit
Log in
Back to tool/Back to issues
#210·mitt

Adding `sideEffects: false` to package.json

Author: neoncube2Created Jul 30, 2025Updated Sep 29, 2025

Hello! :)

Would it make sense to add sideEffects: false to package.json? This can enable more tree-shaking, in some cases: documentation

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 :)

Source: developit/mitt

View original on GitHubView discussion on GitHub