# sveltejs/vite-plugin-svelte

Svelte plugin for https://vite.dev

Repository: https://github.com/sveltejs/vite-plugin-svelte
Canonical: https://ross.abutalabs.com/products/vite-plugin-svelte
Language: JavaScript
License: MIT
License Family: permissive
Topics: svelte, vite-plugin, vite
Last push: 2026-09-01T01:08:29+00:00

## Health v2 (maintenance only)
Score: 99/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 100, release rhythm 96, longevity 100
- inputs: {"age_days": 1996, "days_push": 2, "days_rel": 25, "gap_med": 3.5, "n_releases_24m": 37}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1041, forks 143 (observed 2026-09-01T02:14:07.667052+00:00)

## What it is
The official Svelte plugin for Vite, enabling Svelte component compilation, HMR, and SSR integration within Vite-based projects. It is maintained by the Svelte team under the sveltejs organization.

## Use cases
- set up svelte with vite
- add svelte support to a vite project
- enable hot module reloading for svelte components
- build a sveltekit-style app with vite
- compile svelte components in a vite build

## When to choose
- you are building a Svelte or SvelteKit app on Vite
- you want official, well-maintained Svelte integration with Vite's dev server and build pipeline

## When to avoid
- you use webpack or Rollup instead of Vite
- your project does not use Svelte

## Facets
- artifact type: plugin
- maturity: stable
- function: build-tool, frontend-framework, ssr, developer-tools
- domain: web-development, frontend, developer-tools
- platform: cross-platform
- tags: svelte, vite, hmr, bundler-plugin, esm, nodejs, javascript

## Member repositories
- sveltejs/vite-plugin-svelte (main) score 99

## Provenance
- Observed fields: from GitHub, fetched 2026-09-01T02:14:07.667052+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:03:32.507315+00:00, confidence not recorded.
  - readme: https://github.com/sveltejs/vite-plugin-svelte (fetched 2026-09-01T02:14:07.667052+00:00, sha b16ce288354f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
