Closed
Description
Similar to #76 but extended.
While configuring Svelte via Webpack using svelte-loader, I see that you can set compiler options. The option that I am most interested in is customElement
. It seems that you can either have Svelte compile down to only custom elements or only Svelte class objects, but not both.
In trying to configure only one component, I came across <svelte:options>
which you can specify the tag
name of the custom element. Is there a way to selectively compile a Svelte component to a custom element in an "opt-in" style like <svelte:options>
?
Metadata
Metadata
Assignees
Labels
No labels