2022-06-18 21:56:58 +05:30
|
|
|
import adapter from "@sveltejs/adapter-static";
|
|
|
|
import preprocess from "svelte-preprocess";
|
|
|
|
import icons from "unplugin-icons/vite";
|
2022-02-28 23:42:33 +05:30
|
|
|
import { mdsvex } from "mdsvex";
|
|
|
|
|
|
|
|
/** @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
|
|
|
|
extensions: [".svelte", ".md"],
|
2022-02-28 23:42:33 +05:30
|
|
|
|
2022-06-18 00:22:07 +05:30
|
|
|
preprocess: [
|
|
|
|
preprocess(),
|
|
|
|
mdsvex({
|
|
|
|
extensions: [".md"],
|
2022-06-18 00:43:45 +05:30
|
|
|
layout: "./src/lib/content.svelte"
|
2022-06-18 00:22:07 +05:30
|
|
|
})
|
|
|
|
],
|
2022-02-28 23:42:33 +05:30
|
|
|
|
2022-06-18 00:22:07 +05:30
|
|
|
kit: {
|
|
|
|
adapter: adapter(),
|
2022-05-15 13:56:51 +05:30
|
|
|
|
2022-06-18 00:22:07 +05:30
|
|
|
vite: {
|
|
|
|
plugins: [
|
|
|
|
icons({
|
2022-06-18 21:56:58 +05:30
|
|
|
compiler: "svelte"
|
|
|
|
})
|
|
|
|
]
|
2022-06-18 00:22:07 +05:30
|
|
|
},
|
2022-06-18 21:56:58 +05:30
|
|
|
prerender: {
|
|
|
|
default: true
|
|
|
|
}
|
2022-06-18 00:22:07 +05:30
|
|
|
}
|
2022-02-28 23:42:33 +05:30
|
|
|
};
|
|
|
|
|
|
|
|
export default config;
|