Skip to content

Latest commit

 

History

History
 
 

adapter-vercel

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

adapter-vercel

A SvelteKit adapter that creates a Vercel app.

If you're using adapter-auto, you don't need to install this unless you need to specify Vercel-specific options, since it's already included.

Usage

Add "@sveltejs/adapter-vercel": "next" to the devDependencies in your package.json and run npm install.

Then in your svelte.config.js:

import vercel from '@sveltejs/adapter-vercel';

export default {
	kit: {
		...
		adapter: vercel(options)
	}
};

Options

You can pass an options argument, if necessary, with the following:

  • external — an array of dependencies that esbuild should treat as external

Changelog

The Changelog for this package is available on GitHub.