2022-11-10 00:12:34 +05:30
|
|
|
import adapter from "@sveltejs/adapter-node";
|
2022-06-18 21:56:58 +05:30
|
|
|
import preprocess from "svelte-preprocess";
|
2022-07-03 01:23:41 +05:30
|
|
|
import { mdsvex } from "mdsvex";
|
2022-02-28 23:42:33 +05:30
|
|
|
|
|
|
|
/** @type {import('@sveltejs/kit').Config} */
|
|
|
|
const config = {
|
2022-06-18 00:22:07 +05:30
|
|
|
// Consult https://github.com/sveltejs/svelte-preprocess
|
|
|
|
// for more information about preprocessors
|
2022-07-03 01:23:41 +05:30
|
|
|
extensions: [".svelte", ".md"],
|
2022-02-28 23:42:33 +05:30
|
|
|
|
2022-07-03 01:23:41 +05:30
|
|
|
preprocess: [
|
|
|
|
preprocess(),
|
|
|
|
mdsvex({
|
2023-01-01 17:57:24 +05:30
|
|
|
extensions: [".md"]
|
2022-07-03 01:23:41 +05:30
|
|
|
})
|
|
|
|
],
|
2022-02-28 23:42:33 +05:30
|
|
|
|
2022-06-18 00:22:07 +05:30
|
|
|
kit: {
|
2022-12-31 23:55:09 +05:30
|
|
|
adapter: adapter(),
|
|
|
|
csrf: {
|
|
|
|
checkOrigin: false
|
|
|
|
}
|
2022-06-18 00:22:07 +05:30
|
|
|
}
|
2022-02-28 23:42:33 +05:30
|
|
|
};
|
|
|
|
|
|
|
|
export default config;
|