Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR in js/5.js from UglifyJs warnings is not a supported option #4

Open
JerryWang24 opened this issue Jun 26, 2019 · 2 comments
Open

Comments

@JerryWang24
Copy link

ERROR in js/5.js from UglifyJs
warnings is not a supported option
打包时报错了,请问是什么问题

@codeSnipe
Copy link
Collaborator

初步估计,应该是这个js中出现了一些不合法的预发,Uglify 不支持压缩。可以发部分5.js压缩的部分内容来确定

@JerryWang24
Copy link
Author

是很多,不单单5.js不能压缩,我查了说es6不支持的问题,但是还没有解决办法,只能先把这个插件注释了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants