sveltejs/vite-plugin-svelte
sveltejs/vite-plugin-svelte has 1,046 GitHub stars and 149 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-09 11:33 UTC. Last push 2026-11-03.
Svelte plugin for https://vite.dev
Measured star growth
- in 24h
- 0
- in 7 days
- Update delayed
- in 15 days
- Update delayed
- in 1 month
- Update delayed
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
Original@sveltejs/vite-plugin-svelte
The official Svelte plugin for Vite.
Installation
npm install --save-dev @sveltejs/vite-plugin-svelte
Usage
// vite.config.js
import { defineConfig } from 'vite';
import { svelte } from '@sveltejs/vite-plugin-svelte';
export default defineConfig({
plugins: [
svelte({
// plugin options
})
]
});
Documentation
Packages
| Package | Changelog |
|---|---|
| @sveltejs/vite-plugin-svelte | Changelog |
Got a question? / Need help?
Join the Svelte Discord server!
Development
All scripts work from monorepo-root. The plugins are unbundled esm, a build step is not required while developing locally, but restarting local dev-servers can be needed to apply changes.
pnpm ito install dependenciespnpm playwright install chromiumto install required playwright browser binaries via local playwright-coreNOTE This repo uses
playwright-corewith a bin alias toplaywrightvia package.json script Callingpnpm dlx playwright install chromiumwill not work.pnpm checkandpnpm:testto validate changespnpm formatto format source codepnpm test:unit,pnpm test:serveorpnpm test:buildto run a subset of testspnpm test <e2e-directory-name>to focus a specific testsuitepnpm changesetto generate a changesetpnpm generate:typesto generate public types from jsdoc (this is required when changing types and validated in ci)
Credits
- Svelte and Vite creators, maintainers and contributors
- rixo - without svelte-hmr and your support this would not have been possible
- intrnl - initial inspiration from https://github.com/intrnl/vite-plugin-svelte
License
Explore related projects
codecrafters-io/build-your-own-x
Master programming by recreating your favorite technologies from scratch.
561,398 starspublic-apis/public-apis
A collective list of free APIs
497,679 starsmorluto/rea
Reverse engineer anything with agents, from app behavior down to native binaries.
447,495 starsopenclaw/openclaw
The AI that really does things. Any OS. Any Platform. The lobster way. 🦞
394,261 stars