Skip to content

Commit 2a7bfbe

Browse files
authored
fix: add sideEffects: false to react-error-overlay
This allows us to leave the import in the code, and webpack will still tree shake it out
1 parent f89385f commit 2a7bfbe

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.0.5",
44
"description": "An overlay for displaying stack frames.",
55
"main": "lib/index.js",
6+
"sideEffects": false,
67
"scripts": {
78
"prepublishOnly": "npm run build:prod && npm test",
89
"start": "cross-env NODE_ENV=development node build.js --watch",

0 commit comments

Comments
 (0)