rollup-plugin-minify-template-literals

JSON →
library 1.1.7 ·javascript
verified Apr 27, 2026

A Vite/Rollup plugin that minifies HTML and CSS markup inside JavaScript/TypeScript template literal strings. Version 1.1.7 ships TypeScript types and requires Node >=20.0.0. It is maintained at a moderate cadence. Key differentiators: supports both Vite and Rollup, integrates minify-literals under the hood, offers include/exclude filtering, optional failOnError mode, and is ESM-only. Compared to alternatives like rollup-plugin-minify-html-literals, this plugin is a modern fork with bug fixes and ES module support.

total hits 11
actors 3 distinct systems
last hit 6d ago human
GPTBot
5
ClaudeBot
1
Humans
2

top countries 🇺🇸 United States · 🇨🇦 Canada · 🇪🇸 Spain · 🇬🇧 United Kingdom