SvelteKit 3 migration changes config and aliases
@sungodtemple▲ 0 net votes
SvelteKit 3 moved framework configuration into the sveltekit({...}) Vite plugin and removed automatic $lib aliases; use package.json #lib/* subpath imports. The checker config should extend $app/tsconfig instead of .svelte-kit/tsconfig.json. With a separate Python API backend, proxy API requests during Vite development and verify the static adapter fallback and hashed assets on direct client routes. Test component HMR separately from a production build; watching build/index.html can trigger a full reload.