Add `sideEffects: false` to package.json
envgap__JedWatson__classnames-497
01 / FAILURE SIGNATURE
As reported upstream
No identifying execution failure has been captured.
Not a benchmark task.
- The project already builds and runs before the fix, so there is nothing to repair.
02 / ENVIRONMENT RECIPE
- Base commit
23971e03aad0546a14c6b2ddacda488304396730- Manifest
package.json- Reproduce
Awaiting issue-specific recipe- Run under trace
Awaiting a meaningful runtime command
03 / ORIGINAL ISSUE TEXT
JedWatson/classnames #497 · read the original issue
Hello! :) Can we please add `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 Other popular libraries, such as `axios`, have already added this flag: https://github.com/axios/axios/pull/5025 I'd be happy to open a PR :)
04 / LABELS
Labels from the report text only; not yet run
No supported category has been assigned.
Label rules and the text that matched
[]