Skip to content
PluginStats

warnings-to-errors-webpack-plugin weekly downloads statistics

By taehwanno · npm · Webpack plugins

Change every warning as error to ensure safe build

View on npm Fresh · Dec 6, 2026

warnings-to-errors-webpack-plugin has 73,375 recorded weekly downloads on npm, a decrease of 23.2% over the past 30 days, ranking #692 of 3,247 tracked listings.

Weekly downloads
73,375
Official API · Dec 5, 2026
7-day growth
+4.5%
+3.1K weekly downloads
30-day growth
-23.2%
-22.2K weekly downloads
90-day growth
-30.8%
-32.7K weekly downloads
Rank
#692
▲ 1 in 7 days

About warnings-to-errors-webpack-plugin

Warnings To Errors Webpack Plugin Build Status

Table of contents

Motivation

Even if the build result with webpack has some warnings, the build can succeed with no error exit codes. This can be trouble if some developer not carefully sees the result of CI service. By changing all warnings to errors, webpack can recognize every warning as an error.

Installation

$ npm i -D warnings-to-errors-webpack-plugin
# or
$ yarn add -D warnings-to-errors-webpack-plugin

Usage

  • default
const WarningsToErrorsPlugin = require('warnings-to-errors-webpack-plugin');

module.exports = {
  // ...
  plugins: [
    new WarningsToErrorsPlugin(),
  ],
};

This plugin ignores warnings that are matched by warningsFilter or ignoreWarnings without recognizing them as errors.

// webpack v5
{
  plugins: [
    new WarningsToErrorsPlugin(),
  ],
  ignoreWarnings: [
    {
      message: /compilation warning/,
    },
  ],
}

If you use ignoreWarnings and warningsFilter options at the same time in webpack v5, the plugin will ignore all matched warnings in both. but recommend using ignoreWarnings.

// webpack v5
{
  plugins: [
    new WarningsToErrorsPlugin(),
  ],
  ignoreWarnings: [
    {
      message: /compilation warning 1/,
    },
  ],
  stats: {
    warningsFilter: [
      /compilation warning 2/,
    ],
  },
}
// webpack v2, v3 and v4
{
  plugins: [
    new WarningsToErrorsPlugin(),
  ],
  stats: {
    warningsFilter: [
      /compilation warning/,
    ],
  },
}

Skip the emitting phase whenever there are warnings while compiling. this ensures that no assets are emitted that include warnings.

// webpack >= v4
{
  optimization: {
    noEmitOnErrors: true,
  },
  plugins: [
    new WarningsToErrorsPlugin();
  ],
};
// webpack v2 and v3
{
  plugins: [
    new WarningsToErrorsPlugin(),
    new NoEmitOnErrorsPlugin(),
  ],
};

License

MIT © Taehwan Noh

Description from the npm listing.

  • webpack
  • plugin
  • webpack-plugin

README badge

Show your rank in a README or on your website. The badge updates automatically.

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

warnings-to-errors-webpack-plugin weekly downloads on npm, last 90 days: 73,375 weekly downloads as of Dec 5, 2026, -30.8% over 90 days.warnings-to-errors-webpack-pluginWeekly downloads on npm · Last 90 days73,375downloads / week-30.8% over 90 days020K40K60K80K100K120K140KSep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
warnings-to-errors-webpack-plugin weekly downloads on npm, last 90 days: 73,375 weekly downloads as of Dec 5, 2026, -30.8% over 90 days.

7/30/90-day growth

warnings-to-errors-webpack-plugin weekly downloads growth on npm: +4.5% over 7 days, -23.2% over 30 days, -30.8% over 90 days.warnings-to-errors-webpack-pluginWeekly downloads growth on npm73,375downloads / week now7-day growth+3,142 weekly downloads+4.5%30-day growth-22,202 weekly downloads-23.2%90-day growth-32,711 weekly downloads-30.8%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
warnings-to-errors-webpack-plugin weekly downloads growth on npm: +4.5% over 7 days, -23.2% over 30 days, -30.8% over 90 days.

Ranking history

warnings-to-errors-webpack-plugin npm ranking history: currently #692 (by weekly downloads).warnings-to-errors-webpack-pluginnpm ranking · by weekly downloads · Last 90 days#692current rank#200#300#400#500#600#700#800Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 17, 2026 – Dec 6, 2026 · 45 observations · Updated Dec 5, 2026pluginstats.com
warnings-to-errors-webpack-plugin npm ranking history: currently #692 (by weekly downloads).

Listing placement

All npm3,247 listings · 163 pages · 1,084 shown · page 35, #12 (overall #692)
All npm: every listing in weekly downloads order

Listing placement

Webpack plugins349 listings · 18 pages · page 1, #15 (overall #15)
Webpack plugins: every listing in weekly downloads order

Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.

Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.

Recent observations

Full history (592)
Recent weekly downloads observations for warnings-to-errors-webpack-plugin
Date (UTC)Weekly downloadsChange vs. previous
73,375-1.2K
74,594+3.3K
71,344+1.1K
70,218+1.3K
68,941+400
68,541-634
69,175-1.1K
70,233+1.2K
69,054-2.6K
71,657-1.8K
73,443-751
74,194+1.6K
72,641-497
73,138—

Data source

Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.

Listing: https://www.npmjs.com/package/warnings-to-errors-webpack-plugin. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.