vite
/vite
Pomaga w konfiguracji Vite, API pluginów, SSR i migracji do Vite 8 z Rolldown, także przy budowie bibliotek i aplikacji SSR.
Ocena i bezpieczeństwo
- Pliki w paczce
- 8
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 3
Brak sygnałów. Repozytorium zmienione 23.10.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Pomaga w konfiguracji Vite, API pluginów, SSR i migracji do Vite 8 z Rolldown, także przy budowie bibliotek i aplikacji SSR.
Oryginalny opis (EN)
Vite build tool configuration, plugin API, SSR, and Vite 8 Rolldown migration. Use when working with Vite projects, vite.config.ts, Vite plugins, or building libraries/SSR apps with Vite.
Jak działa
- Preferences
- Core
- Build & SSR
- Advanced
- Quick Reference
Podgląd SKILL.md
---
name: vite
description: Vite build tool configuration, plugin API, SSR, and Vite 8 Rolldown migration. Use when working with Vite projects, vite.config.ts, Vite plugins, or building libraries/SSR apps with Vite.
metadata:
author: Anthony Fu
version: "2026.9.25"
source: Generated from https://github.com/vitejs/vite, scripts at https://github.com/antfu/skills
---
# 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](references/core-config.md) |
| Features | `import.meta.glob`, asset queries (`?raw`, `?url`), `import.meta.env`, HMR API | [core-features](references/core-features.md) |
| Plugin API | Vite-specific hooks, virtual modules, plugin ordering | [core-plugin-api](references/core-plugin-api.md) |
## Build & SSR
| Topic | Description | Reference |
|-------|-------------|-----------|
| Build & SSR | Library mode, SSR middleware mode, `ssrLoadModule`, JavaScript API | [build-and-ssr](references/build-and-ssr.md) |
## Advanced
| Topic | Description | Reference |
|-------|-------------|-----------|
| Environment API | Vite 6+ multi-environment support, custom runtimes | [environment-api](references/environment-api.md) |
| Rolldown Migration | Vite 8 changes: Rolldown bundler, Oxc transformer, config migration | [rolldown-migration](references/rolldown-migration.md) |
## Quick Reference
### CLI Commands
```bash
vite # Start dev server
vite build # Production build
vite preview # Preview production build
vite build --ssr # SSR build
```
### Common Config
```ts
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
Pliki w paczce (8)
- GENERATION.md 1 KB
- SKILL.md 2 KB
- references/build-and-ssr.md 4 KB
- references/core-config.md 4 KB
- references/core-features.md 5 KB
- references/core-plugin-api.md 6 KB
- references/environment-api.md 4 KB
- references/rolldown-migration.md 5 KB
Wersje
| Repozytorium | Wynik | Licencja |
|---|---|---|
| Ta strona · antfu/skills | 100 | MIT |
| TerminalSkills/skills | 100 | Apache-2.0 |
| pleaseai/claude-code-plugins | 100 | MIT |
| sanity-io/plugins | 100 | MIT |
| claude-dev-suite/claude-dev-suite | 100 | MIT |
| G1Joshi/Agent-Skills | 100 | MIT |
| victorgarciaesgi/regle | 100 | MIT |
| pproenca/dot-skills | 100 | MIT |
| magnus919/agent-skills | 90 | MIT |
Migawka bazy z 13.11.2026 · wersja paczki 719c66ebb47b (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100vite-advanced
Obejmuje wzorce Vite 8: buildy na Rolldown, advancedChunks, Environment API, pisanie pluginów, SSR, tryb biblioteki i optymalizację buildu. - 100vite-advanced
Rozszerzone wzorce Vite 8: buildy Rolldown, podział na części, Environment API, tworzenie wtyczek, SSR i tryb biblioteki. - 100vite-patterns
Wzorce konfiguracji Vite: wtyczki, HMR, zmienne środowiskowe, proxy, SSR, tryb biblioteki, wstępne łączenie zależności i optymalizacja buildu. - 100vite-patterns
Opisuje wzorce Vite: konfiguracja, pluginy, HMR, zmienne środowiskowe, proxy, SSR, tryb biblioteki, pre-bundling zależności i optymalizacja buildu. - 100vite-patterns
Opisuje wzorce Vite: konfiguracja, pluginy, HMR, zmienne środowiskowe, proxy, SSR, tryb biblioteki, pre-bundling zależności i optymalizacja buildu. - 95nx-vite-integration
Konfiguruje Vite w monorepo Nx dla aplikacji i bibliotek: vite.config.ts, wtyczki frameworków, ścieżki TypeScript, kopiowanie zasobów, tryb biblioteki i Vitest, także przy migracji z Webpacka.