summaryrefslogtreecommitdiff
path: root/src/client/svelte.config.ts
blob: bc3073bb1787691fce5e3edc01ec9ebf8b85d46b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import adapter from "@sveltejs/adapter-static"

/** @type {import('@sveltejs/kit').Config} */
const config = {
	kit: {
		/* Unfortunately, this doesn't work. Fonts are not referenced correctly.
		output: {
			bundleStrategy: "inline",
		},
		*/
		router: {
			type: "hash",
		},
		adapter: adapter({
			// default options are shown. On some platforms
			// these options are set automatically — see below
			pages: "../../dist",
			fallback: "index.html",
		})
	}
}

export default config