esbuild-minify-templates
JSON →A plugin for esbuild that minifies template literal strings by collapsing whitespace and removing whitespace around HTML tags. Version 0.13.1 is current; it supports node >=12 and requires esbuild >=0.13.0 <1.0.0 as a peer dependency. Features include source map support, the ability to ignore specific template literals with a comment, and options like `keepComments` (preserve HTML comments) and `taggedOnly` (minify only tagged templates). It ships TypeScript types. Unlike other minifiers, it works as two esbuild plugins that require the `write` option to be `false`, writing output files via a separate `writeFiles()` plugin.
Traffic · last 30 days ↓60% vs prev 7d
total hits 11
actors 4 distinct systems
last hit 5d ago human
top countries 🇺🇸 United States · 🇨🇦 Canada · 🇸🇬 Singapore