X-Git-Url: https://git.r.bdr.sh/rbdr/forum/blobdiff_plain/010f307346e525ac2e4239a0549d2c1a4d6d102b..2ab71001d511b656f008316c08e09f89972028d8:/svelte.config.js?ds=inline diff --git a/svelte.config.js b/svelte.config.js index f18a338..892f0c4 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
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;