当前位置: 首页 > 工具软件 > Note IT > 使用案例 >

[BABEL] Note: The code generator has deoptimised the styling of …… as it exceeds the max of "500KB".

徐柏
2023-12-01

在项目目录下新建.babelrc,写入以下内容:

{
    "compact": false,
    "presets": ["env", "react", "stage-0"],
    "plugins": [
      "transform-runtime"
    ]
}

 

 类似资料: