svelte static adapter
npm i -D @sveltejs/adapter-static@next
then make svelte.config.js look like this:
/** @type {import('@sveltejs/kit').Config} */
import staticAdapter from '@sveltejs/adapter-static'
const config = {
kit: {
// hydrate the <div id="svelte"> element in src/app.html
adapter: staticAdapter(),
target: '#svelte'
}
};
export default config;