nx-vite-integration
OfficialNx Vite integration for faster builds.
Authorpantheon-org
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill streamlines the process of integrating Vite into Nx monorepos, addressing common challenges with configuration, path resolution, and build outputs for both applications and libraries.
Core Features & Use Cases
- Vite Configuration: Provides a robust
vite.config.tssetup with Nx-specific plugins. - Path Alias Resolution: Ensures seamless cross-project imports using
nxViteTsPaths. - Library Builds: Configures Vite for efficient library mode builds with proper externalization and DTS generation.
- Vitest Integration: Sets up Vitest for reliable testing within the Nx environment.
- Use Case: When migrating an Nx project from Webpack to Vite, this Skill guides you through installing dependencies, configuring
vite.config.ts, setting up Nx targets, and verifying the setup, ensuring a smooth transition and optimized build performance.
Quick Start
Use the nx-vite-integration skill to add Vite to your Nx project named 'my-app'.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 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: nx-vite-integration Download link: https://github.com/pantheon-org/tekhne/archive/main.zip#nx-vite-integration 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 223,000+ vetted skills library on demand.