Terser Webpack Plugin
Webpack plugin to minify JavaScript output using Terser for optimized production builds.
Build tools and bundlers npm MIT
Used in agent projects
51
0.4% of 12,697 public repos built with AI coding agents
Rank in build tools and bundlers
#36 of 81
by use in those projects
Downloads
43.2M
npm, last 7 days, terser-webpack-plugin
GitHub stars
1,970
last push Oct 2, 2026
How Terser Webpack Plugin is used
Terser Webpack Plugin is a dependency in 51 of the 12,697 public GitHub projects set up for AI coding agents that we scanned (0.4%), #36 of 81 in build tools and bundlers. The most used alternative there is Vite. Projects that use it most often also use webpack (90.2%), webpack CLI (80.4%), Babel (JavaScript) (70.6%).
Often used with Terser Webpack Plugin
| webpack | 90.2% of Terser Webpack Plugin projects · 44.9× more than average |
|---|---|
| webpack CLI | 80.4% of Terser Webpack Plugin projects · 50.8× more than average |
| Babel (JavaScript) | 70.6% of Terser Webpack Plugin projects · 18.5× more than average |
| html-webpack-plugin | 70.6% of Terser Webpack Plugin projects · 65.9× more than average |
| webpack-dev-server | 68.6% of Terser Webpack Plugin projects · 59.3× more than average |
| Babel Loader | 66.7% of Terser Webpack Plugin projects · 58.8× more than average |
| Phaser | 62.7% of Terser Webpack Plugin projects · 15.4× more than average |
| clean-webpack-plugin | 51.0% of Terser Webpack Plugin projects · 104.4× more than average |
By coding agent
| Claude Code | 0.3% of projects set up for it |
|---|---|
| Cursor | 0.3% of projects set up for it |
| GitHub Copilot | 0.2% of projects set up for it |
Share of public repos configured for each agent that list Terser Webpack Plugin as a dependency.
Install
| Package | npm install terser-webpack-plugin |
|---|---|
| Main stacks | TypeScript / JavaScript (42), Next.js (3), .NET (2), PHP (2) |
| Example projects | Nexus-Mods/Vortex, zkoss/zk, Aristona/react-phaser-three-game, Ariorh1337/phaser-debug-tool, GaryStanton/phaser3-merged-input |
Alternatives to Terser 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 |