babel-plugin-remove-template-literals-whitespace
JSON →Babel plugin that strips leading/trailing whitespace and indentation whitespace from template literals at build time. Latest version 1.0.4 is stable, with infrequent releases. Key features: customizable whitespace removal via user-defined function, optional verbose logging. Differentiators: lightweight, focused solely on template literal whitespace, works with any Babel setup. Alternatives like babel-plugin-transform-template-literals or manual post-processing are heavier or require additional configuration. Suitable for minifying HTML templates or CSS-in-JS strings.
Traffic · last 30 days stale · no recent hits
total hits 15
actors 4 distinct systems
last hit 18d ago ByteDance
top countries 🇸🇬 Singapore · 🇺🇸 United States · 🇬🇧 United Kingdom · 🇨🇦 Canada · 🇩🇪 Germany