Skip to content
PluginStats

remove-files-webpack-plugin weekly downloads statistics

By Amaimersion · npm · Webpack plugins

A plugin for webpack that removes files and folders before and after compilation.

View on npm Fresh · Oct 18, 2026

remove-files-webpack-plugin has 30,532 recorded weekly downloads on npm, a decrease of 6.7% over the past 30 days, ranking #684 of 2,322 tracked listings.

Weekly downloads
30,532
Official API · Oct 18, 2026
7-day growth
-49.1%
-29.5K weekly downloads
30-day growth
-6.7%
-2.2K weekly downloads
90-day growth
-46.0%
-26K weekly downloads
Rank
#684
Among tracked npm listings

About remove-files-webpack-plugin

<h1 align="center"> Removing of folders and files for Webpack </h1> <p align="center"> A plugin for webpack that removes files and folders before and after compilation. </p>

Content

Installation

  • With npm:
npm install remove-files-webpack-plugin
  • With yarn:
yarn add remove-files-webpack-plugin

Support

The plugin works on any OS and webpack >= 2.2.0.

Usage

const RemovePlugin = require('remove-files-webpack-plugin');

module.exports = {
    plugins: [
        new RemovePlugin({
            before: {
                // parameters for "before normal compilation" stage.
            },
            watch: {
                // parameters for "before watch compilation" stage.
            },
            after: {
                // parameters for "after normal and watch compilation" stage.
            }
        })
    ]
};

Notes

Symbolic links

Symbolic links (soft links) will be treated as ordinary files.

Notes for Windows users

Single backward slash

JavaScript uses it for escaping. If you want to use backward slash, then use double backward slash. Example: C:\\Windows\\System32\\cmd.exe. By the way, single forward slashes are also supported.

Segment separator

All paths that you get or see from the plugin will contain platform-specific segment separator (i.e. slash): \\ on Windows and / on POSIX. So, for example, even if you passed folders or files with / as separator, TestObject.method will give you a path with \\ as segment separator.

Per-drive working directory

From Node.js documentation:

On Windows Node.js follows the concept of per-drive working directory. This behavior can be observed when using a drive path without a backslash. For example, path.resolve('c:\\') can potentially return a different result than path.resolve('c:'). For more information, see this MSDN page.

Parameters

NameTypeDefaultNamespaceDescription
rootstring.AllA root directory.<br>Not absolute paths will be appended to this.<br>Defaults to where package.json and node_modules are located.
includestring[][]AllA folders or files for removing.
excludestring[][]AllA folders or files for excluding.
testTestObject[][]AllA folders for testing.
TestObject.folderstringRequiredAllA path to the folder (relative to root).…

Description from the npm listing.

  • webpack
  • webpack-plugin
  • webpack-compilation
  • webpack-files
  • compilation
  • plugin
  • files
  • build-automation
  • clean
  • cleanup
  • clean-plugin
  • clean-webpack-plugin
  • clean-files-plugin
  • clean-files-webpack-plugin
  • remove
  • remove-plugin
  • remove-webpack-plugin
  • remove-files-plugin
  • remove-files-webpack-plugin
  • delete

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

remove-files-webpack-plugin weekly downloads on npm, last 90 days: 30,532 weekly downloads as of Oct 18, 2026, -46.0% over 90 days.remove-files-webpack-pluginWeekly downloads on npm · Last 90 days30,532downloads / week-46.0% over 90 days020K40K60K80KJul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18downloads / weekobservedarchived (Internet Archive)no observationsJul 22, 2026 – Oct 18, 2026 · 89 observations · Updated Oc…pluginstats.com
remove-files-webpack-plugin weekly downloads on npm, last 90 days: 30,532 weekly downloads as of Oct 18, 2026, -46.0% over 90 days.

7/30/90-day growth

remove-files-webpack-plugin weekly downloads growth on npm: -49.1% over 7 days, -6.7% over 30 days, -46.0% over 90 days.remove-files-webpack-pluginWeekly downloads growth on npm30,532downloads / week now7-day growth-29,453 weekly downloads-49.1%30-day growth-2,176 weekly downloads-6.7%90-day growth-25,996 weekly downloads-46.0%Growth vs. nearest observation to each baseline date · Updated Oct 18, 2026pluginstats.com
remove-files-webpack-plugin weekly downloads growth on npm: -49.1% over 7 days, -6.7% over 30 days, -46.0% over 90 days.

Ranking history

remove-files-webpack-plugin npm ranking history: currently #684 (by weekly downloads).remove-files-webpack-pluginnpm ranking · by weekly downloads · Last 90 days#684current rank#200#300#400#500#600#700Jul 22Aug 6Aug 21Sep 5Sep 20Oct 5Oct 20rankOct 17, 2026 – Oct 20, 2026 · 4 observations · Updated Oct 18, 2026pluginstats.com
remove-files-webpack-plugin npm ranking history: currently #684 (by weekly downloads).

Listing placement

All npm2,320 listings · 116 pages · 1,161 shown · page 35, #5 (overall #685)
All npm: every listing in weekly downloads order

Listing placement

Webpack plugins251 listings · 13 pages · page 1, #16 (overall #16)
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 (544)
Recent weekly downloads observations for remove-files-webpack-plugin
Date (UTC)Weekly downloadsChange vs. previous
30,532+2.2K
28,329-2.6K
30,880+7.9K
22,966-14.2K
37,161-14.7K
51,8720
51,872-8.1K
59,985+196
59,789-1.6K
61,339-2.5K
63,853-3.9K
67,757+3.8K
63,938-12.8K
76,729—

Similar npm Webpack plugins plugins

All 20 remove-files-webpack-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/remove-files-webpack-plugin. First seen Oct 16, 2026; last successful collection Oct 20, 2026. See the methodology.