website/svelte.config.js
2022-07-06 14:48:06 +03:00

29 lines
542 B
JavaScript

import adapter from "@sveltejs/adapter-static";
import preprocess from "svelte-preprocess";
import { mdsvex } from "mdsvex";
/** @type {import('@sveltejs/kit').Config} */
const config = {
// Consult https://github.com/sveltejs/svelte-preprocess
// for more information about preprocessors
extensions: [".svelte", ".md"],
preprocess: [
preprocess(),
mdsvex({
extensions: [".md"],
layout: "./src/lib/MDsvexLayout.svelte"
})
],
kit: {
adapter: adapter(),
prerender: {
default: true
}
}
};
export default config;