vue 打包内存溢出

2022-09-22  本文已影响0人  Mylovesunshine

package.json修改
"build": "node --max_old_space_size=8092 build/build.js"

"scripts": {
"dev": "webpack-dev-server --inline --progress --config build/webpack.dev.conf.js",
"start": "npm run dev",
"unit": "jest --config test/unit/jest.conf.js --coverage",
"e2e": "node test/e2e/runner.js",
"test": "npm run unit && npm run e2e",
"lint": "eslint --ext .js,.vue src test/unit test/e2e/specs",
"build": "node --max_old_space_size=8092 build/build.js"
},

上一篇下一篇

猜你喜欢

热点阅读