Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

176
Views
How to stop the Closure Compiler from adding Newlines?

I have a javascript file that I have written. It is larger than it has to be. I use the closure compiler to solve the problem of it being larger than it has to be.

However, the resulting javascript is still somewhat slightly larger than it has to be. It has line breaks in it, and the javascript would work without it. I know why it adds line breaks, but for my purposes, the line breaks are not required.

How would I force the compiler to not add line breaks? Here is the command line prompt that I use: java -jar closure-compiler.jar input.js > output.js --rewrite_polyfills=false

about 4 years ago · Santiago Gelvez
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!