Use Vercel Edge Functions
This commit is contained in:
@@ -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({
|
||||
edge: true
|
||||
}),
|
||||
alias: {
|
||||
$components: 'src/components',
|
||||
$animations: 'src/animations',
|
||||
|
||||
Reference in New Issue
Block a user