Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

180
Visualizações
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
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda