cv-site/svelte.config.js

22 lines
530 B
JavaScript
Raw Normal View History

2023-01-17 21:35:04 +01:00
import adapter from '@sveltejs/adapter-auto';
import { vitePreprocess } from '@sveltejs/kit/vite';
2021-10-04 18:24:20 +02:00
import {markdown} from 'svelte-preprocess-markdown';
2023-01-17 21:35:04 +01:00
import preprocess from 'svelte-preprocess';
2021-10-02 14:29:49 +02:00
/** @type {import('@sveltejs/kit').Config} */
const config = {
2023-01-17 21:35:04 +01:00
// Consult https://kit.svelte.dev/docs/integrations#preprocessors
2021-10-02 14:29:49 +02:00
// for more information about preprocessors
2023-01-17 21:35:04 +01:00
preprocess: [vitePreprocess(), markdown(),preprocess({
sass: true,
2023-01-22 01:17:22 +01:00
typescript: true,
2023-01-17 21:35:04 +01:00
})],
2021-10-02 14:29:49 +02:00
kit: {
2023-01-17 21:35:04 +01:00
adapter: adapter()
2021-10-02 14:29:49 +02:00
}
};
export default config;