-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is it possible to not add line breaks every 500 characters? #4106
Comments
It looks like there is a setter for this on CompilerOptions (if you have your own subclass of either CommandLineRunner or AbstractCommandLineRunner, or if you directly create your own Compiler instance), but this isn't presently exposed via command line flags.
closure-compiler/src/com/google/javascript/jscomp/CompilerOptions.java Lines 2489 to 2491 in ff2c49e
|
Yes, setting it to 0 will tell it not to break at all. |
How do I set it to 0? (I use the command line) |
It seems we haven't exposed a command-line option for setting this value. Here's the file where one would add that and an example option to copy. If you'd like to submit a PR, we'll be happy to review and merge it. Or you could just change the constant value in your download of our sources and rebuild. |
google/closure-compiler
intentionally adds a line break after every 500 characters.Is there a way to prevent this behavior, and not add these line breaks, or could this be added as an option, please?
The text was updated successfully, but these errors were encountered: