summaryrefslogtreecommitdiff
path: root/packages/integrations/vercel/src/serverless/adapter.ts
blob: 1c12f611a9b6ed5b0dbb31acf28fe0b5bf12e850 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
import type { AstroIntegration } from 'astro';
import type { VercelServerlessConfig } from '../index.js';
import vercelIntegration from '../index.js';

export default function serverless(config: VercelServerlessConfig): AstroIntegration {
	console.warn(
		'The "@astrojs/vercel/serverless" import is deprecated and will be removed in a future release. Please import from "@astrojs/vercel" instead.',
	);
	return vercelIntegration(config);
}