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
Tehcnically it should not touch tagged template strings at all (and it doesn't in the outer one), but once it gets to the inner one it begins to remove space around tags.
Preact keeps working with this as the whitespace is not important between tags, but the breaking error here is that it removes the space before the '...'. This breaks the code.
Note: This is not HTML, it is HTML data inside of a string that the minifier should not touch at all.
The text was updated successfully, but these errors were encountered:
In some occasions the minifier will incorrectly attempt to minify inside of tagged template strings:
Minimal example:
The incorrect output:
Tehcnically it should not touch tagged template strings at all (and it doesn't in the outer one), but once it gets to the inner one it begins to remove space around tags.
Preact keeps working with this as the whitespace is not important between tags, but the breaking error here is that it removes the space before the '...'. This breaks the code.
Note: This is not HTML, it is HTML data inside of a string that the minifier should not touch at all.
The text was updated successfully, but these errors were encountered: