vite-reference
Installation
SKILL.md
Vite Reference Skill
Comprehensive, up-to-date Vite development reference. Split into focused files for targeted loading.
File Index
Core (core/)
| File | Contents |
|---|---|
| configuration.md | defineConfig, shared options, CSS/JSON/esbuild options, conditional config, Environment API config |
| dev-server.md | Server options, proxy, HTTPS, middleware mode, warmup, fs access, HMR config |
| build-production.md | Build target, Rolldown, rollupOptions, manual chunks, multi-page apps, preview server |
| hmr-api.md | hot.accept/dispose/prune/invalidate, hot.data, custom events, TypeScript types |
| asset-handling.md | Import suffixes (?url/?raw/?worker/?inline), public dir, glob imports, Wasm, Web Workers |
| env-modes.md | .env loading order, VITE_ prefix, import.meta.env, TypeScript env.d.ts, custom modes |
| dependency-optimization.md | Esbuild pre-bundling, include/exclude, caching, force optimization, troubleshooting |