Skip to content

Commit 66c5489

Browse files
committed
feat(Build): Run production build by default when running npm run build.
1 parent fd57296 commit 66c5489

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/cli/template/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"server": "npm run server:dev",
88
"server:dev": "webpack-dashboard -- webpack-dev-server --config ./webpack.config.js --hot --inline --progress --watch --open",
99
"server:prod": "cross-env NODE_ENV=production webpack-dashboard -- webpack-dev-server --config ./webpack.config.js --port 3000 --host 0.0.0.0 --hot --inline --progress --profile --watch --open --content-base dist/",
10-
"build": "npm run build:dev",
10+
"build": "npm run build:prod",
1111
"build:dev": "webpack --config ./webpack.config.js --progress --profile --color --display-error-details --display-cached",
1212
"build:prod": "cross-env NODE_ENV=production webpack --config ./webpack.config.js --progress --profile --color --display-error-details --display-cached --bail",
1313
"clean": "npm cache clear && rimraf -- dist",

0 commit comments

Comments
 (0)