Docs
Start here
Twelve parts arranged in reading order. Follow them top-down; the spine (Plugins / Hooks / HMR) is the heart of the guide.
- PART 00Getting startedWhat Vite 8 promises, and a working project in five minutes.5 / 5 chapters
- PART 01Core conceptsNative ESM, the unified Rolldown architecture, dep pre-bundling, the module graph.6 / 6 chapters
- PART 02Bundler evolutionFrom the esbuild + Rollup dual-engine legacy to Rolldown — handoff and compatibility layer.5 / 5 chapters
- PART 03Plugin systemHow Vite / Rolldown / Rollup APIs relate, enforce ordering, and @vitejs/devtools.6 / 6 chapters
- PART 04Hooks deep diveUniversal / Vite-only / Rolldown-extension hooks — the full picture and timing differences.9 / 9 chapters
- PART 05Environment APIMulti-environment models beyond client / ssr, framework adapters and RSC-like patterns.10 / 10 chapters
- PART 06HMRThe WebSocket protocol, import.meta.hot, and HotChannel dispatching across environments.6 / 6 chapters
- PART 07Production buildRolldown chunking, lightningcss, baseline targets, Module Federation.9 / 9 chapters
- PART 08SSR & SSGThe new SSR model built on the Environment API, hand-rolled SSR, Wasm SSR.4 / 4 chapters
- PART 09Framework integrationReact v6 (Oxc) / Vue / Svelte / Solid + meta-framework comparison.6 / 6 chapters
- PART 10Library modebuild.lib in full, type declarations, a cross-framework component library.3 / 3 chapters
- PART 11Monorepo engineeringpnpm workspace, cross-package dep pre-bundling, Turborepo caching strategy.4 / 4 chapters
- PART 12PerformanceCold start, @vitejs/devtools, HMR diagnostics, tree-shaking.7 / 7 chapters
- PART 13Real-world pluginsSource-code reading: auto-import / plugin-pages / plugin-react v6.4 / 4 chapters