mirror of
https://github.com/LukeHagar/vercel.git
synced 2025-12-09 12:57:46 +00:00
18 lines
446 B
JavaScript
18 lines
446 B
JavaScript
import { defineConfig } from 'astro/config';
|
|
// Use Vercel Edge Functions (Recommended)
|
|
import vercel from '@astrojs/vercel/edge';
|
|
// Can also use Serverless Functions
|
|
// import vercel from '@astrojs/vercel/serverless';
|
|
// Or a completely static build
|
|
// import vercel from '@astrojs/vercel/static';
|
|
|
|
export default defineConfig({
|
|
output: 'server',
|
|
experimental: {
|
|
assets: true
|
|
},
|
|
adapter: vercel({
|
|
imageService: true,
|
|
}),
|
|
});
|