Vite
vitejs.dev
1
Leaving SiteNav
External Link Disclaimer
You are about to visit vitejs.dev. This website is not operated by us. We are not responsible for its content or privacy practices.
About this website
Vite is a next-generation frontend build tool created by Evan You, the creator of Vue.js, first released in 2020 and now powering projects from React, Vue, Svelte, Solid, and other framework ecosystems, providing dramatically faster development server startup and hot module replacement compared to traditional bundlers like Webpack by leveraging native ES modules in the browser during development and Rollup for optimized production builds, adopted by major projects including Nuxt, SvelteKit, Astro, Remix, and thousands of open-source and enterprise applications. The development server architecture leverages native browser ES module support to serve source files on demand, starting the development server in milliseconds regardless of project size, as only the modules needed for the current page are compiled and served, eliminating the upfront bundling overhead of Webpack that causes slow startup on large projects, while the dependency pre-bundling uses esbuild to optimize dependencies that cannot be served as native ES modules. The hot module replacement implementation provides instant feedback by invalidating only the modified module and its importers, without a full page reload, preserving application state during development, and the precise module-level invalidation is faster and more reliable than Webpack approaches. The production build uses Rollup for highly optimized output with tree shaking, lazy loading, CSS code splitting, and asset optimization, achieving bundle sizes comparable to or smaller than Webpack while building significantly faster. The plugin system provides compatibility with Rollup plugins and Vite-specific plugins for framework support, environment variables, server middleware, and build optimization. The SSR support enables server-side rendering. The optimized build performance comes from esbuild for transpilation and Rollup for bundling. Designed for frontend developers, framework authors, and web development teams.
Statistics
1
Views
0
Clicks
0
Like
0
Dislike