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
Describe the bug
Today I upgraded esbuild-svelte to version 0.74 with Svelte 4 as dependency. In the migration guide it states, that the Tag-Option for custom components is deprecated with Svelte 4 and was replaced with the customElement option (see https://svelte.dev/docs/v4-migration-guide#custom-elements-with-svelte). Using this new option, the esbuild-svelte plugin throws following error:
<svelte:options> unknown attribute
To Reproduce
Steps to reproduce the behavior:
Define a custom component tag with <svelte:options customElement="my-component">
Include this component in an HTML file
See error
Expected behavior
No error should be thrown. The error should only occur if the old option (tag) was used.
Environment:
esbuild-svelte version: 0.7.4
esbuild version: 0.17.5
Svelte preprocessors used (if any): svelte-preprocess - 5.0.3
The text was updated successfully, but these errors were encountered:
Describe the bug
Today I upgraded esbuild-svelte to version 0.74 with Svelte 4 as dependency. In the migration guide it states, that the Tag-Option for custom components is deprecated with Svelte 4 and was replaced with the customElement option (see https://svelte.dev/docs/v4-migration-guide#custom-elements-with-svelte). Using this new option, the esbuild-svelte plugin throws following error:
<svelte:options> unknown attribute
To Reproduce
Steps to reproduce the behavior:
Expected behavior
No error should be thrown. The error should only occur if the old option (tag) was used.
Environment:
The text was updated successfully, but these errors were encountered: