0
点赞
收藏
分享

微信扫一扫

Linux中的用户和用户组

辰鑫chenxin 2023-09-13 阅读 30

问题描述:
npm run build 时出现下面的问题:

Note: The code generator has deoptimised the styling of D:\base\node_modules\_element-ui@2.15.12@element-ui\lib\element-ui.common.js as it exceeds the max of 500KB.

在项目的根目录加粗样式下找到 .babelrc 文件或者babel.config.js文件,增加 “compact”: false ,如:

{
"compact": false,
  "plugins": [
    ""
  ]

}

如果不存在则手动创建该文件,并填写内容如:

{
"compact": false,
}


举报

相关推荐

0 条评论