aboutsummaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
Diffstat (limited to 'package.json')
-rw-r--r--package.json4
1 files changed, 2 insertions, 2 deletions
diff --git a/package.json b/package.json
index ed72e2bc..23930884 100644
--- a/package.json
+++ b/package.json
@@ -6,8 +6,8 @@
"compile": "cross-env NODE_ENV=production webpack",
"lint": "eslint .",
"vnext:test": "jest",
- "vnext:build": "webpack -c vnext/webpack.config.js",
- "vnext:build:ssr": "npm run vnext:build && webpack -c vnext/server/webpack.config.js",
+ "vnext:build": "webpack -c vnext/webpack.config.js --mode production",
+ "vnext:build:ssr": "npm run vnext:build && webpack -c vnext/server/webpack.config.js --mode production",
"vnext:start-ssr": "npm run vnext:build:ssr && cross-env DEBUG=http node --enable-source-maps public/server.js",
"vnext:start": "cross-env NODE_ENV=development webpack serve -c vnext/webpack.config.js --mode development",
"vnext:lint": "eslint vnext/src/**/*.js"