diff options
| author | Ruben Beltran del Rio <ruben@unlimited.pizza> | 2021-06-28 23:38:23 +0200 |
|---|---|---|
| committer | Ruben Beltran del Rio <ruben@unlimited.pizza> | 2021-06-28 23:38:23 +0200 |
| commit | 010f307346e525ac2e4239a0549d2c1a4d6d102b (patch) | |
| tree | 7cfb25c82de6ac3dcf24f17f795e09ec8255b00b /svelte.config.js | |
| parent | fb76052a02708a8fafa310d99d7d7b403b4b7ad8 (diff) | |
Update sveltekit versionmaster
Diffstat (limited to 'svelte.config.js')
| -rw-r--r-- | svelte.config.js | 17 |
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') + } + } + } + } +}; |