Browse Source

Pull request #1390: 无JIRA任务 解决node默认内存不够的问题

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

* commit '70efa1a17cd75df0cf4d47062271e74e879c6704':
  chore: 解决node默认内存不够的问题
es6
Teller 5 years ago
parent
commit
daa91b0a19
  1. 4
      package.json

4
package.json

@ -61,8 +61,8 @@
"webpack-merge": "4.2.1"
},
"scripts": {
"webpack:dev": "webpack-dev-server -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:dev": "node --max_old_space_size=4096 ./node_modules/.bin/webpack-dev-server -p --progress --host 0.0.0.0 --config=webpack/webpack.dev.js --mode development",
"webpack:prod": "node --max_old_space_size=4096 ./node_modules/.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