Hacker News new | ask | show | jobs
by dgrammatiko 2592 days ago
My only problem is that I cannot export as custom element. Web component is nice but shadow dom is complicating far too much my use cases
1 comments

The Svelte compiler does support exporting as a custom element: https://svelte.dev/docs#Custom_element_API
Well, I know that it supports exporting to custom elements, what I miss is the option to NOT use shadow DOM (now it is forced)