Open jimmy121192 opened 4 days ago
Hey sorry about that mate, I've finally converted it to Svelte 5!
Install using: svoast@3.0.1
.
Everything should still work the exact same, but let me know if you find anything!
Thanks @Gibbu for the quick response. After I installed the new version ( 3.0.1) , I got an issue:
[plugin:vite:import-analysis] Failed to resolve entry for package "svoast". The package may have incorrect main/module/exports specified in its package.json.
Terminal log:
I checked the svoast packages.json
file and I saw this:
I changed the paths to ./package/
so it could work for now.
Can you please update the fix? Thanks :)
Whoops, yeah I forgot to change that while copy/pasting it over.
svoast@3.0.2
should fix this.
Hi @Gibbu . Thanks for the fix.
However, there is still an error on the page where I use import { toast } from 'svoast';
:
I checked the /node_modules/.vite/deps/svoast.js :
So, I need to change to import { toaster } from 'svoast';
to fix the problem.
Could you release a new version with this fix ? (either by updating the documentation or changing the export name. I prefer the second one to avoid an extra migration guide ). Thanks.
Yeah wowee again, another thing I forgot to change...
Third time is a charm: svoast@3.0.3
Thanks @Gibbu . It's all good now 🍾
Svelte 5 has been released, but Svoast is currently using Svelte 4, which is not compatible with the latest version.