aboutsummaryrefslogtreecommitdiff
path: root/ui/svelte.config.js
diff options
context:
space:
mode:
authorMitchell Riedstra <mitch@riedstra.dev>2023-01-01 20:09:47 -0500
committerMitchell Riedstra <mitch@riedstra.dev>2023-01-01 20:09:47 -0500
commitb24748777294b3646e67c4b7e599e032ee1dfcf9 (patch)
treef30debd3dcdeca6d35fdb551a22ab94eb3b9c46d /ui/svelte.config.js
parentfa6f3d619e6051d508d9f40c601f77f9b05e1784 (diff)
downloadpaste-b24748777294b3646e67c4b7e599e032ee1dfcf9.tar.gz
paste-b24748777294b3646e67c4b7e599e032ee1dfcf9.tar.xz
Start of Svelte UI
Diffstat (limited to 'ui/svelte.config.js')
-rw-r--r--ui/svelte.config.js15
1 files changed, 15 insertions, 0 deletions
diff --git a/ui/svelte.config.js b/ui/svelte.config.js
new file mode 100644
index 0000000..87f198f
--- /dev/null
+++ b/ui/svelte.config.js
@@ -0,0 +1,15 @@
+import adapter from '@sveltejs/adapter-auto';
+import { vitePreprocess } from '@sveltejs/kit/vite';
+
+/** @type {import('@sveltejs/kit').Config} */
+const config = {
+ // Consult https://kit.svelte.dev/docs/integrations#preprocessors
+ // for more information about preprocessors
+ preprocess: vitePreprocess(),
+
+ kit: {
+ adapter: adapter()
+ }
+};
+
+export default config;