antfu / skills
vite
Vite configuration and plugin guidance, including SSR and Vite 8 Rolldown migration patterns.
Install
npx skills add https://github.com/antfu/skills --skill vite- metadata
- author: Anthony Fu version: "2026.11.5" source: Generated from https://github.com/vitejs/vite, scripts at https://github.com/antfu/skills
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
Build & SSR
Advanced
Quick Reference
CLI Commands
Common Config
Official Plugins
@vitejs/plugin-vue- Vue 3 SFC support@vitejs/plugin-vue-jsx- Vue 3 JSX@vitejs/plugin-react- React with Oxc/Babel@vitejs/plugin-react-swc- React with SWC@vitejs/plugin-legacy- Legacy browser support