mirror of
https://github.com/ProjectSegfault/website.git
synced 2024-11-08 17:12:24 +05:30
05b68bbc26
Signed-off-by: Alex J <odyssey346@disroot.org>
32 lines
537 B
JavaScript
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;
|