You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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>?
The text was updated successfully, but these errors were encountered:
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 thetag
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>
?The text was updated successfully, but these errors were encountered: