summaryrefslogtreecommitdiff
path: root/client/svelte.config.js
diff options
context:
space:
mode:
authorJoel Klinghed <the_jk@spawned.biz>2025-06-24 08:53:58 +0200
committerJoel Klinghed <the_jk@spawned.biz>2025-06-24 09:13:08 +0200
commitbdba7f5c449c0ac77bbd2420c5bc086a7e369a91 (patch)
tree0f4acd13a6a1c62f4e0b1b79a537b09c0470af2e /client/svelte.config.js
parentd104bd0671181376f0756ba8ae6a03880654c186 (diff)
Initial commit of client
Using svelte
Diffstat (limited to 'client/svelte.config.js')
-rw-r--r--client/svelte.config.js18
1 files changed, 18 insertions, 0 deletions
diff --git a/client/svelte.config.js b/client/svelte.config.js
new file mode 100644
index 0000000..8ef344d
--- /dev/null
+++ b/client/svelte.config.js
@@ -0,0 +1,18 @@
+import adapter from '@sveltejs/adapter-auto';
+import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
+
+/** @type {import('@sveltejs/kit').Config} */
+const config = {
+ // Consult https://svelte.dev/docs/kit/integrations
+ // for more information about preprocessors
+ preprocess: vitePreprocess(),
+
+ kit: {
+ // adapter-auto only supports some environments, see https://svelte.dev/docs/kit/adapter-auto for a list.
+ // If your environment is not supported, or you settled on a specific environment, switch out the adapter.
+ // See https://svelte.dev/docs/kit/adapters for more information about adapters.
+ adapter: adapter()
+ }
+};
+
+export default config;