We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d9222c commit ad67144Copy full SHA for ad67144
template/package.json
@@ -4,7 +4,8 @@
4
"description": "{{ description }}",
5
"author": "{{ author }}",
6
"scripts": {
7
- "build": "webpack --config webpack.config.js --progress --hide-modules",
+ "build": "cross-env NODE_ENV=production webpack --config webpack.config.js --progress --hide-modules",
8
+ "build:env": "cross-env NODE_ENV=development webpack --config webpack.config.js --progress --hide-modules",
9
"build-zip": "node scripts/build-zip.js",
10
"watch": "npm run build -- --watch"
11
},
@@ -19,6 +20,7 @@
19
20
"babel-loader": "^7.1.1",
21
"babel-preset-latest": "^6.24.1",
22
"copy-webpack-plugin": "^4.0.1",
23
+ "cross-env": "^5.0.5",
24
"css-loader": "^0.28.4",
25
"extract-text-webpack-plugin": "^3.0.0",
26
"file-loader": "^0.11.2",
0 commit comments