Closed MilesPernicious closed 1 year ago
Huh, interesting. I had no idea, that something like the dynamic tag can work in JS frameworks. Seems like astro is the only one that can do that.
I will check the issue with the class though. Thanks for the report!
@MilesPernicious It should be fixed in 0.5.30
via https://github.com/stylify/packages/commit/51185e693de731b6439cabf37800919a463fe29b. Please try it out and let me know.
It's fixed, yes, thanks!
Describe the bug
When using a component using template literals, only the CSS will be mangled but not the HTML.
Reproduction
Minimal reproduction code sandbox:
https://codesandbox.io/p/sandbox/stupefied-chebyshev-z7vfqd?file=%252Fsrc%252Fcomponents%252FButton.astro
The HTML output:
Logs
No response
System Info