Switch to adapter-auto

This commit is contained in:
2022-12-25 17:01:46 +01:00
parent ff243d19a4
commit 19e18c4b2a

View File

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