feat: switch to Cloudflare Pages

This commit is contained in:
2023-06-12 15:31:47 +02:00
parent fb21015f99
commit fb55126682
4 changed files with 86 additions and 106 deletions

View File

@@ -1,5 +1,5 @@
import preprocess from 'svelte-preprocess'
import adapter from '@sveltejs/adapter-vercel'
import adapter from '@sveltejs/adapter-cloudflare'
import { fileURLToPath } from 'url'
import { dirname } from 'path'
@@ -18,7 +18,10 @@ const config = {
kit: {
adapter: adapter({
runtime: 'edge',
routes: {
include: ['/*'],
exclude: ['<all>']
}
}),
alias: {
$components: 'src/components',