clean-webpack-plugin
Webpack plugin to automatically clean build output folders before each build.
Build tools and bundlers npm MIT
Used in agent projects
62
0.5% of 12,697 public repos built with AI coding agents
Rank in build tools and bundlers
#34 of 81
by use in those projects
Downloads
1.9M
npm, last 7 days, clean-webpack-plugin
GitHub stars
1,937
last push Sep 1, 2021
How clean-webpack-plugin is used
clean-webpack-plugin is a dependency in 62 of the 12,697 public GitHub projects set up for AI coding agents that we scanned (0.5%), #34 of 81 in build tools and bundlers. The most used alternative there is Vite. Projects that use it most often also use webpack (100.0%), webpack CLI (93.5%), html-webpack-plugin (91.9%).
Often used with clean-webpack-plugin
| webpack | 100.0% of clean-webpack-plugin projects · 49.8× more than average |
|---|---|
| webpack CLI | 93.5% of clean-webpack-plugin projects · 59.1× more than average |
| html-webpack-plugin | 91.9% of clean-webpack-plugin projects · 85.8× more than average |
| webpack-dev-server | 88.7% of clean-webpack-plugin projects · 76.6× more than average |
| Phaser | 85.5% of clean-webpack-plugin projects · 21.0× more than average |
| Copy Webpack Plugin | 74.2% of clean-webpack-plugin projects · 87.2× more than average |
| Babel Loader | 66.1% of clean-webpack-plugin projects · 58.3× more than average |
| Babel (JavaScript) | 62.9% of clean-webpack-plugin projects · 16.5× more than average |
Install
| Package | npm install clean-webpack-plugin |
|---|---|
| Main stacks | TypeScript / JavaScript (61), Python (1) |
| Example projects | huszy/badgun, Autapomorph/dino, themoonrat/webgl-benchmark, phaserjs/template-webpack-ts, Nightspeller/Weakling |
Alternatives to clean-webpack-plugin
| Tool | Used in agent projects | Downloads / wk | GitHub stars | License |
|---|---|---|---|---|
| Vite npm Fast native-ESM powered web development build tool and dev server. |
2,897 (22.8%) | 194M | 83.3K | MIT |
| Babel (JavaScript) npm JavaScript compiler for transforming modern JavaScript to compatible code. |
484 (3.8%) | 187M | 44.1K | MIT |
| Turborepo npm High-performance build system for monorepos with task parallelization. |
399 (3.1%) | 29.5M | 31.2K | MIT |
| esbuild npm Extremely fast JavaScript and CSS bundler and minifier written in Go. |
342 (2.7%) | 3M | 40.1K | MIT |
| webpack npm Module bundler that packages JavaScript, assets and dependencies for browser deployment. |
255 (2.0%) | 54.9M | 66.1K | MIT |
| react-scripts npm Build configuration and scripts for Create React App zero-configuration setup. |
231 (1.8%) | 2.4M | 103K | MIT |
| React Compiler Babel Plugin npm Babel plugin for React Compiler that optimizes React component rendering. |
202 (1.6%) | 17.8M | 251K | MIT |
| webpack CLI npm Command-line interface for webpack bundler and related build tools. |
201 (1.6%) | 10.4M | 2,617 | MIT |