vite · Vite Docs
Vite Vite Performance
Provides strategies and configuration patterns to optimize Vite build performance, including dependency pre-bundling, module resolution, and build-time optimizations.
Derived skill
Files assembled from official documentation
Viewing SKILL.md
Vite Vite Performance
Provides strategies and configuration patterns to optimize Vite build performance, including dependency pre-bundling, module resolution, and build-time optimizations.
When To Use
Use when you need to reduce development server startup times, optimize dependency pre-bundling, or improve production build speeds in a Vite project.
Reference Files
| File | Contains | Use For |
|---|---|---|
SKILL.md | Entry point: scope, routing table, and workflow. | Start here. |
docs/vite-performance-workflow-guide.md | A guide detailing strategies to optimize Vite performance, including auditing plugins, reducing resolve operations, and avoiding barrel files. | Questions about a guide detailing strategies to optimize Vite performance, including auditing plugins, reducing resolve operations, a... |
examples/vite-performance-module-export.text | A text example demonstrating module export patterns related to Vite performance optimization. | Exact payloads, commands, or snippets shown in A text example demonstrating module export patterns related to Vite performance optimization. |
examples/vite-performance-dependency-graph-trace.text | A text representation of a module dependency trace showing the relationship between main.js, BigComponent.vue, big-utils.js, and large-data.json. | Exact payloads, commands, or snippets shown in A text representation of a module dependency trace showing the relationship between main.js, BigComponent.vue, big-ut... |
examples/vite-performance-transform-timing-logs.text | A text log demonstrating Vite transformation durations for different file paths and components. | Exact payloads, commands, or snippets shown in A text log demonstrating Vite transformation durations for different file paths and components. |
examples/vite-performance-server-warmup-config.text | A vite configuration object demonstrating the server warmup feature to pre-bundle specific client files. | Exact payloads, commands, or snippets shown in A vite configuration object demonstrating the server warmup feature to pre-bundle specific client files. |
What This Skill Covers
- Are you an LLM? You can read better optimized documentation at /guide/performance.md for this page in Markdown format
- Main sections:
Review Your Browser Setup ,Audit Configured Vite Plugins ,Reduce Resolve Operations ,Avoid Barrel Files ,Warm Up Frequently Used Files .
Workflow
- Open the most relevant file under
docs/for the exact documented workflow and wording. - Open
schemas/files for exact structured contracts. - Open
examples/files for concrete requests, commands, snippets, and manifests. - Do not add behavior or configuration that is not present in the attached source files.
Canonical source: https://vite.dev/guide/performance