maybe fixed cf again

This commit is contained in:
J-onasJones 2024-06-07 00:57:14 +02:00
parent 29213cb510
commit 6df7c8932a

View file

@ -1,12 +1,10 @@
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte' import preprocess from 'svelte-preprocess';
import adapter from '@sveltejs/adapter-cloudflare'; import cloudflare from '@sveltejs/adapter-cloudflare';
export default { export default {
// Consult https://svelte.dev/docs#compile-time-svelte-preprocess preprocess: preprocess(),
// for more information about preprocessors
preprocess: vitePreprocess(),
kit: { kit: {
adapter: adapter(), adapter: cloudflare(),
} target: '#svelte' // Ensure this matches your target in `src/app.html`
} }
};