serve a static website from your pds
1import adapter from "@sveltejs/adapter-static";
2import { vitePreprocess } from "@sveltejs/vite-plugin-svelte";
3
4/** @type {import('@sveltejs/kit').Config} */
5const config = {
6 compilerOptions: { experimental: { async: true } },
7 preprocess: vitePreprocess(),
8
9 kit: {
10 adapter: adapter({ fallback: "index.html" }),
11 alias: { "~/*": "src/*" },
12 },
13};
14
15export default config;