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
When using svelte-time as a dependency in my project and compiling in runes mode using Svelte 5:
svelte.config.js
exportdefault{compilerOptions: {runes: true}};
I get the following error:
✘ [ERROR] node_modules/svelte-time/Time.svelte:65:18 Cannot use `$$restProps` in runes mode [plugin vite-plugin-svelte:optimize-svelte]
node_modules/svelte-time/Time.svelte:65:18:
65 │ time {title} {...$$restProps} datetime={timestamp}>
╵ ^
The plugin "vite-plugin-svelte:optimize-svelte" was triggered by this import
node_modules/svelte-time/index.js:3:24:
3 │ export { default } from "./Time.svelte";
╵ ~~~~~~~~~~~~~~~
This is a limitation for other projects that are using Svelte 5 and runes.
The text was updated successfully, but these errors were encountered:
When using svelte-time as a dependency in my project and compiling in runes mode using Svelte 5:
svelte.config.js
I get the following error:
This is a limitation for other projects that are using Svelte 5 and runes.
The text was updated successfully, but these errors were encountered: