cv-site/svelte.config.js
Gianmarco Pettinato 1669eeff4d
All checks were successful
continuous-integration/drone Build is passing
new theme done
2023-05-27 15:43:52 +02:00

27 lines
626 B
JavaScript

import adapter from '@sveltejs/adapter-static';
import { vitePreprocess } from '@sveltejs/kit/vite';
import {markdown} from 'svelte-preprocess-markdown';
import preprocess from 'svelte-preprocess';
/** @type {import('@sveltejs/kit').Config} */
const config = {
// Consult https://kit.svelte.dev/docs/integrations#preprocessors
// for more information about preprocessors
preprocess: [vitePreprocess(), markdown(),preprocess({
sass: true,
typescript: true,
})],
kit: {
adapter: adapter({
// default options are shown
pages: 'build',
assets: 'build',
fallback: null
})
}
};
export default config;