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
Is your feature request related to a problem? Please describe.
I like to use Svelte 5, to make sure I use the new Svelte 5 syntax everywhere I want to enable compilerOptions.runes: true.
However, when doing this I run into the following error:
✘ [ERROR] node_modules/.pnpm/[email protected][email protected]/node_modules/svelte-awesome/package/components/Icon.svelte:12:6 Cannot use `$$restProps` in runes mode [plugin vite-plugin-svelte:optimize-svelte]
node_modules/.pnpm/[email protected][email protected]/node_modules/svelte-awesome/package/components/Icon.svelte:12:6:
12 │ {...$$restProps}
╵ ^
The plugin "vite-plugin-svelte:optimize-svelte" was triggered by this import
node_modules/.pnpm/[email protected][email protected]/node_modules/svelte-awesome/package/index.js:1:35:
1 │ export { default as default } from './components/Icon.svelte';
It's clear why this happens, as Icon.svelte is using the old export let syntax.
Describe the solution you'd like
I'd like to see this updated, as I like it a lot and want to continue using it moving forward.
Describe alternatives you've considered
Omitting compilerOptions.runes, however we should all adapt to the new syntax...
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
I like to use Svelte 5, to make sure I use the new Svelte 5 syntax everywhere I want to enable
compilerOptions.runes: true
.However, when doing this I run into the following error:
It's clear why this happens, as
Icon.svelte
is using the oldexport let
syntax.Describe the solution you'd like
I'd like to see this updated, as I like it a lot and want to continue using it moving forward.
Describe alternatives you've considered
Omitting
compilerOptions.runes
, however we should all adapt to the new syntax...The text was updated successfully, but these errors were encountered: