DocuCenter/frontend/svelte.config.js
2024-12-12 10:37:37 -07:00

18 lines
441 B
JavaScript

import adapter from '@sveltejs/adapter-node'
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
/** @type {import('@sveltejs/kit').Config} */
const config = {
extensions: ['.svelte'],
// Consult https://kit.svelte.dev/docs/integrations#preprocessors
// for more information about preprocessors
preprocess: [vitePreprocess()],
kit: {
adapter: adapter(),
csrf: {
checkOrigin: false,
}
},
};
export default config;