Vite vs webpack
In 4,864 JavaScript/TypeScript projects set up for AI coding agents, Vite is a dependency in 1,237 (25.4%) and webpack in 54 (1.1%): Vite is 22.9× as common. Among repos created in the last 90 days that use a build tools and bundlers tool, Vite is in 55.6% and webpack in 0.8%, against 53.9% and 2.4% of older ones. 14 projects list both, often a sign of a migration or of a monorepo with several apps.
Build tools and bundlers npm Updated Nov 17, 2026
Side by side
| Vite | webpack | |
|---|---|---|
| Agent projects that use it | 1,237 | 54 |
| Rank in build tools and bundlers | #1 | #18 |
| In new repos with a build tools and bundlers tool (last 90 days) | 55.6% | 0.8% |
| In older repos with one | 53.9% | 2.4% |
| Downloads, last 7 days | 277M | 73.5M |
| GitHub stars | 83.9K | 66K |
| Last push to its repo | Nov 17, 2026 | Nov 16, 2026 |
| License | MIT | MIT |
| Funding | Yes | Yes |
| Projects that list both | 14 | |
Downloads include CI runs and installs as a dependency of other packages. Stars and pushes are from GitHub's API; downloads from npm.
By coding agent
| Projects set up for | JavaScript/TypeScript repos | Vite | webpack |
|---|---|---|---|
| Claude Code | 2,617 | 28.2% | 1.2% |
| GitHub Copilot | 2,350 | 23.4% | 1.2% |
| Cursor | 1,990 | 31.2% | 1.4% |
| Gemini CLI | 422 | 31.8% | 2.1% |
| OpenAI Codex | 409 | 35.2% | 0% |
| OpenCode | 304 | 35.9% | 0% |
| OpenClaw | 241 | 11.2% | 0% |
| Devin Desktop | 231 | 30.3% | 2.6% |
| Kiro | 125 | 29.6% | 0% |
| Roo-Code | 90 | 24.4% | 5.6% |
Share of the JavaScript/TypeScript repos configured for each agent (its config file in the repo) that list the tool. A repo set up for two agents counts for both.
Vite
Fast native-ESM powered web development build tool and dev server.
Most often used with it:
| Tailwind CSS | 72.6% of its projects |
|---|---|
| React | 67.0% of its projects |
| Vitest | 53.4% of its projects |
| TypeScript | 83.6% of its projects |
| jsdom | 34.4% of its projects |
npm install vite
webpack
Module bundler that packages JavaScript, assets and dependencies for browser deployment.
Most often used with it:
| webpack CLI | 63.0% of its projects |
|---|---|
| ESLint | 77.8% of its projects |
| ts-loader | 37.0% of its projects |
| Babel (JavaScript) | 35.2% of its projects |
| Sass | 31.5% of its projects |
npm install webpack
More matchups
esbuild vs webpackTurborepo vs NxBabel (JavaScript) vs SWCesbuild vs SWC
How we count
Projects are public GitHub repos our weekly scan finds through coding-agent config files (CLAUDE.md, AGENTS.md, .cursor/mcp.json and others); a project uses a tool when its package.json, requirements.txt or pyproject.toml lists it. "Same job" was checked for every pair, so add-ons and companions are never paired. Shares by repo age compare repos created in the last 90 days with older ones in the same scan. More on the method.