2023-01-05 13:59:59 +01:00
|
|
|
import preprocess from 'svelte-preprocess';
|
2023-01-06 10:50:58 +01:00
|
|
|
import adapter from '@sveltejs/adapter-cloudflare';
|
2023-01-05 13:59:59 +01:00
|
|
|
import { vitePreprocess } from '@sveltejs/kit/vite';
|
|
|
|
|
|
|
|
/** @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
|
|
|
|
})
|
|
|
|
],
|
|
|
|
|
|
|
|
kit: {
|
|
|
|
adapter: adapter()
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
|
|
|
export default config;
|