vite-core-architecture
Installation
SKILL.md
vite-core-architecture
Quick Reference
Two-Mode Architecture
Vite operates as two completely different systems depending on context:
| Aspect | Dev Server (vite) |
Production Build (vite build) |
|---|---|---|
| Strategy | Native ESM, no bundling | Full bundle via Rolldown/Rollup |
| Module delivery | Individual files over HTTP | Optimized chunks |
| Transform tool (v8) | Oxc | Oxc |
| Transform tool (v5-7) | esbuild | esbuild |
| Bundler (v8) | None (native ESM) | Rolldown |
| Bundler (v5-7) | None (native ESM) | Rollup |
| Speed priority | Instant startup + HMR | Optimized output size |
| Browser target | esnext | baseline-widely-available |