Skip to content
JS
Package

@sveltejs/vite-plugin-svelte

The official [Svelte](https://svelte.dev) plugin for [Vite](https://vitejs.dev).

v7.3.1, 23 Sept 2026MITESM onlyTypes: BundledBundler plugins and loadersSvelte
$ npm install @sveltejs/vite-plugin-svelte

Key numbers

As of 25 Sept 2026
Weekly downloads
2.4m
+185% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
4
Direct, from package.json
Last release
1 day ago
v7.3.1
GitHub stars
1k
145 forks
Open issues / PRs
20 / 12
Contributors
-
Commits, last 52 weeks
105

Downloads

Last week 2026-09-15 to 2026-09-21
01m2m3m4mSept 2025Mar 2026Sept 2026High 3.5m (19 May 2026)Low 647.6k (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

2,433,160 downloads last week, 11,616,999 in the last month. The 12-month change of +185% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
1273 in total
Latest version
7.3.1, 23 Sept 20261 day ago
First published
2 Mar 2021
Last push to GitHub
24 Sept 2026same day as the snapshot
Repository archived
No
Open issues
20
Open pull requests
12
Commits, last 52 weeks
105
Dependents on npm
205

Major versions

  1. v7 first release 7.0.0, 23 Feb 2026
  2. v6 first release 6.0.0, 10 Jul 2025
  3. v5 first release 5.0.0, 26 Nov 2024
  4. v4 first release 4.0.0, 19 Oct 2024
  5. v3 first release 3.0.0, 16 Nov 2023
  6. v2 first release 2.0.0, 9 Dec 2022
  7. v1 first release 1.0.0, 13 Jul 2022

Recent releases

VersionPublished
7.3.123 Sept 2026
7.3.08 Aug 2026
7.2.07 Jul 2026
7.1.46 Jul 2026
7.1.36 Jul 2026
7.1.27 May 2026
7.1.16 May 2026
7.1.05 May 2026
7.0.023 Feb 2026
6.2.49 Jan 2026
6.2.37 Jan 2026
6.2.26 Jan 2026
6.2.124 Sept 2025
6.2.09 Sept 2025
Module format
ESM onlyFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
^20.19 || ^22.12 || >=24
Runtimes
-
Unpacked size (npm)
145 kB
Dependencies (4)
obugvitefudeepmergemagic-string
Peer dependencies (2)
vitesvelte
npm install @sveltejs/vite-plugin-svelte
  • jsDelivrhttps://cdn.jsdelivr.net/npm/@sveltejs/vite-plugin-svelte@7.3.1/
  • unpkghttps://unpkg.com/@sveltejs/vite-plugin-svelte@7.3.1/
  • esm.shhttps://esm.sh/@sveltejs/vite-plugin-svelte@7.3.1
PackageWeekly downloadsGzipLast releaseModuleComparison
vite-plugin-checker2.5m-2 months agoESM only-
vite-plugin-pwa3.4m-4 months agoESM + CommonJS-
@vite-pwa/sveltekit76k-9 months agoESM only-
vite-plugin-node53.3k-5 months agoCommonJS-
vite-plugin-externalize-deps141.2k-11 months agoESM + CommonJS-
vite-plugin-graphql-loader69.2k-4 months agoESM only-
unplugin-fonts118k-5 months agoESM only-
vite-plugin-svgr3.7m-5 months agoESM + CommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.