I basically am wondering the same things as in this post except I need it for sveltekit with adapter-static not just svelte with rollup. There are basically 2 issues:
- SvelteKit doesn't allow you to use
./in thepaths.baseconfig option and - SvelteKit comiles to js modules which don't work from
filebecause ofCORS.
Any idea how to fix those issues?
httpor a localhost server (npm run preview) is needed to run SveteKit apps.