website/svelte.config.js

29 lines
542 B
JavaScript
Raw Normal View History

import adapter from "@sveltejs/adapter-static";
import preprocess from "svelte-preprocess";
2022-07-02 22:53:41 +03:00
import { mdsvex } from "mdsvex";
2022-02-28 19:12:33 +01:00
/** @type {import('@sveltejs/kit').Config} */
const config = {
// Consult https://github.com/sveltejs/svelte-preprocess
// for more information about preprocessors
2022-07-02 22:53:41 +03:00
extensions: [".svelte", ".md"],
2022-02-28 19:12:33 +01:00
2022-07-02 22:53:41 +03:00
preprocess: [
preprocess(),
mdsvex({
extensions: [".md"],
layout: "./src/lib/MDsvexLayout.svelte"
})
],
2022-02-28 19:12:33 +01:00
kit: {
adapter: adapter(),
prerender: {
default: true
}
}
2022-02-28 19:12:33 +01:00
};
export default config;