mirror of
https://github.com/JonasunderscoreJones/wiki.jonasjones.dev.git
synced 2025-10-23 14:19:18 +02:00
Initial commit
This commit is contained in:
commit
09c002f1ae
25 changed files with 2255 additions and 0 deletions
23
svelte.config.js
Normal file
23
svelte.config.js
Normal file
|
@ -0,0 +1,23 @@
|
|||
//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;
|
Loading…
Add table
Add a link
Reference in a new issue