What problem does it solve?
This Skill solves the problem of configuring and optimizing the Vite build tool for efficient development and production builds, particularly for projects using Vite, Vite plugins, or building libraries/SSR apps with Vite.
Core Features & Use Cases
- Vite Configuration: Offers detailed guidance on setting up
vite.config.ts, including configuration patterns and conditional setups.
- Core Features: Explains Vite's core features like import patterns, asset queries, environment variables, and HMR API.
- Build & SSR: Provides in-depth instructions on building libraries, SSR middleware mode, and JavaScript API for SSR development.
- Advanced: Discusses environment API, Rolldown migration, and more advanced concepts like custom transformations and plugin development.
- Quick Start: Get started with Vite by running
vite to start the dev server or vite build for production build.
Quick Start
Start the Vite development server with the command: vite.