uglify-es is a branch of uglify-js that is meant to enable uglifying of es6
code. This commit enables the newer uglify if the user provides uglifyES
options to the plugin. I chose to support both since not everyone needs to
support older browsers, but those that do would likely appreciate if the tool
catches any sneaky es6.
Coverage decreased (-2.3%) to 93.617% when pulling cb500ae8b4eea81cdf0125350375d710956036d5 on add-uglify-es-support into 60c246372a4fd702916a2cda1a65fa3f64971b08 on master.
uglify-es is a branch of uglify-js that is meant to enable uglifying of es6 code. This commit enables the newer uglify if the user provides uglifyES options to the plugin. I chose to support both since not everyone needs to support older browsers, but those that do would likely appreciate if the tool catches any sneaky es6.