Files
Lazuli/svelte.config.js

23 lines
812 B
JavaScript
Raw Normal View History

2024-02-19 11:06:36 -05:00
import adapter from '@sveltejs/adapter-auto'
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte'
2024-01-21 20:28:37 -05:00
/** @type {import('@sveltejs/kit').Config} */
const config = {
2024-02-19 11:06:36 -05:00
// Consult https://kit.svelte.dev/docs/integrations#preprocessors
// for more information about preprocessors
preprocess: vitePreprocess(),
2024-01-21 20:28:37 -05:00
2024-02-19 11:06:36 -05:00
kit: {
// adapter-auto only supports some environments, see https://kit.svelte.dev/docs/adapter-auto for a list.
// If your environment is not supported or you settled on a specific environment, switch out the adapter.
// See https://kit.svelte.dev/docs/adapters for more information about adapters.
adapter: adapter(),
csrf: {
// REMOVE THIS WHEN SHIPPING
checkOrigin: false,
},
},
}
2024-01-21 20:28:37 -05:00
2024-02-19 11:06:36 -05:00
export default config