↗
Resource profile / Vite Configuration & Build Workflow
About this skill

Workflow & requirements

Vite

Based on Vite v8.3.1 (Rolldown-powered), generated at 2026-09-25. Vite 8 uses the Rolldown bundler and the Oxc transformer instead of esbuild + Rollup.

Vite is a next-generation frontend build tool with fast dev server (native ESM + HMR) and optimized production builds.

Preferences

  • Use TypeScript: prefer vite.config.ts
  • Always use ESM, avoid CommonJS

Core

Topic Description Reference
Configuration vite.config.ts, defineConfig, conditional configs, loadEnv core-config
Features import.meta.glob, asset queries (?raw, ?url), import.meta.env, HMR API core-features
Plugin API Vite-specific hooks, virtual modules, plugin ordering core-plugin-api

Build & SSR

Topic Description Reference
Build & SSR Library mode, SSR middleware mode, ssrLoadModule, JavaScript API build-and-ssr

Advanced

Topic Description Reference
Environment API Vite 6+ multi-environment support, custom runtimes environment-api
Rolldown Migration Vite 8 changes: Rolldown bundler, Oxc transformer, config migration rolldown-migration

Quick Reference

CLI Commands

vite              # Start dev server
vite build        # Production build
vite preview      # Preview production build
vite build --ssr  # SSR build

Common Config

import { defineConfig } from 'vite'

export default defineConfig({
  plugins: [],
  resolve: { alias: { '@': '/src' } },
  server: { port: 3000, proxy: { '/api': 'http://localhost:8080' } },
  build: { target: 'esnext', outDir: 'dist' },
})

Official Plugins

  • @vitejs/plugin-vue - Vue 3 SFC support
  • @vitejs/plugin-vue-jsx - Vue 3 JSX
  • @vitejs/plugin-react - React with Oxc/Babel
  • @vitejs/plugin-react-swc - React with SWC
  • @vitejs/plugin-legacy - Legacy browser support
PACKAGE TRANSPARENCY

Inspect before installing

Source: Anthony Fu · MIT · SHA-256 shown alongside the download.

11 files17248 ZIP bytes0 script/code files

License file included. A license and checksum are not a security certification. Review package instructions and scripts before running them.

View files and uncompressed sizes
Machine-readable installation guide →
CATALOG REVIEW NOTES

Know what you need before installing

Source and packaging checks recorded on 2026-10-03. These notes are not safety certification or measured task performance.

Requirements

Your own Vite project, a compatible Node runtime and reviewed dependencies. This snapshot describes Vite 8 APIs; check your installed version before migrating.

Costs, access & practical limits

MIT skill material; separate tooling, hosting, dependencies and model access may have costs. No external tool or account is supplied. Full skill/agent runtime evaluation has not been performed. Independent documentation-derived proof-of-concept maintained by Anthony Fu; upstream says skill effectiveness has not been fully tested. Check matching framework and package versions. Preferences are not mandatory framework rules, and code samples may be separate alternatives rather than complete files. Never put credentials in VITE_-prefixed client variables. Version-specific Rolldown and experimental environment APIs need project-specific validation.

View the recorded checks
  • Pinned source bytes verified against Git blob hashes
  • Complete upstream MIT copyright and license retained
  • Core name/folder identity and packaged references checked
  • Publisher attribution, dependency and version limitations disclosed

Upstream commit: e53a142a2420e8cd812cfe9ed0484ab01bc856aa

Runtime status: not tested by this catalog. Configure your client and test the skill in your own environment.

SCENARIOS

Inputs, criteria and recorded outcomes

Records are supplied by the site administrator and bound to a specific package. They are not third-party safety certification. This page does not execute skills.

No published scenario records yet. Resource availability and download counts do not imply measured task performance.

Community reviews

★ New

Be the first to share your experience.

Sign in to leave a review →

More to explore

View all ↗