mirror of
https://github.com/ProjectSegfault/website.git
synced 2024-12-22 13:09:49 +05:30
28 lines
539 B
JavaScript
28 lines
539 B
JavaScript
import adapter from "@sveltejs/adapter-node";
|
|
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(),
|
|
csrf: {
|
|
checkOrigin: false
|
|
}
|
|
}
|
|
};
|
|
|
|
export default config;
|