sveltejs / sites

Monorepo for the sites in the Svelte ecosystem
https://svelte.dev
MIT License
290 stars 123 forks source link

REPL doesn't run with version=4.0.0-next.0 #486

Closed dimfeld closed 1 year ago

dimfeld commented 1 year ago

I tried to open the REPL with the Svelte 4 prerelease and it failed to load. Looks like the issue (at least, the first issue) is where it tries to import compiler.js from unpkg, but the file in Svelte 4 is now compiler.cjs.

This isn't anything urgent, I was mostly just curious if some of the slot changes may have fixed other issues like https://svelte.dev/repl/39bafbb43d2a44af874156720f6e1cad

Is there some other way to run Svelte 4 in the REPL already that I'm missing, or has that work not been done yet?