Skip to content
JS
Package

vite-plugin-html

A plugin for vite to Minimize index.html and use lodash.template template syntax in index.html

v3.2.2, 17 Jan 2024MITESM + CommonJSTypes: BundledBundler plugins and loaders
$ npm install vite-plugin-html

Key numbers

As of 25 Sept 2026
Weekly downloads
596.8k
+91% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
12
Direct, from package.json
Last release
2 years ago
v3.2.2
GitHub stars
687
103 forks
Open issues / PRs
75 / 17
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
0250k500k750k1mSept 2025Mar 2026Sept 2026High 956.5k (5 May 2026)Low 226.4k (30 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

596,753 downloads last week, 2,973,260 in the last month. The 12-month change of +91% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
023 in total
Latest version
3.2.2, 17 Jan 20242 years ago
First published
27 Oct 2020
Last push to GitHub
7 Aug 2024779 days before the snapshot
Repository archived
No
Open issues
75
Open pull requests
17
Commits, last 52 weeks
0
Dependents on npm
-

Major versions

  1. v3 first release 3.0.0, 27 Jan 2022
  2. v2 first release 2.0.0, 4 Feb 2021
  3. v0 first release 0.0.1, 27 Oct 2020

Recent releases

VersionPublished
3.2.217 Jan 2024
3.2.126 Dec 2023
3.2.015 Mar 2022
3.1.028 Feb 2022
3.0.610 Feb 2022
3.0.59 Feb 2022
3.0.47 Feb 2022
3.0.328 Jan 2022
3.0.227 Jan 2022
3.0.127 Jan 2022
3.0.027 Jan 2022
2.1.227 Dec 2021
2.1.127 Sept 2021
2.1.020 Aug 2021
Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
26 kB
Dependencies (12)
ejspathedotenvconsolafs-extracolorettefast-globdotenv-expandnode-html-parser@rollup/pluginutilshtml-minifier-terserconnect-history-api-fallback
Peer dependencies (1)
vite
npm install vite-plugin-html
  • jsDelivrhttps://cdn.jsdelivr.net/npm/vite-plugin-html@3.2.2/
  • unpkghttps://unpkg.com/vite-plugin-html@3.2.2/
  • esm.shhttps://esm.sh/vite-plugin-html@3.2.2
PackageWeekly downloadsGzipLast releaseModuleComparison
vite-plugin-svgr3.7m-5 months agoESM + CommonJS-
vite-plugin-checker2.5m-2 months agoESM only-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.