2023-03-25 22:05:28 +01:00
|
|
|
import adapter from "@sveltejs/adapter-vercel";
|
|
|
|
|
import { vitePreprocess } from "@sveltejs/kit/vite";
|
2021-05-15 18:27:05 +02:00
|
|
|
|
2021-05-15 19:58:18 +02:00
|
|
|
/** @type {import('@sveltejs/kit').Config} */
|
2021-05-15 18:27:05 +02:00
|
|
|
const config = {
|
2023-03-25 22:05:28 +01:00
|
|
|
// Consult https://kit.svelte.dev/docs/integrations#preprocessors
|
2021-05-15 18:27:05 +02:00
|
|
|
// for more information about preprocessors
|
2023-03-25 22:05:28 +01:00
|
|
|
preprocess: vitePreprocess(),
|
2021-05-15 18:27:05 +02:00
|
|
|
|
|
|
|
|
kit: {
|
2023-03-25 22:05:28 +01:00
|
|
|
// adapter-auto only supports some environments, see https://kit.svelte.dev/docs/adapter-auto for a list.
|
|
|
|
|
// If your environment is not supported or you settled on a specific environment, switch out the adapter.
|
|
|
|
|
// See https://kit.svelte.dev/docs/adapters for more information about adapters.
|
|
|
|
|
adapter: adapter(),
|
2023-03-27 23:33:24 +02:00
|
|
|
|
|
|
|
|
// Only got one page, css is blocking FCP
|
|
|
|
|
inlineStyleThreshold: Infinity,
|
2021-05-15 18:27:05 +02:00
|
|
|
},
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export default config;
|