summaryrefslogtreecommitdiff
path: root/src/client/svelte.config.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/svelte.config.ts')
-rw-r--r--src/client/svelte.config.ts21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/client/svelte.config.ts b/src/client/svelte.config.ts
new file mode 100644
index 0000000..e6eb2e2
--- /dev/null
+++ b/src/client/svelte.config.ts
@@ -0,0 +1,21 @@
+import adapter from "@sveltejs/adapter-static"
+
+/** @type {import('@sveltejs/kit').Config} */
+const config = {
+ kit: {
+ 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