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

221
Views
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 answers
Answer question

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 Report
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!