enhance-dev / enhance-ssr

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

Empty <style> tags throw errors during rendering #70

Closed paulcuth closed 3 months ago

paulcuth commented 3 months 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 3 months ago

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