Skip to content
JS
Package

vite-plugin-singlefile

Vite plugin for inlining all JavaScript and CSS resources

v2.3.3, 17 Apr 2026MITESM + CommonJSTypes: BundledBundler plugins and loaders
$ npm install vite-plugin-singlefile

Key numbers

As of 25 Sept 2026
Weekly downloads
1.9m
+1269% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
1
Direct, from package.json
Last release
5 months ago
v2.3.3
GitHub stars
-
Open issues / PRs
- / -
Contributors
-
Commits, last 52 weeks
-

Downloads

Last week 2026-09-15 to 2026-09-21
01m2m3mSept 2025Mar 2026Sept 2026High 2m (8 Sept 2026)Low 114.7k (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.

1,893,169 downloads last week, 8,016,858 in the last month. The 12-month change of +1269% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
339 in total
Latest version
2.3.3, 17 Apr 20265 months ago
First published
9 Jan 2021
Last push to GitHub
-
Repository archived
-
Open issues
-
Open pull requests
-
Commits, last 52 weeks
-
Dependents on npm
-

Major versions

  1. v2 first release 2.0.0, 11 Feb 2024
  2. v1 first release 1.0.0, 14 Jan 2024
  3. v0 first release 0.1.0, 9 Jan 2021

Recent releases

VersionPublished
2.3.317 Apr 2026
2.3.215 Mar 2026
2.3.115 Mar 2026
2.3.02 Jul 2025
2.2.12 Jul 2025
2.2.010 Mar 2025
2.1.08 Dec 2024
2.0.33 Nov 2024
2.0.220 Jun 2024
2.0.13 Mar 2024
2.0.011 Feb 2024
1.0.014 Jan 2024
0.13.52 Apr 2023
0.13.42 Apr 2023
Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>18.0.0
Runtimes
-
Unpacked size (npm)
24 kB
Dependencies (1)
micromatch
Peer dependencies (2)
viterollup
npm install vite-plugin-singlefile
  • jsDelivrhttps://cdn.jsdelivr.net/npm/vite-plugin-singlefile@2.3.3/
  • unpkghttps://unpkg.com/vite-plugin-singlefile@2.3.3/
  • esm.shhttps://esm.sh/vite-plugin-singlefile@2.3.3
Sources: npm registry, npm downloads API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): GitHub data not fetched yet.