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

222
Visualizações
how do i solve the deprecation warning while compiling

what does this warning mean and how to resolve it. Is it something I should worry about. I've tried reading the webpack's documentation.

Compilation warning message

over 4 years ago · Santiago Trujillo
1 Respostas
Responde à pergunta

0

You don't actually have to worry about deprecation warnings, from time to time some or the other library will adapt to something new and deprecate the previous (it will work fine though) for various reasons like security loopholes, performance or something better. Your warning appears to be related to html-webpack-plugin

In your webpack.config add the stats property like below to suppress warnings

module.exports = {
  entry: './index.js',
  stats: { warnings:false }
}

Also, try uninstalling your html-webpack-plugin and install latest || upgrade to fix it

node --trace-deprecation ./node_modules/.bin/the_library_name_here will list all deprecations

You could do npm outdated to check the latest versions. or simply npm update --force as well to update.

over 4 years ago · Santiago Trujillo 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