website/svelte.config.js

36 lines
616 B
JavaScript
Raw Normal View History

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 = {
// Consult https://github.com/sveltejs/svelte-preprocess
// for more information about preprocessors
extensions: [".svelte", ".md"],
2022-02-28 23:42:33 +05:30
preprocess: [
preprocess(),
mdsvex({
2022-06-22 12:27:47 +05:30
extensions: [".md"]
})
],
2022-02-28 23:42:33 +05:30
kit: {
adapter: adapter(),
vite: {
plugins: [
icons({
compiler: "svelte"
})
]
},
prerender: {
default: true
}
}
2022-02-28 23:42:33 +05:30
};
export default config;