migrate to svelte5 partially

This commit is contained in:
Alexander Daichendt 2024-12-11 12:52:12 +01:00
parent 82150df591
commit 38065f6d7d
15 changed files with 3881 additions and 5433 deletions

View file

@ -1,5 +1,5 @@
import adapter from '@sveltejs/adapter-cloudflare';
import preprocess from 'svelte-preprocess';
import { sveltePreprocess } from 'svelte-preprocess';
import autoprefixer from 'autoprefixer';
import cssNormalizer from 'postcss-normalize';
import { mdsvex } from 'mdsvex';
@ -12,7 +12,7 @@ const config = {
// Consult https://github.com/sveltejs/svelte-preprocess
// for more information about preprocessors
preprocess: [
preprocess({ postcss: { plugins: [autoprefixer, cssNormalizer()] } }),
sveltePreprocess({ postcss: { plugins: [autoprefixer, cssNormalizer()] } }),
mdsvex(mdsvexconfig),
],