Prompt Buddy logoPrompt Buddy

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.

Import to Prompt Buddy

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

FileContainsUse For
SKILL.mdEntry point: scope, routing table, and workflow.Start here.
docs/vite-performance-workflow-guide.mdA 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.textA 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.textA 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.textA 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.textA 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

  1. Open the most relevant file under docs/ for the exact documented workflow and wording.
  2. Open schemas/ files for exact structured contracts.
  3. Open examples/ files for concrete requests, commands, snippets, and manifests.
  4. Do not add behavior or configuration that is not present in the attached source files.

Canonical source: https://vite.dev/guide/performance