[BABEL] Note: The code generator has deoptimised the styling of

一个js文件超过了100kb,启动服务时报错如下:
Note: The code generator has deoptimised the styling of "xxxxx/controllers/main.js" as it exceeds the max of "100KB".
导致的问题是浏览器中代码格式错乱,把3000多行的代码压缩为200多行了,根本没办法调代码。
通过网上查阅,设置"compact": false之后,启动服务不报错了,但问题依旧存在。请问该问题如何解决?

阅读 11k
撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题