how to config es2015 in this project
zhangwei900808 opened this issue · comments
张威 commented
I used ()=>{} is not work it's tips me
[!] (plugin uglify) Error: Unexpected token: punc «)»
SyntaxError: Unexpected token: punc «)»
Brian Donovan commented
Perhaps use terser instead of uglifyjs?