b79e11f3c4
* Change functionPerRoute to false by default * Update test that depends on functionPerRoute * Update .changeset/cool-pianos-smell.md Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * Update .changeset/cool-pianos-smell.md Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * Update packages/integrations/vercel/README.md Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * Update packages/integrations/vercel/README.md Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * Update .changeset/cool-pianos-smell.md --------- Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
11 lines
285 B
JavaScript
11 lines
285 B
JavaScript
import { defineConfig } from 'astro/config';
|
|
import vercel from '@astrojs/vercel/serverless';
|
|
|
|
export default defineConfig({
|
|
adapter: vercel({
|
|
// Pass some value to make sure it doesn't error out
|
|
includeFiles: ['included.js'],
|
|
functionPerRoute: true,
|
|
}),
|
|
output: 'server'
|
|
});
|