Converted and distributed by TomeVault — claim your Tome and manage your conversions.
1---2name: itechmeat-llm-code-vite3description: Vite4---56# Vite78## Quick navigation910- Getting started: references/getting-started.md11- Philosophy and rationale: references/philosophy.md, references/why-vite.md12- Features: references/features.md13- CLI: references/cli.md14- Plugins (usage): references/using-plugins.md15- Plugin API: references/api-plugin.md16- HMR API: references/api-hmr.md17- JavaScript API: references/api-javascript.md18- Config reference: references/config.md19- Dependency optimization: references/dep-pre-bundling.md20- Assets: references/assets.md21- Build: references/build.md22- Static deploy: references/static-deploy.md23- Env & modes: references/env-and-mode.md24- SSR: references/ssr.md25- Backend integration: references/backend-integration.md26- Troubleshooting: references/troubleshooting.md27- Performance: references/performance.md28- Rolldown: references/rolldown.md29- Migration: references/migration.md30- Breaking changes: references/breaking-changes.md31- Environment API: references/api-environment.md32- Environment instances: references/api-environment-instances.md33- Env plugins: references/api-environment-plugins.md34- Env frameworks: references/api-environment-frameworks.md35- Env runtimes: references/api-environment-runtimes.md3637## Core rules3839- Prefer minimal configuration; extend only as needed.40- Keep `index.html` as a first-class entry point when using Vite defaults.41- Treat dev server settings and build settings separately.42- Document mode-dependent behavior for env variables and `define`.43- Use `future` config to opt-in to deprecation warnings before migration.4445## Recipes4647- Scaffold a project with `npm create vite@latest`.48- Configure aliases, server options, and build outputs in `vite.config.*`.49- Load `.env` values into config with `loadEnv` when config needs them.50- Add plugins with `plugins: []` and define `apply` or `enforce` when needed.51- Use HMR APIs for fine-grained updates when plugin or framework needs it.52- Use `optimizeDeps.include/exclude` when deps aren't discovered on startup.53- Use `build.rollupOptions.input` for multi-page apps.54- Enable deprecation warnings: `future: { removeSsrLoadModule: 'warn' }`.55- Use `hotUpdate` hook instead of `handleHotUpdate` for environment-aware HMR.56- Use `this.environment` instead of `options.ssr` in plugin hooks.5758## Release Highlights (8.0.0)5960- Default browser target is raised again under `baseline-widely-available`.61- CommonJS default-import interop becomes more consistent and may expose packages that relied on older ambiguous behavior.62- Vite stops resolving `browser` vs `module` via format sniffing and follows configured `resolve.mainFields` more strictly.63- JS API `build()` now throws `BundleError` with nested `.errors` when multiple Rolldown-level errors are present.64- Rolldown transition becomes more explicit: `build.rollupOptions` / `worker.rollupOptions` are deprecated in favor of `*.rolldownOptions`.6566## Prohibitions6768- Do not copy large verbatim chunks from vendor docs.69- Do not assume framework-specific behavior without verifying.7071## Links7273- [Documentation](https://vite.dev/)74- [Releases](https://github.com/vitejs/vite/releases)75- [GitHub](https://github.com/vitejs/vite)76- [npm](https://www.npmjs.com/package/vite)7778---79> Converted and distributed by [TomeVault](https://tomevault.io/claim/itechmeat) — claim your Tome and manage your conversions.80<!-- tomevault:4.0:skill_md:2026-04-11 -->
Run npx skillmds@latest add tomevault-io/itechmeat-llm-code-vite in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Vite It is listed under AI & ML on SkillMD.
This skill has not completed SkillMD's automated safety review yet. Independent scanners report: SkillSpector: PASS, Skill Scanner: PASS. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
tomevault-io (@tomevault-io) published this skill. Their other Agent Skills are listed on their SkillMD profile.