Authored by 毕凯

构建脚本修改

@@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@
12 "dev": "nodemon -e js,hbs -i public/ app.js", 12 "dev": "nodemon -e js,hbs -i public/ app.js",
13 "static": "node ./public/build/dev-server.js", 13 "static": "node ./public/build/dev-server.js",
14 "build:dll": "webpack --config ./public/build/webpack.dll.indexcss.config.js", 14 "build:dll": "webpack --config ./public/build/webpack.dll.indexcss.config.js",
15 - "build": "webpack --config ./public/build/webpack.dll.indexcss.config.js --config ./public/build/webpack.prod.config.js", 15 + "build": "webpack --config ./public/build/webpack.dll.indexcss.config.js && webpack --config ./public/build/webpack.prod.config.js",
16 "debug": "DEBUG=\"express:*\" nodemon -e js,hbs -i public/ app.js", 16 "debug": "DEBUG=\"express:*\" nodemon -e js,hbs -i public/ app.js",
17 "lint-js": "lint-js", 17 "lint-js": "lint-js",
18 "lint-css": "lint-css", 18 "lint-css": "lint-css",