Hi Linus,
many thanks for your SK/Socket.io approach!
It might be the result of SvelteKits latest breaking changes, but I constantly run into the following error:
"Error: config.kit.vite has been removed — use vite.config.js instead".
Any Ideas how to overcome this issue?
Put this in your vite.config.js. As far as I understand, the vite section from the svelte.config.js now moved to vite.config.js.
Thank you Linus,
meanwhile i was able to figure out how to deal with it.
Following Matija´s tutorial (joyofcode.xyz/using-websockets-with-sveltekit) i just swapped the code from svelte.config.js to vite.config.js like this:
which is actually the way you proposed.
let´s keep on SvelteKitting ;)