rollup-plugin-minify-html-literals

JSON →
library 1.2.6 ·javascript
verified Apr 27, 2026

Rollup plugin that minifies HTML and CSS content inside JavaScript template literal strings. Version 1.2.6 is current and stable. It leverages the minify-html-literals library to process tagged templates (e.g., lit-html) and untagged templates (e.g., Polymer). Key differentiators: seamless Rollup integration, support for include/exclude patterns, fail-on-error mode, and the ability to customize the minification logic. Typical use cases: reducing bundle size for Web Component projects using lit-html or Polymer.

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

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