Browse Source

Pull request #1654: 无JIRA任务 修复打包内存溢出

Merge in VISUAL/fineui from ~TELLER/fineui:bugfix to master

* commit '3505a66df635ae48d254400f106283dd94c2eb8b':
  chore: 修复打包内存溢出
master
Teller 4 years ago
parent
commit
732fd10e08
  1. 2
      package.json

2
package.json

@ -55,7 +55,7 @@
},
"scripts": {
"webpack:dev": "node --max_old_space_size=4096 node_modules/webpack-dev-server/bin/webpack-dev-server.js -p --progress --host 0.0.0.0 --config=webpack/webpack.dev.js --mode development",
"webpack:prod": "webpack -p --progress --config=webpack/webpack.prod.js --mode production",
"webpack:prod": "node --max_old_space_size=4096 node_modules/webpack/bin/webpack -p --progress --config=webpack/webpack.prod.js --mode production",
"start": "node server.js",
"build": "npm run webpack:prod && tsc",
"postbuild": "node ./lib/postbuild/postbuild.js",

Loading…
Cancel
Save