增加WebPack混淆并打包

This commit is contained in:
2025-11-26 06:33:03 +00:00
parent 1d395a5943
commit 0cc8f13231
16 changed files with 5724 additions and 30 deletions

View File

@@ -6,7 +6,9 @@
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start": "node app.js",
"dev": "nodemon app.js"
"dev": "nodemon app.js",
"build": "webpack --config webpack.config.js",
"start:dist": "node dist/server.js"
},
"keywords": [],
"author": "",
@@ -25,5 +27,12 @@
"mysql2": "^3.11.3",
"nodemailer": "^6.9.15",
"nodemon": "^3.1.10"
},
"devDependencies": {
"copy-webpack-plugin": "^12.0.2",
"webpack": "^5.94.0",
"webpack-cli": "^5.1.4",
"webpack-node-externals": "^3.0.0",
"webpack-obfuscator": "^3.5.1"
}
}