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

86
Visualizações
Babel deoptimises styling of big files in ember.js app

I have an ember.js app with a big file that started to have this problem:

[Babel: notes > applyPatches][BABEL] Note: The code generator has deoptimised the styling of /home/user/code/notes-frontend/notes/components/model-wps/edit.js as it exceeds the max of 500KB.

Although the functionality is not affected, this makes it impossible to debug as Babel won't print the file nicely.

I've seen that setting babel compact option to false should solve my problem, but I can't make that configuration work in my project.

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

After asking the Ember Community Discord, they suggested to enable source maps in ember-cli-babel (ref here).

In ember-cli-build.js, just add the option:

let app = new EmberApp(defaults, {
  babel: {
    sourceMaps: 'inline'
  }
});

And now you will be able to debug your source code even after files are transpiled by babel.

about 4 years ago · Juan Pablo Isaza Relatório
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