mirror of
https://github.com/ProjectSegfault/website.git
synced 2024-12-22 21:19:51 +05:30
30 lines
531 B
JavaScript
30 lines
531 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;
|