mirror of
https://github.com/JonasunderscoreJones/blog.jonasjones.dev.git
synced 2025-10-23 03:19:19 +02:00
Added adapter-cloudflare
This commit is contained in:
parent
68f6de3e11
commit
657d8f1ca8
5 changed files with 1438 additions and 5 deletions
|
@ -1,7 +1,24 @@
|
|||
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
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue