diff --git a/package.json b/package.json index a05f287..db1d619 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,6 @@ "@playwright/test": "^1.23.2", "@rgossiaux/svelte-headlessui": "1.0.2", "@sveltejs/adapter-auto": "next", - "@sveltejs/adapter-vercel": "next", "@sveltejs/kit": "next", "@types/cookie": "^0.5.1", "@types/node": "^17.0.45", diff --git a/svelte.config.js b/svelte.config.js index 7052181..d6f36f5 100644 --- a/svelte.config.js +++ b/svelte.config.js @@ -1,4 +1,4 @@ -import vercel from '@sveltejs/adapter-vercel'; +import adapter from '@sveltejs/adapter-auto'; import preprocess from 'svelte-preprocess'; /** @type {import('@sveltejs/kit').Config} */ @@ -7,20 +7,7 @@ const config = { // for more information about preprocessors preprocess: preprocess(), kit: { - adapter: vercel({ - // if true, will deploy the app using edge functions - // (https://vercel.com/docs/concepts/functions/edge-functions) - // rather than serverless functions - edge: false, - - // an array of dependencies that esbuild should treat - // as external when bundling functions - external: [], - - // if true, will split your app into multiple functions - // instead of creating a single one for the entire app - split: false - }), + adapter: adapter(), alias: { $components: 'src/components', $root: './src'