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/svelte.config.js | |
| parent | 933e3b7e5a3a18a8c3f315f6c0d8c2375ceecb3c (diff) | |
| download | WRMS-c0c4bea988208f75fa4534b807a026de3f619eaf.tar.gz WRMS-c0c4bea988208f75fa4534b807a026de3f619eaf.zip | |
Switched from SvelteKit to Svelte
Diffstat (limited to 'web/svelte.config.js')
| -rw-r--r-- | web/svelte.config.js | 24 |
1 files changed, 4 insertions, 20 deletions
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; |
