vite README

The project's README from github.com/vitejs/vite. As one markdown file: README.md.



vite logo


npm package node compatibility build status discord chat


Vite ⚡

Next Generation Frontend Tooling

Vite (French word for "quick", pronounced /viːt/, like "veet") is a build tool that aims to provide a faster and leaner development experience for modern web projects. It consists of two major parts:

In addition, Vite is highly extensible via its Plugin API and JavaScript API with full typing support.

Read the Docs to Learn More.

Packages

Package Version (click for changelogs)
vite vite version
@vitejs/plugin-legacy plugin-legacy version
create-vite create-vite version

Contribution

See Contributing Guide.

License

MIT.

Sponsors

sponsors

vite (vitejs/vite)

Searching Database…

83.4K ·GitHub
What is this?Vite is a frontend build tool that gives you an instant dev server with fast Hot Module Replacement during development, and bundles your code for production using Rolldown.
Is it a dev server, a bundler, or both?Both: it consists of a dev server that serves native ES modules with fast HMR, and a build command that bundles the app for production.
How do I add it to a project?Install the 'vite' package in your project (or scaffold a new one with 'create-vite'), then run the dev server or build command via your package manager scripts.
Do I need a specific package manager or Node version?The repo itself requires pnpm (npm installs are blocked) and Node ^20.19.0 or >=22.12.0, though these constraints are for developing Vite itself, not necessarily for consuming it in a project.
Can I extend Vite with plugins?Yes, Vite has a Universal Plugin Interface and a fully typed JavaScript API, so you can write custom plugins to extend its dev server and build behavior.
What makes the dev server so fast?It serves native ES modules directly instead of bundling everything upfront, enabling near-instant server start and lightning-fast HMR.
What does Vite use to bundle for production?Production builds are handled by Rolldown, pre-configured to output optimized static assets.
Is there a legacy browser support option?Yes, the '@vitejs/plugin-legacy' package is part of the monorepo for supporting legacy browsers.
What are similar projects?wxt, rolldown, closure-compiler, rollup, snowpack, rspack, oj, esbuild
Creator
vitejs
Size
75.1 MB
Stars
83.4K
Age
6y
Commits · 90 Days