24 lines
571 B
JavaScript
24 lines
571 B
JavaScript
import preprocess from "svelte-preprocess";
|
|
import adapter from '@sveltejs/adapter-vercel';
|
|
import { vitePreprocess } from '@sveltejs/kit/vite';
|
|
import {markdown} from 'svelte-preprocess-markdown';
|
|
|
|
/** @type {import('@sveltejs/kit').Config} */
|
|
const config = {
|
|
// Consult https://kit.svelte.dev/docs/integrations#preprocessors
|
|
// for more information about preprocessors
|
|
preprocess: [vitePreprocess(), preprocess({
|
|
postcss: true
|
|
}),
|
|
markdown()
|
|
],
|
|
|
|
kit: {
|
|
adapter: adapter({
|
|
runtime: 'nodejs18.x'
|
|
})
|
|
}
|
|
};
|
|
|
|
export default config;
|