Enhance webpack build script with production mode and progress tracking

This commit is contained in:
go0p
2025-03-02 15:31:21 +08:00
parent 2c88e8764a
commit 62cb22d2ab
+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"
},