rollup-plugin-html-literals
JSON →A Rollup plugin (v2.0.1) that minifies HTML in tagged template literals, specifically for lit-html and other HTML-in-JS libraries. Currently stable with active maintenance; released as a compatibility fix for newer Rollup versions (^2.x.x, ^3.x.x, ^4.x.x). Unlike rollup-plugin-minify-html-literals, this plugin supports Rollup v3+ and is written in TypeScript, providing type definitions. It relies on minify-literals under the hood and must run before transpilation. Ideal for reducing bundle size in LitElement or similar projects.
Traffic · last 30 days ↑50% vs prev 7d
total hits 12
actors 4 distinct systems
last hit 21h ago AhrefsBot
top countries 🇺🇸 United States · 🇨🇦 Canada