yang1212

Results 3 comments of yang1212

![image](https://user-images.githubusercontent.com/17806205/56028006-bf00b080-5d49-11e9-97fd-0b4acc83f976.png)

uglifyjs-webpack-plugin作为压缩混淆插件,自2.x版本后基于uglify-js,故不再支持es6的压缩。官方推荐webpack4内置terser-webpack-plugin(支持es6压缩)或者降级版本(支持es6压缩)。 其实我想明白的是2.x版本的目的是不是在压缩阶段就进行拦截,对于存在未转译es6代码直接报错,让低版本浏览器达到更好的兼容。 可是我自己搭的小案例用2.x版本测试都是如上类似的报错,看到你的项目中使用才有此疑问,不明白是这个插件的问题,还是其他。 ------------------ 原始邮件 ------------------ 发件人: "CodeLittlePrince/vue-construct"

Encountering the same error, I looked at my project request address prefix is also ws://, and then changed the request address prefix from ws:// to wss:// package apk again.