Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Svelte 5 runes compatibility #324

Open
harryqt opened this issue Feb 17, 2024 · 1 comment
Open

Add Svelte 5 runes compatibility #324

harryqt opened this issue Feb 17, 2024 · 1 comment

Comments

@harryqt
Copy link

harryqt commented Feb 17, 2024

When using

export default {
    compilerOptions: {
       runes: true
    }
};

getting error

  VITE v5.1.3  ready in 431 ms

  ➜  Local:   http://localhost:5173/
  ➜  Network: use --host to expose
  ➜  press h + enter to show help
✘ [ERROR] /Users/harry/project5/node_modules/svelte-fa/dist/fa-layers.svelte:4:0 Cannot use `export let` in runes mode — use $props instead [plugin vite-plugin-svelte:optimize-svelte]
@harryqt harryqt changed the title Add Svelte 5 compatibility Add Svelte 5 runes compatibility Feb 17, 2024
@harryqt harryqt closed this as completed Feb 17, 2024
@harryqt harryqt reopened this Feb 17, 2024
@notramo
Copy link

notramo commented Mar 5, 2024

Unfortunately, it's currently not possible, as upgrading to Svelte 5 would make it incompatible with Svelte 4 projects.
sveltejs/svelte#10707

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants