Vite is a front-end build tool created by Evan You, the author of the Vue framework, with its first releases appearing in 2020. It was built to address a specific pain that had grown with large JavaScript projects: slow dev server startups, sluggish hot updates, and long production build times that came from bundling an entire application before development could begin.
Vite’s central idea is to lean on the browser’s native support for ES modules during development instead of bundling everything up front. The tool divides work into two parts. Dependencies, which change rarely, are pre-bundled once using a fast native tool. Application source code is then served on demand over native ES modules, so the browser loads only the modules it needs for the current page. The result is a dev server that starts almost instantly regardless of application size, with Hot Module Replacement that updates individual modules without a full reload.
For production, Vite historically used two complementary tools rather than its dev-time approach. Per the project’s own documentation, esbuild handled fast compilation tasks during development while Rollup performed the thorough optimization needed for production builds, including the tree-shaking and bundling that ship efficient assets to users. This split combined esbuild’s raw speed with Rollup’s mature, plugin-rich production pipeline.
That two-tool arrangement created its own friction, since the development and production tools behaved differently and had separate plugin systems. The Vite project has since worked toward unifying the pipeline around a single bundler so that development and production share one consistent path, removing a long-standing source of subtle inconsistencies between what developers saw locally and what users received.
Vite spread rapidly across the JavaScript ecosystem and became a common default for new projects built with Vue, React, and other frameworks. By rethinking the development experience around native modules while still delivering optimized production output, it shifted expectations about how fast front-end tooling should feel and influenced the direction of the bundlers that came after webpack.