JS bundling is finally fast. In 2026 nobody starts a project with Webpack.
Options
- Vite: default for everything non-Next.js.
- Turbopack: Next.js default, stable in 2026.
- esbuild: low-level, used inside other tools.
- Rspack: Webpack-compatible API, 5-10x faster.
Decision grid
SPA/custom SSR → Vite. Next.js → Turbopack. CLI/lib → tsup. Webpack migration → Rspack.