From c0c4bea988208f75fa4534b807a026de3f619eaf Mon Sep 17 00:00:00 2001 From: gammelalf Date: Wed, 25 Jan 2023 21:22:38 +0100 Subject: Switched from SvelteKit to Svelte --- web/svelte.config.js | 24 ++++-------------------- 1 file changed, 4 insertions(+), 20 deletions(-) (limited to 'web/svelte.config.js') diff --git a/web/svelte.config.js b/web/svelte.config.js index 8c8f77b..c6e1140 100644 --- a/web/svelte.config.js +++ b/web/svelte.config.js @@ -1,23 +1,7 @@ -import adapter from '@sveltejs/adapter-static'; -import { vitePreprocess } from '@sveltejs/kit/vite'; +import { vitePreprocess } from '@sveltejs/vite-plugin-svelte'; -/** @type {import('@sveltejs/kit').Config} */ -const config = { - // Consult https://kit.svelte.dev/docs/integrations#preprocessors +export default { + // Consult https://svelte.dev/docs#compile-time-svelte-preprocess // for more information about preprocessors - preprocess: vitePreprocess(), - - kit: { - adapter: adapter({ - // default options are shown. On some platforms - // these options are set automatically — see below - pages: 'build', - assets: 'build', - fallback: null, - precompress: false, - strict: true - }) - } + preprocess: vitePreprocess() }; - -export default config; -- cgit v1.2.3