Vite Impl Optimization

Use when configuring dependency pre-bundling, troubleshooting slow dev server starts, handling monorepo dependencies, or forcing cache invalidation. Prevents stale cache issues and missing optimizeDeps.include for dynamically imported dependencies. Covers pre-bundling (CJS-to-ESM conversion), optimizeDeps.include/exclude/force, automatic discovery, monorepo linked deps, caching (node_modules/.vite), and Rolldown vs esbuild. Keywords: optimizeDeps, pre-bundling, node_modules/.vite, cache invalidation, monorepo, esbuild, Rolldown, dev server slow, slow startup, dependencies not pre-bundled, force rebundle.

Impertio-Studio c3c7466 4 files · 31.9 KB Updated

File contents

Impertio-Studio/Vite-Claude-Skill-Package/tree/main/skills/source/vite-impl/vite-impl-optimization commit c3c7466cf7

Frequently asked questions

npx skillmds@latest add impertio-studio/vite-impl-optimization