clean-webpack-plugin
A webpack plugin to remove/clean your build folder(s).
clean-webpack-plugin@4.0.0 was published on 2021-09-01. Its manifest declares 1 runtime dependency and 1 peer requirement. Type declarations are bundled according to the package metadata. The declared Node.js requirement is >=10.0.0.
All clean-webpack-plugin versions · Permanent reference to 4.0.0
Package specifications
| Version | 4.0.0 |
|---|---|
| License declaration | MIT |
| Published | 2021-09-01T13:41:41.162Z |
| Node.js requirement | >=10.0.0 |
| Type declarations | Bundled declarations |
| Runtime dependency count | 1 |
| Peer requirement count | 1 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 34.83 KiB |
| Published file count | 7 |
| Package type | Not declared |
| ES module entry | Not declared |
| Default entry | dist/clean-webpack-plugin.js |
| Side effects declaration | Not declared |
| Direct advisories | 0 |
| Resolved graph dependencies | 33 |
| Repository stars | 1939 |
| Repository forks | 136 |
Install clean-webpack-plugin 4.0.0
npm install clean-webpack-plugin@4.0.0 pnpm add clean-webpack-plugin@4.0.0 yarn add clean-webpack-plugin@4.0.0
Runtime dependencies
- del ^4.1.1
Peer requirements
- webpack >=4.0.0 <6.0.0
Optional dependencies
- None declared
Resolved dependency graph
This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.
- @types/glob@7.2.0 — indirect
- @types/minimatch@6.0.0 — indirect
- @types/node@26.6.5 — indirect
- array-union@1.0.2 — indirect
- array-uniq@1.0.3 — indirect
- balanced-match@1.0.2 — indirect
- balanced-match@4.0.4 — indirect
- brace-expansion@1.1.21 — indirect
- brace-expansion@5.0.12 — indirect
- concat-map@0.0.1 — indirect
- del@4.1.1 — direct
- fs.realpath@1.0.0 — indirect
- glob@7.2.3 — indirect
- globby@6.1.0 — indirect
- inflight@1.0.6 — indirect
- inherits@2.0.4 — indirect
- is-path-cwd@2.2.0 — indirect
- is-path-in-cwd@2.1.0 — indirect
- is-path-inside@2.1.0 — indirect
- minimatch@11.0.2 — indirect
- minimatch@3.1.5 — indirect
- object-assign@4.1.1 — indirect
- once@1.4.0 — indirect
- p-map@2.1.0 — indirect
- path-is-absolute@1.0.1 — indirect
- path-is-inside@1.0.2 — indirect
- pify@2.3.0 — indirect
- pify@4.0.1 — indirect
- pinkie@2.0.4 — indirect
- pinkie-promise@2.0.1 — indirect
- rimraf@2.7.1 — indirect
- undici-types@8.9.0 — indirect
- wrappy@1.0.2 — indirect
How to interpret the specifications
Bundlephobia measurements use its standard package build and may exclude peer dependencies. Unpacked npm distribution size includes shipped files and is a different measurement. Module declarations do not prove tree-shaking or runtime compatibility.
Advisories apply to this package version directly; transitive dependencies need separate inspection. Repository signals describe the whole repository and are current observations, including on historical-version pages.
OpenSSF repository checks
Provider assessment: 2026-08-24T00:00:00Z. These are repository checks, not a jsL maintenance score.
| Code-Review | 9/10 — Found 9/10 approved changesets -- score normalized to 9 |
|---|---|
| Maintained | 0/10 — project is archived |
| Binary-Artifacts | 10/10 — no binaries found in the repo |
| CII-Best-Practices | 0/10 — no effort to earn an OpenSSF best practices badge detected |
| Security-Policy | 0/10 — security policy file not detected |
| Fuzzing | 0/10 — project is not fuzzed |
| License | 10/10 — license file detected |
| Branch-Protection | 0/10 — branch protection not enabled on development/release branches |
| SAST | 0/10 — SAST tool is not run on all commits -- score normalized to 0 |
Evidence and freshness
- https://registry.npmjs.org/clean-webpack-plugin/4.0.0 — retrieved 2026-10-29T09:32:13.759Z
- https://api.deps.dev/v3/systems/npm/packages/clean-webpack-plugin/versions/4.0.0 — retrieved 2026-10-29T09:32:14.394Z
- https://api.deps.dev/v3/systems/npm/packages/clean-webpack-plugin/versions/4.0.0:dependencies — retrieved 2026-10-29T09:32:14.430Z
- https://api.deps.dev/v3/projects/github.com%2Fjohnagan%2Fclean-webpack-plugin — retrieved 2026-10-29T09:32:14.616Z