aboutsummaryrefslogtreecommitdiff
path: root/web/ui/svelte.config.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/ui/svelte.config.js')
-rw-r--r--web/ui/svelte.config.js15
1 files changed, 15 insertions, 0 deletions
diff --git a/web/ui/svelte.config.js b/web/ui/svelte.config.js
new file mode 100644
index 0000000..139266d
--- /dev/null
+++ b/web/ui/svelte.config.js
@@ -0,0 +1,15 @@
+import adapter from '@sveltejs/adapter-node';
+import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
+
+/** @type {import('@sveltejs/kit').Config} */
+const config = {
+ preprocess: vitePreprocess(),
+ kit: {
+ adapter: adapter(),
+ alias: {
+ $lib: 'src/lib'
+ }
+ }
+};
+
+export default config;