Enhance webpack build script with production mode and progress tracking

This commit is contained in:
go0p
2025-03-04 16:07:15 +08:00
parent 8801de3441
commit 43743d729f
+1 -1
View File
@@ -57,7 +57,7 @@
},
"scripts": {
"start": "node scripts/start.js",
"build": "cross-env NODE_ENV=production webpack --config webpack.config.js",
"build": "cross-env NODE_ENV=production webpack --config webpack.config.js --mode production --progress --no-watch",
"watch": "cross-env NODE_ENV=development webpack --config webpack.config.js",
"test": "node scripts/test.js"
},