-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Description
Describe the bug
Attempting to use in a Svelte 5 project with runes enabled results in the following error:
✘ [ERROR] node_modules/svelte-seo/index.svelte:3:2 Cannot use `export let` in runes mode — use `$props()` instead [plugin vite-plugin-svelte:optimize-svelte]
node_modules/svelte-seo/index.svelte:3:2:
3 │ export let title = undefined;
╵ ^
The plugin "vite-plugin-svelte:optimize-svelte" was triggered by this import
node_modules/svelte-seo/index.js:1:22:
1 │ import component from "./index.svelte";
╵ ~~~~~~~~~~~~~~~~
To Reproduce
Steps to reproduce the behavior:
- Install in a Svelte 5 project
- Use as described in docs
Expected behavior
It should work.
Desktop (please complete the following information):
- OS: macOS
- Browser: Chrome
Metadata
Metadata
Assignees
Labels
No labels