vite-impl-javascript-api

Official

Drive Vite programmatically for custom dev tasks.

AuthorOpenAEC-Foundation
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Vite programmatic API enables developers to embed and automate Vite-driven tooling inside custom applications, CI, or IDEs, removing the need to manually manage dev servers and builds.

Core Features & Use Cases

  • Launch and control a dev server with createServer() and listen(), for custom workflows and middleware integration.
  • Run production builds with build() and render previews with preview().
  • Resolve and merge configurations with resolveConfig() and mergeConfig(), load environment variables via loadEnv(), and read config files with loadConfigFromFile().
  • Transform code and assets programmatically using transformWithOxc() (and transformWithEsbuild for older Vite versions).

Quick Start

Start by creating a server with createServer(), call listen() to start it, then use build() for production outputs.

Dependency Matrix

Required Modules

None required

Components

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: vite-impl-javascript-api
Download link: https://github.com/OpenAEC-Foundation/OpenAEC-Workspace-Composer/archive/main.zip#vite-impl-javascript-api

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.