vite-config
CommunityConfigure Vite for speed, power micro-frontends.
Software Engineering#React#frontend#validation#configuration#Vite#Module Federation#micro-frontend#build tool
Authormetasaver
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Configuring Vite for diverse project types (standalone web apps, Micro-Frontend Host, or Micro-Frontend Remote) can be complex, leading to build errors, incorrect path aliases, or suboptimal development server settings. This skill automates Vite configuration and validation.
Core Features & Use Cases
- Project-Specific Templates: Provides
vite.config.tstemplates tailored for MFE Host, MFE Remote, and Standalone web applications. - Plugin Validation: Ensures the correct plugins (e.g.,
@vitejs/plugin-react,@originjs/vite-plugin-federation) are used for the specific package type. - Path Alias & Build Configuration: Validates required path aliases (
@to./src) and essential build settings likesourcemapandmanualChunks. - Server Configuration: Enforces
strictPort: trueandhost: truefor consistent development server behavior. - Use Case: Generate a
vite.config.tsfor a new micro-frontend remote application, ensuring the Module Federation plugin is correctly configured to expose components, or audit an existing config for compliance.
Quick Start
Create a vite.config.ts for a new standalone web application.
Dependency Matrix
Required Modules
None requiredComponents
assets
💻 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-config Download link: https://github.com/metasaver/claude-marketplace/archive/main.zip#vite-config 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.