
Vite
Covers Vite's build tool essentials from dev server setup to production builds, with specific focus on the new Vite 8 beta that swaps out the bundler for Rolldown and transformer for Oxc. Walks through vite.config.ts configuration, plugin API hooks, SSR middleware patterns, and the Environment API for multi-environment setups. Includes migration guidance for the Rolldown transition, which changes how some plugins work and requires config updates. Solid reference when you're setting up Vite projects, writing custom plugins, or need to understand what breaks when upgrading to the Rolldown-powered version.
- install copies · 90 days. Times the install command was copied on this site in the last 90 days, bots filtered.
- 11
- skills.sh installs
- 41.7K
- GitHub stars
- 6.1K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add antfu/skills --skill vite --agent claude-codeInstalls into .claude/skills of the current project.
Files
Vite
Based on Vite v8.3.5 (Rolldown-powered), generated at 2026-11-05. Vite 8 uses the Rolldown bundler and the Oxc transformer instead of esbuild + Rollup.
Vite is a next-generation frontend build tool with fast dev server (native ESM + HMR) and optimized production builds.
Preferences
- Use TypeScript: prefer
vite.config.ts - Always use ESM, avoid CommonJS
Core
| Topic | Description | Reference |
|---|---|---|
| Configuration | vite.config.ts, defineConfig, conditional configs, loadEnv | core-config |
| Features | import.meta.glob, asset queries (?raw, ?url), import.meta.env, HMR API | core-features |
| Plugin API | Vite-specific hooks, virtual modules, plugin ordering | core-plugin-api |
Build & SSR
| Topic | Description | Reference |
|---|---|---|
| Build & SSR | Library mode, SSR middleware mode, ssrLoadModule, JavaScript API | build-and-ssr |
Advanced
Sponsors
Details
- Repository
- github.com/antfu/skills
- Categories
- Frontend Development, Backend & APIs, DevOps & CI/CD