You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 19, 2026. It is now read-only.
I'd been getting parse errors such as this in my unit tests
This happens when I define attributes on new lines for cleaner looking html files.
`<div class="row"
`some-attr="bar"
another attr="foo"
Errors are fixed by changing the html to look like
``<div class="row" some-attr="bar" another-attr="foo"
My question is why isn't the html minified before being converted to JS string? Or at least can that be an option?
Using html-minifier to minify the code before converting to JS strings works. I did a quick test.