What problem does it solve?
Configuring Vite projects, writing custom plugins, setting up SSR builds, and migrating to Vite 8's new Rolldown and Oxc stack requires deep knowledge of Vite's APIs and migration patterns, which can lead to misconfigurations and broken builds without proper reference guidance.
Core Features & Use Cases
- Vite Configuration Support: Covers basic setup, conditional and async configs, environment variables, resolve aliases, proxy settings, and build targets for all Vite project types.
- Plugin Development Guidance: Provides patterns for writing Vite-specific plugins, implementing virtual modules, handling HMR updates, and controlling plugin execution order.
- Vite 8 Migration Assistance: Maps legacy Vite 7 Rollup and esbuild options to their Vite 8 Rolldown and Oxc equivalents, with step-by-step migration paths for large projects.
- Use Case: If you are building a component library with Vite and need to configure library mode output with correct external dependencies, or migrating an existing Vite 7 SSR app to Vite 8 to leverage 10-30x faster build speeds, this skill provides the exact reference patterns and best practices.
Quick Start
Use the vite skill to configure a custom Vite plugin that injects a third-party analytics script into all HTML entry points for your production build.