某个js文件(自己编写或者引用)的文件大小太大
[BABEL] Note: The code generator has deoptimised the styling of xxxxxxx/typescript.js as it exceeds the max of 500KB.
用到的一个js文件大约500kb报的错
在项目根目录下新建.babelrc { "compact": false, "presets": ["env", "react", "stage-0"], "plugins": [ "transform-runtime" ] } 或者
{ "compact": false}