Agent skill · software engineering · yonatangross

vite-advanced

Advanced Vite 8 patterns including Rolldown-powered builds, advancedChunks, Environment API, plugin development, SSR configuration, library mode, and build optimization. Use when customizing build pipelines, creating plugins, or configuring multi-environment builds.

Why this skill is useful

Adds advanced Vite 8 patterns and configurations that the AI wouldn't reliably generate on its own.

What it needs

About 3k tokens when loaded. Last updated 2026-08-06. 215 stars on the source repository.

What this skill does

Vite Advanced Patterns A wrapper around Vite 8 (Rolldown-powered), not a copy of its documentation. Vite's own docs are the source of truth for config keys, API surface, and migration mechanics. This skill carries the house delta plus four enforceable rules. Vite 8 replaces the esbuild+Rollup pipeline with Rolldown (Rust-based unified bundler) and is the default for new projects. advancedChunks supersedes manualChunks; build.rollupOptions becomes build.rolldownOptions. Upstream coverage (do not restate) Fetch these from Vite rather than expecting them here. Rows marked with a rule keep a narrower, enforceable house subset in that rule file: read the rule for the house position, fetch the doc for the full API. Topic Fetch from ------- ------------ Vite 7 to 8 migration: rolldownOptions, transformWithOxc, moduleType: 'js', removed hooks and output formats, browser target bumps https://vite.dev/guide/migration Rolldown adoption path, rolldown-vite, Oxc, advancedChunks group syntax (house subset stays in rules/vite-advanced-chunks.md) https://vite.dev/guide/rolldown Build options: target, minify, sourcemap, cssCodeSplit, cssMinify, assetsInlineLimit, chunkSizeWarningLimit https://vite.dev/config/build-options Dependency pre-bundling and optimizeDeps include/exclude/force https://vite.dev/guide/dep-pre-bundling SSR: client and server entry points, middleware-mode dev server, production server wiring, streaming https://vite.dev/guide/ssr Environment API config and per-environment build output (house subset stays in rules/vite-environments.md) https://vite.dev/guide/api-environment Environment API for plugins: this.environment, perEnvironmentPlugin, applyToEnvironment https://vite.dev/guide/api-environment-plugins Environment API for frameworks: createBuilder, buildApp, ModuleRunner https://vite.dev/guide/api-environment-frameworks Plugin hook reference, virtual modules, enforce/apply, handleHotUpdate (house subset stays in rules/vite-plugin-hooks.md) https://vite.dev/guid …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills yonatangross/vite-advanced

View the source on GitHub

Browse the @skills marketplace