vite-impl-optimization

Official

Speed up Vite dev with smart dep pre-bundling.

AuthorOpenAEC-Foundation
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Recurrent slow dev server starts and flaky pre-bundling due to complex dependency graphs, monorepo linked packages, and cache invalidation issues.

Core Features & Use Cases

  • Guidance on configuring optimizeDeps across Vite versions (v5-v8) including entries, include, exclude, force, noDiscovery, and holdUntilCrawlEnd.
  • Strategies for monorepos with linked dependencies and deeply nested imports to ensure reliable pre-bundling.
  • Troubleshooting tips for cache invalidation and production parity with Rolldown vs esbuild.

Quick Start

To begin, add focused optimizeDeps settings in vite.config.js for heavy dependencies and run the dev server to verify faster starts.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: vite-impl-optimization
Download link: https://github.com/OpenAEC-Foundation/OpenAEC-Workspace-Composer/archive/main.zip#vite-impl-optimization

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.