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 1823389 commit a1a16a7Copy full SHA for a1a16a7
package.json
@@ -12,9 +12,9 @@
12
"src"
13
],
14
"scripts": {
15
- "build": "webpack --env.env=prod",
+ "build": "webpack --env.mode=prod",
16
"lint": "eslint statik/**/*.js",
17
- "start": "webpack-dev-server --env.env=dev"
+ "start": "webpack-dev-server --env.mode=dev"
18
},
19
"repository": {
20
"type": "git",
webpack.config.js
@@ -1,5 +1,5 @@
1
module.exports = (env) => {
2
- const config = require(`./webpack/webpack.${env.env}`);
+ const config = require(`./webpack/webpack.${env.mode}`);
3
4
return config;
5
};
0 commit comments