diff options
Diffstat (limited to 'svelte.config.js')
| -rw-r--r-- | svelte.config.js | 22 |
1 files changed, 10 insertions, 12 deletions
diff --git a/svelte.config.js b/svelte.config.js index f18a338..23f07d2 100644 --- a/svelte.config.js +++ b/svelte.config.js @@ -1,17 +1,15 @@ -import { resolve } from 'path'; +import adapter from '@sveltejs/adapter-auto'; +import preprocess from 'svelte-preprocess'; /** @type {import('@sveltejs/kit').Config} */ -export default { - kit: { - // hydrate the <div id="forum"> element in src/app.html - target: '#forum', +const config = { + // Consult https://github.com/sveltejs/svelte-preprocess + // for more information about preprocessors + preprocess: preprocess(), - vite: { - resolve: { - alias: { - $: resolve('src') - } - } - } + kit: { + adapter: adapter() } }; + +export default config; |