aboutsummaryrefslogtreecommitdiff
path: root/svelte.config.js
diff options
context:
space:
mode:
Diffstat (limited to 'svelte.config.js')
-rw-r--r--svelte.config.js14
1 files changed, 14 insertions, 0 deletions
diff --git a/svelte.config.js b/svelte.config.js
new file mode 100644
index 0000000..1652cf6
--- /dev/null
+++ b/svelte.config.js
@@ -0,0 +1,14 @@
+import adapter from '@sveltejs/adapter-static';
+
+/** @type {import('@sveltejs/kit').Config} */
+const config = {
+ kit: {
+ // hydrate the <div id="svelte"> element in src/app.html
+ adapter: adapter({
+ fallback: 'index.html'
+ }),
+ target: '#svelte'
+ }
+};
+
+export default config;