forked from ProjectSegfault/website
36 lines
616 B
JavaScript
36 lines
616 B
JavaScript
import adapter from "@sveltejs/adapter-static";
|
|
import preprocess from "svelte-preprocess";
|
|
import icons from "unplugin-icons/vite";
|
|
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"]
|
|
})
|
|
],
|
|
|
|
kit: {
|
|
adapter: adapter(),
|
|
|
|
vite: {
|
|
plugins: [
|
|
icons({
|
|
compiler: "svelte"
|
|
})
|
|
]
|
|
},
|
|
prerender: {
|
|
default: true
|
|
}
|
|
}
|
|
};
|
|
|
|
export default config;
|