Skip to content

Commit a5dc84d

Browse files
committed
Make sure it gets built post-install
1 parent a40a67b commit a5dc84d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/react-error-overlay/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
"start": "cross-env NODE_ENV=development npm run build -- --watch",
99
"test": "flow && jest",
1010
"build": "babel src/ -d lib/",
11-
"build:prod": "cross-env NODE_ENV=production babel src/ -d lib/"
11+
"build:prod": "cross-env NODE_ENV=production babel src/ -d lib/",
12+
"postinstall": "npm run build:prod"
1213
},
1314
"repository": "facebookincubator/create-react-app",
1415
"license": "BSD-3-Clause",

0 commit comments

Comments
 (0)