cv-site/svelte.config.js

27 lines
626 B
JavaScript
Raw Normal View History

2023-01-22 21:08:50 +01:00
import adapter from '@sveltejs/adapter-static';
2023-01-17 21:35:04 +01:00
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-22 21:08:50 +01:00
adapter: adapter({
// default options are shown
pages: 'build',
assets: 'build',
fallback: null
})
2021-10-02 14:29:49 +02:00
}
};
export default config;