ein-pfeil-am-rechten-fleck.de/svelte.config.js

22 lines
765 B
JavaScript
Raw Normal View History

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 = {
// Consult https://kit.svelte.dev/docs/integrations#preprocessors
2021-05-15 18:27:05 +02:00
// for more information about preprocessors
preprocess: vitePreprocess(),
2021-05-15 18:27:05 +02:00
kit: {
// 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;