How to handle 'code generator has deoptimised styling' message from gulp-babel

我是研究僧i 提交于 2019-12-03 07:15:55

Turns out the compact option is set to auto by default which removes "superfluous whitespace characters and line terminators [...] on input sizes >100KB".

If this is not what you want, you can set the compact option to false...

.pipe(babel({compact: false}))
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!