vite-best-practices

Installation
SKILL.md

Vite

Based on Vite 8.0 stable (March 2026). Vite 8 uses Rolldown bundler and Oxc transformer, replacing esbuild + Rollup.

Vite is a next-generation frontend build tool with fast dev server (native ESM + HMR) and optimized production builds powered by Rolldown.

Key Vite 8 Changes

Vite 8 replaces the dual esbuild+Rollup architecture with Rolldown (unified Rust-based bundler) and Oxc (transformer/minifier). A compatibility layer auto-converts old esbuild and rollupOptions configs, but both are deprecated — always use the new names in new code:

Deprecated (still works) Replacement
build.rollupOptions build.rolldownOptions
esbuild oxc
optimizeDeps.esbuildOptions optimizeDeps.rolldownOptions
build.minify: 'esbuild' build.minify: 'oxc' (default)

Preferences

Related skills
Installs
14
GitHub Stars
2
First Seen
Mar 28, 2026