-
Notifications
You must be signed in to change notification settings - Fork 2
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
Warning after updating svelte & vite #4
Comments
Hi, good timing on this actually. I'm releasing a new version soon that hopefully fixes a couple edge cases and gets the size down to around 360 bytes gzip. Can you try installing Thank you very much. |
I added : "trap-focus-svelte": "^1.1.0-rc2" in the package.json from Visual Code (npm i trap-focus-svelte@1.1.0-rc2). Is that what you mean by trap-focus-svelte@next. Previously I was using : svelte-focus-trap v1.2.0. So I have to make some minor modifications ( change the name at some places). So far it seems to work. However now I get the following warning in the editor:
|
Okay thanks, should work now with 1.1.0-rc3 There's no 1.2.0 so I think you were on 1.0.2 as per your package.json posted above. I just meant install the @next version with If you can update to 1.1.0-rc3 and verify that it's working properly, I'll go ahead and release it as 1.1.0. Thanks! |
I just tested 1.1.0-rc3. My warnings are now gone. Thanks ! |
Awesome! I released 1.1.0. It's the same as the @next version so you can update to that if you want. |
10:19:02 AM [vite-plugin-svelte] WARNING: The following packages have a svelte field in their package.json but no exports condition for svelte.
trap-focus-svelte@1.0.2
Please see https://github.com/sveltejs/vite-plugin-svelte/blob/main/docs/faq.md#missing-exports-condition for details.
frompackage.json:
"trap-focus-svelte": "^1.0.2",
"svelte": "^4.2.15"
"vite": "^5.2.11"
The text was updated successfully, but these errors were encountered: