vue-cli 构建的项目:
package.json 文件里修改:
"build": "node build/build.js"
修改为:
"build": "node --max_old_space_size=4096 build/build.js"
2022-11-27 22:30:36
vue-cli 构建的项目:
package.json 文件里修改:
"build": "node build/build.js"
修改为:
"build": "node --max_old_space_size=4096 build/build.js"