mirror of
https://github.com/JonasunderscoreJones/blog.jonasjones.dev.git
synced 2025-10-23 00:09:18 +02:00
24 lines
574 B
JavaScript
24 lines
574 B
JavaScript
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte'
|
|
import adapter from '@sveltejs/adapter-cloudflare';
|
|
|
|
export default {
|
|
// Consult https://svelte.dev/docs#compile-time-svelte-preprocess
|
|
// for more information about preprocessors
|
|
preprocess: vitePreprocess(),
|
|
|
|
kit: {
|
|
adapter: adapter({
|
|
// See below for an explanation of these options
|
|
routes: {
|
|
include: ['/*'],
|
|
exclude: ['<all>']
|
|
},
|
|
platformProxy: {
|
|
configPath: 'wrangler.toml',
|
|
environment: undefined,
|
|
experimentalJsonConfig: false,
|
|
persist: false
|
|
}
|
|
})
|
|
}
|
|
}
|