blutorange / closure-compiler-maven-plugin

Combine and minimize JavaScript with Closure Compiler.
http://blutorange.github.com/closure-compiler-maven-plugin
Apache License 2.0
52 stars 6 forks source link

Missing closureLanguageOut "ES_2017" #34

Closed blutorange closed 5 years ago

blutorange commented 5 years ago

Issue by OzoneGrif Wednesday Oct 11, 2017 at 11:42 GMT Originally opened as https://github.com/samaxes/minify-maven-plugin/issues/153


Hello Samaxes,

I have an issue with my project which can be solved by using the string "ES_2017" for closureLanguageOut. That will disable some transcriptions and polyfills for ECMASCRIPT 6.

Is it possible to add it to the plugin?

blutorange commented 5 years ago

This is just a wrapper. You can use all values from the enum LanguageMode

But keep in mind that according the closure compiler docs, only ECMASCRIPT3, ECMASCRIPT5, ECMASCRIPT5_STRICT, ECMASCRIPT_2015, STABLE are supported for the output language.