diff options
| author | gammelalf <gammelalf@hopfen.space> | 2023-01-25 21:22:38 +0100 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2023-02-24 12:47:40 +0100 |
| commit | c0c4bea988208f75fa4534b807a026de3f619eaf (patch) | |
| tree | 5e46b190f877ce4af8a6134c9f33a05c120a94c3 /web/vite.config.ts | |
| parent | 933e3b7e5a3a18a8c3f315f6c0d8c2375ceecb3c (diff) | |
| download | WRMS-c0c4bea988208f75fa4534b807a026de3f619eaf.tar.gz WRMS-c0c4bea988208f75fa4534b807a026de3f619eaf.zip | |
Switched from SvelteKit to Svelte
Diffstat (limited to 'web/vite.config.ts')
| -rw-r--r-- | web/vite.config.ts | 13 |
1 files changed, 6 insertions, 7 deletions
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()] +}); |
