Remove vercel adapter since not using any vercel specific things.

This commit is contained in:
Bradley Shellnut 2022-07-07 15:56:15 -07:00
parent b84604bece
commit e65520a33b
2 changed files with 2 additions and 16 deletions

View file

@ -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",

View file

@ -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'