Skip to content

Commit 2c92fd4

Browse files
SimenBTimer
authored andcommitted
fix: add sideEffects: false to react-error-overlay (#5451)
This allows us to leave the import in the code, and webpack will still tree shake it out
1 parent a5ea56a commit 2c92fd4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/react-error-overlay/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"version": "5.1.0",
44
"description": "An overlay for displaying stack frames.",
55
"main": "lib/index.js",
6+
"sideEffects": false,
67
"scripts": {
78
"start": "cross-env NODE_ENV=development node build.js --watch",
89
"test": "cross-env NODE_ENV=test jest",

0 commit comments

Comments
 (0)