Skip to content

Commit

Permalink
fix: add sideEffects: false to react-error-overlay
Browse files Browse the repository at this point in the history
This allows us to leave the import in the code, and webpack will still tree shake it out
  • Loading branch information
SimenB authored Oct 16, 2018
1 parent f89385f commit 2a7bfbe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/react-error-overlay/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"version": "5.0.5",
"description": "An overlay for displaying stack frames.",
"main": "lib/index.js",
"sideEffects": false,
"scripts": {
"prepublishOnly": "npm run build:prod && npm test",
"start": "cross-env NODE_ENV=development node build.js --watch",
Expand Down

0 comments on commit 2a7bfbe

Please sign in to comment.