-
Notifications
You must be signed in to change notification settings - Fork 654
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
经过FIS压缩后,JS里面的内容中的一个'()'被删掉了,导致JS语法错误 #816
Comments
来点上下文,贴下代码看看 |
这估计是uglify 的bug。话说既然文件已经是 .min.js 了为何还要再次压缩呢?是不是针对 |
我感觉这应该是FIS对JS进行了编译,在编译环节出现了这种错吧,所以我现在解决思路是设置FIS不编译这个JS文件,不知道对不对 |
我想不到哪会影响这个,我猜猜是 uglify 环节出的问题,所以你试一下只关闭 optimizer 试试。 fis.match('*.min.js', {
optimizer: null
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
从网上下载的jspdf.min.js,经过FIS压缩后,JS里面的内容中的一个'( )'符号被删掉了,导致JS语法错误,怎么解决?加什么转义符可以使得FIS不会把这个括号删掉.
The text was updated successfully, but these errors were encountered: