diff options
author | Vitaly Takmazov | 2023-04-26 08:34:47 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2023-04-26 08:34:47 +0300 |
commit | b983779c1e8384403d2e67f386985d8b18393769 (patch) | |
tree | 326ddca01522a2d49fc4db1253dcebf954930f7a | |
parent | 89cec9e047c11c340fa87bb861c879fcdc2ba239 (diff) |
vnext: production mode for the ssr build
-rw-r--r-- | package.json | 4 |
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" |