Browse Source

Revert "chore: 解决node默认内存不够的问题"

This reverts commit 70efa1a17c.
es6
iapyang 4 years ago
parent
commit
d1eb2296f9
  1. 4
      package.json

4
package.json

@ -61,8 +61,8 @@
"webpack-merge": "4.2.1"
},
"scripts": {
"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",
"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",
"start": "node server.js",
"build": "npm run webpack:prod && tsc",
"postbuild": "node ./lib/postbuild/postbuild.js",

Loading…
Cancel
Save