remove line breaks from closure compiler output
Closed this issue · 3 comments
dustinhorton commented
don't know if this runs any risks, but i dislike when the output isn't minified to a single line.
concavelenz commented
The Closure Compiler Java API has an option for this, CompilerOptions. setLineLengthThreshold(0) should do the trick
dustinhorton commented
the plugin isn't using the java api...i don't believe it supports raw js.
cgutierrez commented
This appears to actually be a feature of minifiers. UglifyJs does this as well.
checkout http://code.google.com/closure/compiler/faq.html#linefeeds
"Why are there random line feeds in compiled scripts?"