refactor: use global setting for Vercel Edge runtime

This commit is contained in:
2023-02-15 12:20:58 +01:00
parent 80ff4b2195
commit 51090bb4d9
17 changed files with 4 additions and 50 deletions

View File

@@ -1,5 +1,5 @@
import preprocess from 'svelte-preprocess'
import adapter from '@sveltejs/adapter-auto'
import adapter from '@sveltejs/adapter-vercel'
import { fileURLToPath } from 'url'
import { dirname } from 'path'
@@ -17,7 +17,9 @@ const config = {
}),
kit: {
adapter: adapter(),
adapter: adapter({
runtime: 'edge',
}),
alias: {
$components: 'src/components',
$animations: 'src/animations',