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

Pretty print option in Closure Compiler #31

Closed blutorange closed 5 years ago

blutorange commented 5 years ago

Issue by georgy7 Friday Sep 22, 2017 at 16:03 GMT Originally opened as https://github.com/samaxes/minify-maven-plugin/issues/150


Hello!

There is the option in Closure Compiler.

--formatting=pretty_print

screenshot_20170922_184257e

I was wondering if you may be able to add it to the plugin options.

With newlines in code it's much easier to find JS errors in production.

blutorange commented 5 years ago

Added.