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