-
Notifications
You must be signed in to change notification settings - Fork 24
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
Svelte 5 migration #145
base: main
Are you sure you want to change the base?
Svelte 5 migration #145
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Would be amazing to see this merged! |
Until then, you can use this: https://www.npmjs.com/package/@eirikk/portabletext-2-svelte-5 Follow the instructions in the README to not have to rewrite any imports |
@stipsan looks like the most recent official contributor. Hope it's okay that I tag you to get this looked at |
Description
This is my attempt to kickstart svelte 5 support. It's probably enough to just allow svelte 5 as a peerDependency considering svelte 5 has backwards compatibility, but I guess it's nice to have this as a starting point for a full migration for projects that use runes mode only.
All tests are passing, though I had to add a line to remove comments from rendered output before comparing it to expected output.
Changes
Solves #78 and #127 (make components optional)