vite-config

Community

Configure Vite for speed, power micro-frontends.

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.ts templates 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 like sourcemap and manualChunks.
  • Server Configuration: Enforces strictPort: true and host: true for consistent development server behavior.
  • Use Case: Generate a vite.config.ts for 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 required

Components

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.
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.