Skip to content

Commit 0936566

Browse files
nil4johnnyreilly
authored andcommitted
Remove cross-env from react-hot-boilerplate (#738)
With the [upgrade to Webpack 4](c122c9f), passing `NODE_ENV` is no longer necessary, and neither is the `cross-env` dependency. Removing.
1 parent 55806a1 commit 0936566

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

examples/react-hot-boilerplate/package.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"scripts": {
66
"start": "webpack-dev-server --mode development",
77
"prebuild": "rimraf dist",
8-
"build": "cross-env webpack --mode production --config webpack.config.production.js",
8+
"build": "webpack --mode production --config webpack.config.production.js",
99
"postbuild": "copyfiles index.html dist"
1010
},
1111
"repository": {
@@ -34,7 +34,6 @@
3434
"@types/react-dom": "^16.0.0",
3535
"@types/react-hot-loader": "^3.0.4",
3636
"copyfiles": "^1.2.0",
37-
"cross-env": "^3.1.4",
3837
"fork-ts-checker-webpack-plugin": "^0.4.0",
3938
"react-hot-loader": "^3.0.0",
4039
"rimraf": "^2.6.0",

0 commit comments

Comments
 (0)