cv-site/svelte.config.js

27 lines
626 B
JavaScript
Raw Normal View History

2021-10-04 18:24:20 +02:00
import adapter from '@sveltejs/adapter-static';
2022-04-18 15:36:18 +02:00
import { vitePreprocess } from '@sveltejs/kit/vite';
2021-10-04 18:24:20 +02:00
import {markdown} from 'svelte-preprocess-markdown';
2022-04-18 15:36:18 +02:00
import preprocess from 'svelte-preprocess';
2021-10-02 14:29:49 +02:00
/** @type {import('@sveltejs/kit').Config} */
const config = {
2022-04-18 15:36:18 +02:00
// Consult https://kit.svelte.dev/docs/integrations#preprocessors
2021-10-02 14:29:49 +02:00
// for more information about preprocessors
2022-04-18 15:36:18 +02:00
preprocess: [vitePreprocess(), markdown(),preprocess({
sass: true,
typescript: true,
})],
2021-10-02 14:29:49 +02:00
kit: {
2021-10-04 18:24:20 +02:00
adapter: adapter({
// default options are shown
pages: 'build',
assets: 'build',
fallback: null
2022-04-18 15:36:18 +02:00
})
2021-10-02 14:29:49 +02:00
}
};
export default config;