vite-bundle-optimization
OfficialSpeed up Vite builds and shrink bundles.
AuthorPatternsDev
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Vite bundle size and build performance can degrade as projects scale; this Skill provides patterns to minimize bundle sizes and accelerate builds for Vite + React apps.
Core Features & Use Cases
- Avoid barrel file imports to reduce initial load times.
- Configure manual chunk splitting to improve caching and parallel loading.
- Use dynamic imports for route-level code splitting to reduce initial payload.
- Lazy-load heavy components to improve First Contentful Paint.
- Defer non-critical third-party scripts to shorten interactive time.
- Preload critical assets and route chunks to improve perceived performance.
Quick Start
Install and apply the recommended Vite optimizations to your next React project to achieve faster builds and smaller bundles.
Dependency Matrix
Required Modules
None requiredComponents
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-bundle-optimization Download link: https://github.com/PatternsDev/skills/archive/main.zip#vite-bundle-optimization Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.