website/svelte.config.js
2024-04-23 22:43:13 +10:00

23 lines
458 B
JavaScript

import adapter from '@sveltejs/adapter-static';
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
import { mdsvex } from "mdsvex";
/** @type {import('@sveltejs/kit').Config} */
export default {
kit: {
adapter: adapter({
pages: 'build',
assets: 'build',
fallback: undefined,
precompress: false,
strict: true
})
},
extensions: [".svelte", ".md"],
preprocess: [
vitePreprocess(),
mdsvex({ extensions: [".md"] })
]
};