HaNdTriX / generator-chrome-extension-kickstart

Scaffold out a Web Extension http://yeoman.io
MIT License
239 stars 33 forks source link

uglifyjs arrow functions #31

Open OmgImAlexis opened 6 years ago

OmgImAlexis commented 6 years ago

To allow full ES6 usage it may be worth it to switch to the harmony branch of uglifyjs. This would also fix the issue of uglifyjs throwing error with arrow functions.

ERROR in options.js from UglifyJs
Unexpected token: operator (>) [options.js:6454,19]

ERROR in contentscript.js from UglifyJs
Unexpected token: operator (>) [contentscript.js:6454,19]

ERROR in helpers.js from UglifyJs
Unexpected token: operator (>) [helpers.js:6454,19]