Closed ndom91 closed 4 months ago
Seems that Svelte 5 compiled output of cmdk-sv is broken as of next.55 :(
cmdk-sv
next.55
Looks like the change that broke things was introduced here: https://github.com/sveltejs/svelte/pull/10477
I ran into this and while researching noticed someone else had already posted an issue related to this in the svelte repo. Copying their output below:
Install svelte@5.0.0-next.55
svelte@5.0.0-next.55
Attempt to use simple cmdk-sv example:
<script lang="ts"> import { Command } from 'cmdk-sv'; </script>
Related: #10359 - we can't officially support anything Svelte 5 until its stable.
Fyi, I don't know if something old is cached, but it seems to be working again for me under next.64.
next.64
Seems that Svelte 5 compiled output of
cmdk-sv
is broken as ofnext.55
:(Looks like the change that broke things was introduced here: https://github.com/sveltejs/svelte/pull/10477
I ran into this and while researching noticed someone else had already posted an issue related to this in the svelte repo. Copying their output below:
Repro
Install
svelte@5.0.0-next.55
Attempt to use simple
cmdk-sv
example: