---
stable_id: skills/skills-sh-antfu-skills-vite
type: skills
title: skills-sh-antfu-skills-vite
summary: |-
  ---
  name: vite-config
  description: Vite configuration patterns using vite.config.ts
  ---
  # Vite Configuration
  ## Basic Setup
  ```ts
  // vite.config.ts
  import { defineConfig } from 'vite'
  export default defineConfig({
tags:
  - skills-sh
  - skills-sh-all-time
source_url: https://raw.githubusercontent.com/antfu/skills/HEAD/skills/vite/references/core-config.md
license: ""
upstream_ref: https://skills.sh/antfu/skills/vite
github_stars: 4218
github_forks: 211
github_is_organization: false
retrieved_at: 2026-06-11T08:33:22.069Z
content_sha256: d207a85730c32eff47e343ea69644a6c7898af251098a60255efe8f1c922fb4b
---
