webpack-cleanup-plugin weekly downloads statistics
By gpbl · npm · Webpack plugins
Plugin for webpack to cleanup extraneous files from the output path directory
webpack-cleanup-plugin has 4,262 recorded weekly downloads on npm, a decrease of 17.3% over the past 30 days.
It ranks #1133 of 2,251 tracked npm listings by weekly downloads.
Over 90 days, weekly downloads changed by -51.9%.
PluginStats has 121 daily observations since Jun 19, 2026; the latest is from Oct 17, 2026.
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.
⚠️ 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:
Then add the plugin to the plugins array in your webpack's config, e.g.:
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. • To mute the console output, use the quiet option: • To print the list of the files that will be deleted without actually deleting them, use the preview option:
Description from the npm listing.
- webpack
- webpack-plugin
Where webpack-cleanup-plugin sits in the listing
Each band is one page of 20. Weekly downloads on a log 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.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
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.
Recent observations
Full history (121)Similar npm Webpack plugins plugins
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 Oct 18, 2026. See the methodology.