enhance-dev / enhance-ssr

Server side render for custom elements.
140 stars 9 forks source link

Empty <style> tags throw errors during rendering #70

Closed paulcuth closed 1 month ago

paulcuth commented 1 month ago

The error message isn't very helpful, but I believe that it shouldn't be erroring in the first place.

Simply adding :host{} fixes the issue, but the empty case should be handled.


Steps to recreate

Expected

Actual

kristoferjoseph commented 1 month ago

Thank you for filing this issue. Looks like there needs to be another catch added for this case.