babel-plugin-template-html-minifier
babel-plugin-template-html-minifier copied to clipboard
Minify HTML in tagged template strings using html-minifier
Instead of specifying the module it should be exported from, I'd like to be able to just minify all templates prefixed with `html` and all templates prefixed with `css`.
This is not an issue with your library, but you might want to put it in the hint for `htmlMinifier`. Using `@event`-style syntax in elements of your render() templates can...
Hi, fail trying to minify css with some container queries. Reproduce by adding this minimal css : ``` @container small (width < 768px) { h2 { width: 100%; } }...
Hi, I am using rollup, following open-wc config to build my project: ``` import nodeResolve from '@rollup/plugin-node-resolve'; import babel from '@rollup/plugin-babel'; import html from '@web/rollup-plugin-html'; import { importMetaAssets } from...
The current options interface leaves no way to minify templates that do not use tags, such as Polymer's ``.
The type of the `modules` option is very unclear from the documentation. It's clear the key should be the import source, but the value in the examples is either an...