feat: switch to Cloudflare Pages
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
"lint": "eslint ."
|
||||
},
|
||||
"dependencies": {
|
||||
"@studio-freight/lenis": "^1.0.14",
|
||||
"@studio-freight/lenis": "^1.0.15",
|
||||
"classix": "^2.1.32",
|
||||
"dayjs": "^1.11.8",
|
||||
"embla-carousel": "^7.1.0",
|
||||
@@ -29,7 +29,7 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@sveltejs/adapter-auto": "^2.1.0",
|
||||
"@sveltejs/adapter-vercel": "^3.0.1",
|
||||
"@sveltejs/adapter-cloudflare": "^2.3.0",
|
||||
"@sveltejs/kit": "^1.20.2",
|
||||
"@typescript-eslint/eslint-plugin": "^5.59.9",
|
||||
"@typescript-eslint/parser": "^5.59.9",
|
||||
|
||||
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user