website/svelte.config.js
Alex J dc41d4b47c ok akis
Signed-off-by: Alex J <odyssey346@disroot.org>
2022-06-17 21:13:45 +02:00

34 lines
621 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"],
layout: "./src/lib/content.svelte"
})
],
kit: {
adapter: adapter(),
vite: {
plugins: [
icons({
compiler: 'svelte',
}),
],
},
}
};
export default config;