production mode

This commit is contained in:
Alexander Yakovlev 2021-08-14 14:09:05 +07:00
parent 444df1ac2a
commit fc7ae01217
Signed by: oreolek
GPG key ID: 8D24103F5EE2A6C0

View file

@ -2,7 +2,7 @@
"scripts": {
"build": "webpack --config ./webpack.config.js",
"start": "webpack-dev-server --content-base public/ --inline --port 3001",
"prod": "./node_modules/cross-env/src/bin/cross-env.js NODE_ENV=production ./node_modules/webpack/bin/webpack.js",
"prod": "./node_modules/cross-env/src/bin/cross-env.js NODE_ENV=production ./node_modules/webpack/bin/webpack.js --mode=production",
"dev": "./node_modules/cross-env/src/bin/cross-env.js NODE_ENV=development ./node_modules/webpack/bin/webpack.js",
"watch": "./node_modules/webpack/bin/webpack.js --watch"
},