mirror of
https://github.com/zhigang1992/create-react-app.git
synced 2026-01-12 22:46:30 +08:00
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
This commit is contained in:
committed by
Joe Haddad
parent
a5ea56abbf
commit
2c92fd48f1
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user