mirror of
https://github.com/danbulant/design
synced 2026-05-19 04:08:46 +00:00
22 lines
474 B
JavaScript
22 lines
474 B
JavaScript
import adapter from '@sveltejs/adapter-static';
|
|
import { mdsvexrs } from 'mdsvexrs'
|
|
|
|
/** @type {import('@sveltejs/kit').Config} */
|
|
const config = {
|
|
kit: {
|
|
adapter: adapter({
|
|
precompress: true
|
|
}),
|
|
prerender: {
|
|
origin: "https://danbulant.eu",
|
|
handleMissingId: "warn"
|
|
}
|
|
},
|
|
extensions: ['.svelte', '.md'],
|
|
|
|
preprocess: [
|
|
mdsvexrs({ layout: "$lib/layouts/post.svelte", customTags: ['a'] })
|
|
]
|
|
};
|
|
|
|
export default config;
|