Skip to content

Commit

Permalink
Add "sideEffects": false to package.json (#941)
Browse files Browse the repository at this point in the history
Add `"sideEffects": false` to package.json to allow frameworks that mix client and server code in the same files to tree-shake out fs-extra from client bundles.
  • Loading branch information
jacob-ebey committed Feb 21, 2022
1 parent 7edcb16 commit 9568a69
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Expand Up @@ -62,5 +62,6 @@
"test-find": "find ./lib/**/__tests__ -name *.test.js | xargs mocha",
"test": "npm run lint && npm run unit",
"unit": "nyc node test.js"
}
},
"sideEffects": false
}

0 comments on commit 9568a69

Please sign in to comment.