webcompile/svelte.config.js
Alex J 05b68bbc26 Remove mdsex
Signed-off-by: Alex J <odyssey346@disroot.org>
2022-06-22 18:58:15 +02:00

32 lines
537 B
JavaScript

import adapter from "@sveltejs/adapter-static";
import preprocess from "svelte-preprocess";
import icons from "unplugin-icons/vite";
/** @type {import('@sveltejs/kit').Config} */
const config = {
// Consult https://github.com/sveltejs/svelte-preprocess
// for more information about preprocessors
extensions: [".svelte"],
preprocess: [
preprocess(),
],
kit: {
adapter: adapter(),
vite: {
plugins: [
icons({
compiler: "svelte"
})
]
},
prerender: {
default: true
}
}
};
export default config;