vue打包报内存溢出 vue-cli 构建的项目: package.json 文件里修改: "build": "node build/build.js" 修改为: "build": "node --max_old_space_size=4096 build/build.js"