webpack
Reasonable, with limits. 7th of 10 build tools.
webpack is the mature, highly configurable bundler that most existing front-end codebases still run on. It is actively maintained and now handles CSS and HTML without plugins, but for a new project Vite is faster and simpler, and Rspack covers the same webpack API at much higher speed.
Best for: Teams that maintain an existing webpack setup or need its exact plugin and Module Federation behaviour, and cannot move to Rspack.
Scores
Overall6.4
How strongly do we recommend it for a new project today?
Claude Opus 5.5: 5.5, likely 4.5 to 6.5
webpack is well maintained, very capable and still improving, so it is a reasonable choice. For new projects, Vite gives a faster and simpler setup, and Rspack runs webpack configurations several times faster. Low satisfaction and growth below the median show the ecosystem moving away from it. Keep it where it runs, and pick Vite or Rspack for new work unless a specific webpack plugin requires it.
- 2025.stateofjs.com/en-US/libraries/build-tools: webpack is the most used but has low satisfaction.
- npm downloads ratio: 2.2x against a 4.1x median.
- pkgpulse.com/guides/vite-vs-rspack-vs-webpack-bundler-2026: Rspack is presented as a nearly drop-in faster replacement.
GPT-6.2 Sol: 7.3, likely 6.1 to 8.4
Webpack is a strong new-project choice when specific webpack plugins, compiler hooks, or existing federated builds are central to the design. Vite is the better default for a typical app, and Rspack is a credible option when build speed matters and the needed plugins are compatible. Active maintenance supports webpack's long-term use, while slower relative adoption and the configuration effort keep the recommendation focused.
- webpack.js.org/blog/2026-11-19-webpack-5-113: The current stable release continues to improve output, parsing, and hot updates.
- storybook.js.org/docs/get-started/frameworks/react-webpack5: Storybook recommends Vite for most React apps and reserves webpack for specific features.
- v2.rspack.rs/guide/migration/webpack: Rspack documents broad compatibility and the options and integrations that need adaptation.
- github releasesLastYear, npm downloadsLast4Weeks, npm downloadsSame4WeeksYearAgo, medianDownloadsRatio: Frequent releases coexist with download growth below the catalog baseline.
Needed by many7.5
How many developers need a tool for this job?
Claude Opus 5.5: 7.5, likely 6.5 to 8.5
Most web app projects need a tool to bundle and serve front-end code. webpack is a general-purpose bundler that is not tied to one framework or runtime. The score stays below 9 because most server-only or library-only work needs no app bundler.
- 2025.stateofjs.com/en-US/libraries/build-tools: Build tools are used by nearly all survey respondents.
- category.job: The job is broad: bundling for web apps.
GPT-6.2 Sol: 7.4, likely 6.3 to 8.5
Bundling and serving browser code is a common need for JavaScript and TypeScript developers. Webpack can build front ends across frameworks, from plain HTML and CSS to apps with custom asset pipelines. The exact share of developers who need webpack's level of control is hard to measure because surveys count past use and frameworks can choose a bundler on the team's behalf.
- 2025.stateofjs.com/en-US/libraries/build-tools: Webpack still led reported build-tool usage in the survey.
- webpack.js.org/blog/2026-11-16-css-and-html-are-built-in: Built-in HTML and CSS support covers framework-free projects.
- nextjs.org/docs/app/guides/upgrading/version-16: Next.js selects Turbopack by default and retains webpack as an option.
Helps a lot7.3
How well does it do the job for those who need it?
Claude Opus 5.5: 6.5, likely 5.5 to 7.5
webpack is very capable: it has the richest plugin API, mature Module Federation and code splitting, and in 2026 it gained built-in CSS and HTML. It is clearly slower than Rust-based peers, and its configuration is still the most common complaint. Rspack runs the same configuration faster, and Vite gives a simpler setup for new work, so a peer does the job better for most users.
- webpack.js.org/blog: CSS and HTML built in since 5.109, and style modules added in 5.113.
- engineeringblog.yelp.com/2026/05/optimizing-our-build-times-by-migrating-from-webpack-to-rspack.html: Yelp cut build time by about 52% after moving its config to Rspack.
- gitlab.com/gitlab-org/gitlab/-/work_items/604382: GitLab benchmark: webpack 4 cold dev start of 174s against 25s for Rspack.
- 2025.stateofjs.com/en-US/libraries/build-tools: Configuration and setup is the top pain point.
GPT-6.2 Sol: 8.0, likely 6.9 to 9.0
Webpack 5.113 combines precise chunking, extensive plugin hooks, and built-in Module Federation with simpler defaults for CSS, HTML, and basic TypeScript. Its types and reference docs help with configuration, but developers still report hard-to-debug setups and faster feedback after moving to Vite or Rspack. Performance depends heavily on the project, and reports on AI-generated configurations are anecdotal.
- webpack.js.org/blog/2026-11-19-webpack-5-113: Current release improves TypeScript parsing, hot updates, and CommonJS tree shaking.
- webpack.js.org/concepts/module-federation: Documents runtime code sharing and how to diagnose common federation errors.
- webpack.js.org/configuration/experiments/#experimentstypescript: Built-in TypeScript parsing covers erasable syntax and leaves type checking and TSX to other tools.
- npm hasTypes: The package ships TypeScript declarations.
- me.buildwithgd.in/case-studies/webpack-to-vite: AptEdge's median CI build fell from 12.3 to 3.3 minutes during a migration that also upgraded other tooling.
- reddit.com/r/Frontend/comments/1nzehg5/have_you_switched_from_webpack_to_newer_tools: Developers report setup and rebuild friction, and one reports success with AI-assisted configuration.
- reddit.com/r/webdev/comments/1tkq7ym/migrating_9_micro_frontend_apps_from_cra_craco: One team reports faster Rspack builds after adapting custom federation plugins.
Holds up over time7.3
Will it still be a good choice in two years?
Claude Opus 5.5: 6.5, likely 5.5 to 7.5
Activity is high: 2,465 commits and 31 releases in the last year, only 50 open issues, a published 2026 roadmap, and an OpenJS Foundation home. The project relies on donations and the roadmap mentions limited resources. webpack 6 has no date, and the ecosystem is moving towards Vite and Rspack. Breaking changes within v5 are rare, which helps.
- github commitsLastYear / releasesLastYear: 2,465 commits and 31 releases in the last year.
- github openIssues: 50 open issues against 10,257 closed.
- webpack.js.org/blog/2026-02-04-roadmap-2026: The 2026 roadmap covers preparing for webpack 6 and growing sponsorships.
- news.ycombinator.com/item?id=46485161: Users question whether webpack 6 will happen.
GPT-6.2 Sol: 8.1, likely 6.9 to 9.0
Webpack shipped 31 releases in a year, and maintainers closed one recent production-build regression on the day it was reported. A core working group manages releases, and sponsorship helps fund work that still relies mainly on volunteers. The webpack 6 roadmap shows continued investment, while recent regressions and Next.js switching its default add uncertainty about the next two years.
- github commitsLastYear, releasesLastYear, latestRelease: 2,465 commits and 31 releases, with v5.113.0 published November 19.
- github.com/webpack/webpack/issues/22788: A user-reported CommonJS build regression was closed the same day.
- github.com/webpack/webpack/blob/main/RELEASE_SCHEDULE.md: The core working group uses scheduled minors and publishes urgent patches as they are ready.
- webpack.js.org/blog/2026-02-04-roadmap-2026: The team describes webpack 6 preparations and its reliance on volunteer time.
- opencollective.com/webpack: Public funding records show ongoing sponsorship.
- nextjs.org/docs/app/guides/upgrading/version-16: Next.js 16 switched both development and production defaults to Turbopack.
Used widely6.8
How many use it, and is that growing?
Claude Opus 5.5: 7.0, likely 6.0 to 8.0
With 300M downloads per 4 weeks and 216k dependent packages, webpack still sits in a very large number of projects, and much of that comes through Angular, Storybook and older tooling. Its download ratio of 2.2x is well below the 4.1x median, while Vite grew 6.8x and Rspack 4.9x, so webpack is losing share of new projects. Usage among survey respondents is still the highest, at about 86%.
- npm downloadsLast4Weeks / downloadsSame4WeeksYearAgo: 300.9M against 137.9M a year ago (2.2x), below the 4.1x median.
- dependents: 216,244 dependent packages and 3,177 repos.
- peers Vite downloads: Vite at 1.07B, up 6.8x.
- heise.de/-11171168: webpack used by 86.4% of respondents against 84.4% for Vite, with the gap shrinking.
GPT-6.2 Sol: 6.5, likely 5.2 to 7.6
Webpack still has a large installed base, with 216,244 indexed dependent packages and 66,018 GitHub stars. Four-week downloads rose from 138 million to 301 million, or 2.18×, well below the catalog median of 4.1× and Vite's 6.78×. CI installs, framework integrations, and incomplete repository indexing make the number of teams choosing webpack directly hard to pin down.
- npm downloadsLast4Weeks, downloadsSame4WeeksYearAgo, medianDownloadsRatio: Webpack grew 2.18× against the 4.1× catalog baseline.
- dependents repos, packages: ecosyste.ms found 3,177 repositories and 216,244 npm packages.
- github stars, bluesky posts, peers: Webpack has 66,018 stars and 12 Bluesky posts. Vite has 84,008 stars, 81 posts, and faster download growth.
- 2025.stateofjs.com/en-US/libraries/build-tools: Webpack narrowly retained the lead in reported usage as Vite caught up.
Vouched for6.8
Who stands behind it being good?
Claude Opus 5.5: 6.5, likely 5.5 to 7.5
Large companies have run webpack in production for a decade, and many frameworks and tools have built on it. Current independent signals are negative, though. Satisfaction in State of JS fell to about 26%, and recent engineering write-ups from Yelp and GitLab describe moving away from it.
- infoq.com/news/2026/03/state-of-js-survey-2025: Satisfaction of 26%, down from 36%, against 98% for Vite.
- engineeringblog.yelp.com/2026/05/optimizing-our-build-times-by-migrating-from-webpack-to-rspack.html: A large production user is migrating off webpack.
- dev.to/thedailyagent/javascript-bundlers-in-2026-vite-rspack-turbopack-and-the-end-of-an-era-16hk: Independent guides name Vite the default for new projects.
GPT-6.2 Sol: 7.0, likely 5.8 to 8.2
GitLab ships webpack-built front-end bundles, and Storybook maintains a dedicated webpack integration. That support matters for teams with specialized builds, though Storybook recommends Vite for most React projects and Vite leads survey retention. Migration reports also favor newer tools for speed, but their results vary with the app and the scope of the upgrade.
- handbook.gitlab.com/handbook/engineering/architecture/design-documents/modular_monolith/frontend: GitLab's 2026 architecture document confirms production use and outlines future migration work.
- storybook.js.org/docs/get-started/frameworks/react-webpack5: Storybook maintains a webpack 5 integration and recommends Vite for most React projects.
- 2025.stateofjs.com/en-US/awards: Vite led retention with 98% positive opinion among users.
- thoughtworks.com/en-us/radar/tools/rspack: Thoughtworks teams reported moving to Vite or Rspack for faster feedback.
- me.buildwithgd.in/case-studies/webpack-to-vite: A production migration measured faster builds alongside several other upgrades.
Safe6.9
How safe is it to depend on?
Claude Opus 5.5: 7.0, likely 6.0 to 8.0
webpack is MIT licensed and has 16 dependencies. Only 2 advisories appeared in the last 24 months, both low severity and limited to the opt-in buildHttp feature. The 2023 critical advisory was fixed promptly. The Scorecard is 5.3, with Code-Review, Token-Permissions, Fuzzing and Binary-Artifacts all at 0, and releases are not signed. The project has had no known supply-chain incident.
- advisories: 4 advisories in total, 2 in the last 24 months, both low severity.
- scorecard: Score 5.3, with Code-Review 0 and Token-Permissions 0.
- npm dependencies: 16 runtime dependencies.
- npm license: MIT.
GPT-6.2 Sol: 6.7, likely 5.5 to 7.9
Webpack has a permissive MIT licence and publishes through an automated GitHub Actions workflow using npm trusted publishing. Version 5.113.0 includes fixes for all four recorded advisories, and patches were already available when the two recent low-severity advisories were published. Its 16 direct dependencies and a 5.3 OpenSSF Scorecard, with zeros for code review and token permissions, leave room for stronger supply-chain controls.
- npm license, dependencies: The core package is MIT-licensed and has 16 direct dependencies.
- scorecard score, checks: Scorecard reports 5.3, with zero scores for code review and token permissions.
- github.com/webpack/webpack/blob/v5.113.0/.github/workflows/release.yml: The tagged release workflow publishes from GitHub Actions using OIDC.
- webpack.js.org/blog/2026-02-03-webpack-5-105/#two-low-severity-cves-fixed-in-webpack: Both recent issues affected experimental HTTP imports and had fixes by 5.104.1.
- github.com/advisories/GHSA-4vvj-4cpr-p986: The 2024 advisory was patched in 5.94.0.
- github.com/advisories/GHSA-hc6q-2mpp-qw7j: The 2023 critical advisory was patched in 5.76.0.
Good
- It has the largest ecosystem of loaders and plugins, and almost any asset pipeline or legacy module format can be handled.
- It is still actively developed: 31 releases in the last year, with CSS and HTML entry points built in since 5.109.
- Module Federation and fine-grained code splitting are mature and well proven at large scale.
- It has a modest dependency footprint for its scope (16 dependencies), an MIT licence and a careful record of backward compatibility within v5.
Bad
- Builds and dev-server startup are much slower than with Vite or Rspack, and teams report large gains after they migrate.
- Configuration is complex, and developer satisfaction fell to about 26% in State of JS 2025.
- Its download growth is well below the median, so new projects are choosing Vite and Rspack instead.
- webpack 6 has no firm date, and the roadmap mentions limited funding for maintenance.
The numbers
- npm downloads, 4 weeks
- 301M ×2.2 in a year
- GitHub stars
- 66k
- Commits, 12 months
- 2.5k
- npm version
- 5.113.0 Nov 2026
- Versions, 12 months
- 31
- Advisories, 24 months
- 2 of 4 ever
- OpenSSF Scorecard
- 5.3 out of 10, Nov 2026
- Licence
- MIT
Read on 21 November 2026 from GitHub (webpack/webpack), npm (webpack), OSV and the OpenSSF Scorecard.