---
title: Vite Advanced Rule Categories
version: 2.0.0
---

# Rule Categories

## 1. Build Optimization (vite) — HIGH — 2 rules

Bundle splitting and library publishing configuration.

- `vite-advanced-chunks.md` — Manual chunk splitting, vendor separation, avoiding circular chunks
- `vite-lib-config.md` — Library mode with proper externals and dual ESM/CJS output

## 2. Plugin & Environment (vite) — MEDIUM — 2 rules

Plugin development patterns and multi-environment configuration.

- `vite-plugin-hooks.md` — Hook execution order, enforce/apply modifiers
- `vite-environments.md` — Environment-specific config for client, SSR, and custom targets
