-
Notifications
You must be signed in to change notification settings - Fork 21
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
Unknown file extension ".svelte" for /node_modules/@portabletext/svelte/PortableText.svelte #28
Comments
I get the same issue after I updated my repo from svelte 3 to 4 when running a testing-library/svelte test in vitest on my svelte portable text components |
Have you managed to overcome this issue btw? |
I haven't tried since i created this issue. I forked the repo, made some changes to the codebase, and copied it over to our project. |
Is it sensitive information to share or can you tell which parts were broken in the library for you? |
No parts were broken, but when copying over the code our TypeScript started screaming at our editor. So i mostly fixed the TypeScript types |
Oh okay sounds good, I'll do the same then haha thank u! |
i had this issue only occur when developing in a monorepo. outside the monorepo it works properly edit: |
I was able to solve this issue by just adding: |
When used in a Sveltekit project
The text was updated successfully, but these errors were encountered: