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/vite.config.ts | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'web/vite.config.ts') diff --git a/web/vite.config.ts b/web/vite.config.ts index 1695034..5e75b6c 100644 --- a/web/vite.config.ts +++ b/web/vite.config.ts @@ -1,8 +1,7 @@ -import { sveltekit } from '@sveltejs/kit/vite'; -import type { UserConfig } from 'vite'; +import { defineConfig } from 'vite'; +import { svelte } from '@sveltejs/vite-plugin-svelte'; -const config: UserConfig = { - plugins: [sveltekit()] -}; - -export default config; +// https://vitejs.dev/config/ +export default defineConfig({ + plugins: [svelte()] +}); -- cgit v1.2.3