Skip to content

Commit

Permalink
Remove cross-env from react-hot-boilerplate (#738)
Browse files Browse the repository at this point in the history
With the [upgrade to Webpack 4](c122c9f), passing `NODE_ENV` is no longer necessary, and neither  is the `cross-env` dependency. Removing.
  • Loading branch information
nil4 authored and johnnyreilly committed Mar 7, 2018
1 parent 55806a1 commit 0936566
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions examples/react-hot-boilerplate/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"scripts": {
"start": "webpack-dev-server --mode development",
"prebuild": "rimraf dist",
"build": "cross-env webpack --mode production --config webpack.config.production.js",
"build": "webpack --mode production --config webpack.config.production.js",
"postbuild": "copyfiles index.html dist"
},
"repository": {
Expand Down Expand Up @@ -34,7 +34,6 @@
"@types/react-dom": "^16.0.0",
"@types/react-hot-loader": "^3.0.4",
"copyfiles": "^1.2.0",
"cross-env": "^3.1.4",
"fork-ts-checker-webpack-plugin": "^0.4.0",
"react-hot-loader": "^3.0.0",
"rimraf": "^2.6.0",
Expand Down

0 comments on commit 0936566

Please sign in to comment.