mirror of
https://github.com/JonasunderscoreJones/wiki.jonasjones.dev.git
synced 2025-10-22 22:09:17 +02:00
23 lines
720 B
JavaScript
23 lines
720 B
JavaScript
//import adapter from '@sveltejs/adapter-auto';
|
|
import sveltePreprocess from 'svelte-preprocess';
|
|
import adapter from '@sveltejs/adapter-cloudflare';
|
|
import { mdsvex } from 'mdsvex';
|
|
|
|
/** @type {import('@sveltejs/kit').Config} */
|
|
const config = {
|
|
kit: {
|
|
// adapter-auto only supports some environments, see https://kit.svelte.dev/docs/adapter-auto for a list.
|
|
// If your environment is not supported or you settled on a specific environment, switch out the adapter.
|
|
// See https://kit.svelte.dev/docs/adapters for more information about adapters.
|
|
adapter: adapter()
|
|
},
|
|
extensions: ['.svelte', '.md'],
|
|
preprocess: [
|
|
sveltePreprocess(),
|
|
mdsvex({
|
|
extensions: ['.md']
|
|
})
|
|
]
|
|
};
|
|
|
|
export default config;
|