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 committed Nov 20, 2018
1 parent e1c4d27 commit 5eab620
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.1.0",
"description": "An overlay for displaying stack frames.",
"main": "lib/index.js",
"sideEffects": false,
"scripts": {
"start": "cross-env NODE_ENV=development node build.js --watch",
"test": "cross-env NODE_ENV=test jest",
Expand Down

0 comments on commit 5eab620

Please sign in to comment.