Skip to content

vite

Next-generation frontend build tool with native ESM dev server, HMR, and Rolldown-powered production builds.

— (0 ratings) 43.2K downloads antfu
$ npx skills add https://github.com/antfu/skills --skill vite

Skills can run code on your computer. Review the source before installing. This listing is community-made and isn't affiliated with Anthropic.

About this skill

Summary

Next-generation frontend build tool with native ESM dev server, HMR, and Rolldown-powered production builds.

  • Fast dev server using native ES modules and hot module replacement; production builds optimized with Rolldown bundler and Oxc transformer
  • Configuration via vite.config.ts with support for conditional configs, environment variables, and plugin API for extending build behavior
  • Built-in features include import.meta.glob for dynamic imports, asset queries (?raw, ?url), and HMR API for custom refresh logic
  • Library mode and SSR support with ssrLoadModule and JavaScript API for programmatic builds
  • Vite 8 introduces multi-environment API for custom runtimes and migration path from traditional bundlers

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

Topic Description Reference
Configuration vite.config.ts, defineConfig, conditional configs, loadEnv core-config
Features import.meta.glob, asset queries (?raw, ?url), import.meta.env, HMR API core-features
Plugin API Vite-specific hooks, virtual modules, plugin ordering core-plugin-api

Installs: 43.2K | GitHub stars: 6.1K | First seen: Jan 28, 2026

Related skills

New

Frontend

hyperframes

HTML-based video composition with animations, captions, audio-reactive visuals, and scene transitions.

New • 1.7M
New

Frontend

hyperframes-registry

Install and wire reusable blocks and components into HyperFrames compositions via the registry.

New • 1.5M
New

Frontend

frontend-design

Distinctive, production-grade frontend interfaces that reject generic AI aesthetics through intentional design choices.

New • 1.2M