解决npm run dev或者npm run build 出现...exceeds the max of 500KB
npm项目运行:npm run dev或者npm run build出现BABEL] Note: The code generator has deoptimised the styling of \element-ui\lib\element-ui.common.js as it exceeds the max of 500KB.在项目的根目录加粗样式下找到 .babelrc 文件,增加 “co
·
npm项目运行:npm run dev或者npm run build出现
BABEL] Note: The code generator has deoptimised the styling of \element-ui\lib\element
-ui.common.js as it exceeds the max of 500KB.
在项目的根目录加粗样式下找到 .babelrc 文件,增加 “compact”: false ,如:
{
"compact": false,
"plugins": [
""
]
}
如果不存在则手动创建该文件,并填写内容如:
{
"compact": false,
}
更多推荐
已为社区贡献1条内容
所有评论(0)