# clean-webpack-plugin — card for AI agents

Webpack plugin to automatically clean build output folders before each build.

Category: Build tools and bundlers · npm package `clean-webpack-plugin` · latest version 4.0.0 (checked 2026-11-01)
Install: `npm install clean-webpack-plugin`
License: MIT (permissive)

In your own product (generator, app, hosted service): **yes**. Permissive license: ship it inside your own product, closed or open source, and keep its license and copyright notice.

## Warnings
- The repository is archived: no more updates.

## Numbers (AgentGid data)
- Gid Score: 52.7 (#1674 of all tools, 94 of 185 in its category)
- Used in 4 public projects set up for AI coding agents (0.1%)
- Downloads last week: 2,611,561 (as of 2026-11-24), +33.2% over 4 weeks
- GitHub stars: 1,937 (as of 2026-11-24)
- Last push: 2021-09-01

## Often used with
webpack 98.7%, webpack CLI 90.7%, html-webpack-plugin 86.7%, webpack-dev-server 86.7%, Phaser 76.0%, Copy Webpack Plugin 70.7%

## Links
- AgentGid page: https://agentgid.com/tools/clean-webpack-plugin/
- Homepage: https://github.com/johnagan/clean-webpack-plugin
- Repository: https://github.com/johnagan/clean-webpack-plugin

---
AgentGid's catalog is curated: every entry was checked against the maker's official pages (registry, repository, license and pricing pages) on the date shown; a license value shows the quote it stands on wherever AgentGid has one. Usage numbers come from AgentGid's own scan of public repositories set up for AI coding agents. Claims by makers are reported, not tested by AgentGid.
