2022-06-18 19:26:58 +03:00
|
|
|
import adapter from "@sveltejs/adapter-static";
|
|
|
|
import preprocess from "svelte-preprocess";
|
|
|
|
import icons from "unplugin-icons/vite";
|
2022-02-28 19:12:33 +01:00
|
|
|
|
|
|
|
/** @type {import('@sveltejs/kit').Config} */
|
|
|
|
const config = {
|
2022-06-17 21:52:07 +03:00
|
|
|
// Consult https://github.com/sveltejs/svelte-preprocess
|
|
|
|
// for more information about preprocessors
|
2022-06-22 18:58:15 +02:00
|
|
|
extensions: [".svelte"],
|
2022-02-28 19:12:33 +01:00
|
|
|
|
2022-06-24 19:02:23 +03:00
|
|
|
preprocess: [preprocess()],
|
2022-02-28 19:12:33 +01:00
|
|
|
|
2022-06-17 21:52:07 +03:00
|
|
|
kit: {
|
|
|
|
adapter: adapter(),
|
2022-05-15 10:26:51 +02:00
|
|
|
|
2022-06-17 21:52:07 +03:00
|
|
|
vite: {
|
|
|
|
plugins: [
|
|
|
|
icons({
|
2022-06-18 19:26:58 +03:00
|
|
|
compiler: "svelte"
|
|
|
|
})
|
|
|
|
]
|
2022-06-17 21:52:07 +03:00
|
|
|
},
|
2022-06-18 19:26:58 +03:00
|
|
|
prerender: {
|
|
|
|
default: true
|
|
|
|
}
|
2022-06-17 21:52:07 +03:00
|
|
|
}
|
2022-02-28 19:12:33 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
export default config;
|