htmlts-loader minify HTML string using minimize, designed to preprocess ES6 template string wrapped with `html\n
and \n`
.
This idea is inspired by github markdown syntax highlighting language identifier.
Minify this:
const x = `html
<div class="app">
<a>${link}</a>
</div>
`
to this:
const x = `<div class=app><a>${link}</a></div>`