开发者

Google's Closure compiler, make the output file in one line

开发者 https://www.devze.com 2023-03-29 03:29 出处:网络
Is the开发者_JAVA技巧re an option for making the output file of the Closure compiler into one single line?

Is the开发者_JAVA技巧re an option for making the output file of the Closure compiler into one single line?

It is wrapping the code at some point, inserting a new line, and I didn't find an option to change this behavior.

Thanks


The answer seems to be NO, it cannot be disabled. It is a feature.


You can set this using the Java API, 0 is used to indicate no break:

http://www.google.com/codesearch#l5BkQmivP-Y/trunk/src/com/google/javascript/jscomp/CompilerOptions.java&q=lineLengthThreshold%20package:http://closure-compiler%5C.googlecode%5C.com&type=cs&l=1797

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号