DocuCenter/frontend/svelte.config.js

18 lines
441 B
JavaScript
Raw Normal View History

2024-12-12 10:37:37 -07:00
import adapter from '@sveltejs/adapter-node'
2024-12-10 16:32:44 -07:00
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: {
2024-12-12 10:37:37 -07:00
adapter: adapter(),
csrf: {
checkOrigin: false,
}
},
2024-12-10 16:32:44 -07:00
};
export default config;