Skip to content
PluginStats

webpack-cleanup-plugin weekly downloads statistics

By gpbl · npm · Webpack plugins

Plugin for webpack to cleanup extraneous files from the output path directory

View on npm Fresh · Dec 6, 2026

webpack-cleanup-plugin has 7,039 recorded weekly downloads on npm, a decrease of 9.9% over the past 30 days, ranking #1403 of 3,247 tracked listings.

Weekly downloads
7,039
Official API · Dec 5, 2026
7-day growth
-26.3%
-2.5K weekly downloads
30-day growth
-9.9%
-776 weekly downloads
90-day growth
+12.5%
+782 weekly downloads
Rank
#1403
▼ 146 in 7 days

About webpack-cleanup-plugin

webpack-cleanup-plugin

This webpack plugin cleans up the extraneous files from the webpack's output path.

Since it runs when the compile process is finished, it is useful when building on production to remove the assets created by previous builds.

npm install webpack-cleanup-plugin --save-dev

npm version npm downloads Build Status

⚠️ Beware! This plugins actually delete files. Make sure it's safe for your app to delete files not generated by webpack. Use the exclude option if you want to keep files that are not webpack assets.

Usage

Install via npm:

npm install webpack-cleanup-plugin --save-dev

Then add the plugin to the plugins array in your webpack's config, e.g.:

// webpack.config.js
import WebpackCleanupPlugin from 'webpack-cleanup-plugin';
const config = {
  output: {
    path: "/my/output/path"
  },
  // ...
  plugins: [
    new WebpackCleanupPlugin()
  ]
}
export default config;
Options
  • If you want to keep some files in the output path, e.g. a stats.json file generated from some other plugins, use the exclude Array option. It accepts globbing as in minimatch.
// Do not delete `stats.json`, `important.json`, and everything in `folder`
new WebpackCleanupPlugin({
  exclude: ["stats.json", "important.js", "folder/**/*"],
})
  • To mute the console output, use the quiet option:
new WebpackCleanupPlugin({
  quiet: true,
})
  • To print the list of the files that will be deleted without actually deleting them, use the preview option:
new WebpackCleanupPlugin({
  preview: true,
})

Description from the npm listing.

  • webpack
  • 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

webpack-cleanup-plugin weekly downloads on npm, last 90 days: 7,039 weekly downloads as of Dec 5, 2026, +12.5% over 90 days.webpack-cleanup-pluginWeekly downloads on npm · Last 90 days7,039downloads / week+12.5% over 90 days02K4K6K8K10KSep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
webpack-cleanup-plugin weekly downloads on npm, last 90 days: 7,039 weekly downloads as of Dec 5, 2026, +12.5% over 90 days.

7/30/90-day growth

webpack-cleanup-plugin weekly downloads growth on npm: -26.3% over 7 days, -9.9% over 30 days, +12.5% over 90 days.webpack-cleanup-pluginWeekly downloads growth on npm7,039downloads / week now7-day growth-2,515 weekly downloads-26.3%30-day growth-776 weekly downloads-9.9%90-day growth+782 weekly downloads+12.5%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
webpack-cleanup-plugin weekly downloads growth on npm: -26.3% over 7 days, -9.9% over 30 days, +12.5% over 90 days.

Ranking history

webpack-cleanup-plugin npm ranking history: currently #1403 (by weekly downloads).webpack-cleanup-pluginnpm ranking · by weekly downloads · Last 90 days#1403current rank#1100#1150#1200#1250#1300#1350#1400#1450Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 18, 2026 – Dec 6, 2026 · 44 observations · Updated Dec 5, 2026pluginstats.com
webpack-cleanup-plugin npm ranking history: currently #1403 (by weekly downloads).

Listing placement

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

Listing placement

Webpack plugins349 listings · 18 pages · page 2, #18 (overall #38)
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 (170)
Recent weekly downloads observations for webpack-cleanup-plugin
Date (UTC)Weekly downloadsChange vs. previous
7,039-151
7,190-192
7,382-43
7,425-352
7,777+175
7,602-1.9K
9,513-41
9,554+132
9,422+38
9,384-254
9,638+129
9,509+81
9,428+2K
7,426—

Similar npm Webpack plugins plugins

All 20 webpack-cleanup-plugin alternatives

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/webpack-cleanup-plugin. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.