html-minifier
html-minifier copied to clipboard
How do i minify javascript in custom tag?
<wxs module="util">
console.log(1 < 2)
</wxs>
say i have the code above, how do i parse javascript inside a wxs tag?
or let's say how do i avoid the character '<' inside the wxs tag from being treated as a started tag?
AFAIK this wasn’t and isn’t possible yet. If there’s more demand for this, this could be considered as a feature in HTML Minifier Next (maintained fork).