fix: 项目打包构建流程优化 & 补充说明

This commit is contained in:
GraceWalk
2022-09-13 11:43:30 +08:00
parent 2e016800e0
commit 4efe35dd51
16 changed files with 37265 additions and 65 deletions

View File

@@ -18,7 +18,7 @@
"scripts": {
"test": "echo \"Error: run tests from root\" && exit 1",
"start": "cross-env NODE_ENV=development webpack-dev-server",
"build": "rm -rf ../../pub/layout & cross-env NODE_ENV=production webpack --max_old_space_size=8000"
"build": "cross-env NODE_ENV=production webpack --max_old_space_size=8000"
},
"dependencies": {
"babel-preset-react-app": "^10.0.0",