Skip to content

Successor Map · Build tools and bundlers

webpack to Vite: still maintained, so moving is optional

Nothing happened to webpack: it is still released regularly and its maintainers are preparing webpack 6. Teams move to Vite for a faster development loop, not because the old tool stopped.

Slide: webpack on the left, an arrow, and Vite on the right.
Status of the old tool
Still active
Effort to move
A real project
gen2.dev's view
Leave it
Sources checked
2026-11-28

Key facts

Gen 1webpack (webpack 5 was released in October 2020)
Gen 2Vite
Kind of toolBuild tools and bundlers
Status of Gen 1Still active The webpack Technical Steering Committee's 'Roadmap 2026' post of February 4, 2026 calls webpack stable and well supported, and the webpack blog announced Webpack 5.113 on November 19, 2026.
Effort to moveA real project: plan it and run both for a while
What breaksEvery loader and plugin in the webpack configuration needs a Vite equivalent, and code that reads process.env stops working in the browser.
Should you move?Leave it webpack is actively maintained and has a published roadmap, so a working webpack build carries no risk that forces a move. This is gen2.dev's view, not the maintainers'.
Sources checked2026-11-28, 6 sources

Gen 1 and Gen 2 side by side

npm registry Gen 1 Gen 2
Packagewebpackvite
Latest version5.113.08.4.0
Latest releaseNov 19, 2026Nov 26, 2026
First releaseMar 11, 2012Apr 21, 2020
LicenseMITMIT
Downloads, last week70,158,391268,027,757

Read from each package registry on November 29, 2026. Downloads include automated installs such as build servers, so compare them as a trend, not a head count.

What Gen 1 was

webpack is a bundler. It starts from an entry file, follows every import, and writes the bundles a browser loads. Loaders teach it about file types and plugins change what it emits. That flexibility is why other tools on this map, such as Webpacker, were built on top of it.

It is not a retired tool. webpack 5 was released in October 2020 and has been updated ever since; the project's blog announced Webpack 5.113 on November 19, 2026. In its Roadmap 2026 post, the Technical Steering Committee wrote that "webpack continues to be a stable and well-supported choice," and described work that is "paving the way toward webpack 6."

What replaced it

For many new projects, Vite. Its documentation names the complaint it was built to answer: "painfully slow dev server startups, sluggish hot updates, and long production build times."

The difference is in development. A traditional bundler processes the whole application before the browser can show anything. Vite serves source code "on-demand over native ESM," so the browser asks for only the modules the current page needs. Production builds are still bundled.

What moving involves

The Vite documentation has no webpack migration guide, so teams work from other people's accounts. One published React migration followed this path:

  • Add "type": "module" to package.json, then install Vite and its React plugin.
  • Replace the build and dev scripts.
  • Make index.html the entry point and add the script tag by hand, because Vite does not inject it.
  • Copy the aliases across, and move Babel plugins into the React plugin's options.
  • Delete webpack, its loaders, its plugins and its configuration file.

The size of the job follows the size of the webpack configuration. A configuration with custom loaders is a small rewrite, and the rewrite or refactor question applies to it.

What breaks

  • Templating in index.html. Vite parses the file itself, so placeholders written for webpack's HTML plugin cause errors until they are moved.
  • process.env. Code that reads it fails in the browser with "process is not defined." Vite uses import.meta.env.
  • Type checking. The Vite documentation says it "only performs transpilation on .ts files and does NOT perform type checking." If the webpack build was catching type errors, that check needs a new home.

Should you move?

Leave it. webpack is maintained, released often and has a stated future, so a working build is not a liability. Moving is a choice about developer time, not about risk.

The exceptions are teams whose development server has become slow enough to cost real hours, and teams already rebuilding the front end for another reason. For them the move can pay for itself.

Common questions

Is webpack dead?

No. Its maintainers have not announced an end. The webpack Technical Steering Committee's 'Roadmap 2026' post of February 4, 2026 calls webpack stable and well supported, and the webpack blog announced Webpack 5.113 on November 19, 2026.

What replaced webpack?

Vite. Effort to move: A real project: plan it and run both for a while

Should I move off webpack?

gen2.dev's view: Leave it. webpack is actively maintained and has a published roadmap, so a working webpack build carries no risk that forces a move.

Sources

  1. Roadmap 2026 - webpack blog (February 4, 2026) - The Technical Steering Committee says webpack continues to be a stable and well-supported choice and describes work toward webpack 6.
  2. Blog - webpack - Lists release posts through Webpack 5.113 (November 19, 2026) and the webpack 5 release post (October 10, 2020).
  3. Releases - webpack/webpack - GitHub - Shows v5.113.0 marked as the latest release, with no archive or deprecation notice.
  4. Why Vite - Vite documentation - Explains the problem Vite set out to solve and that it serves source code on demand over native ES modules; the navigation shows v8.4.0.
  5. Features - Vite documentation - States that Vite transpiles TypeScript files but does not perform type checking.
  6. Migrating your React app from Webpack to Vite - Wojciech Maj, DEV Community (April 7, 2022, edited November 26, 2023) - A step-by-step account of one migration, with the problems met along the way.
  7. webpack - npm - latest version, release dates, license and last week's downloads, read on November 29, 2026
  8. vite - npm - latest version, release dates, license and last week's downloads, read on November 29, 2026

Sources checked on 2026-11-28. Tools change status quickly; if this date is old, read the sources before acting on it.