What problem does it solve?
It helps developers correctly set up and evolve Vite configurations for fast client builds, library output, and SSR workflows—especially when migrating to Vite 8’s Rolldown-based pipeline.
Core Features & Use Cases
- Vite configuration patterns: How to structure
vite.config.ts with defineConfig, conditional logic, and environment loading via loadEnv.
- Build and SSR guidance: Library mode, multi-page inputs, and low-level SSR primitives like
createServer, build, preview, and ssrLoadModule.
- Plugin and ecosystem integration: Understanding Vite plugin hooks, plugin ordering, and when to use environment-aware transformations.
- Vite 8 migration readiness: Practical mapping from
rollupOptions/esbuild patterns to rolldownOptions/Oxc transformer configuration.
Quick Start
Ask the AI: "Given my project uses Vite 8, how should I write a vite.config.ts that supports a library build and provides the right Rolldown migration settings and plugin structure?"