Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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‎

Lines changed: 1 addition & 0 deletions
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)

AltStyle によって変換されたページ (->オリジナル) /