Blog52.8K views1,599 votes0 replies4,263 following
Vite Dependency Pre-Bundling: How esbuild Speeds Up Your Dev Server
Vite pre-bundles CommonJS dependencies with esbuild at startup to serve native ES modules instantly. Learn how the cache works, how to tune optimizeDeps, and the trade-offs for dev server speed.