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

Feature Request - Closure configuration option setTrustedStrings() #29

Closed blutorange closed 5 years ago

blutorange commented 5 years ago

Issue by lambcode Wednesday Jul 19, 2017 at 14:46 GMT Originally opened as https://github.com/samaxes/minify-maven-plugin/issues/148


When running the Closure Compiler from the command line, the option setTrustedStrings defaults to true but when running the compiler from this plugin, the option is set to false. Not having this option set will convert some characters shuch as '<' and '>' to '\x3c' and '\x3d'. This bloats the resulting minified file.

Could a plugin configuration option be added to set this Closure Compiler option?

blutorange commented 5 years ago

Added.