52f0837bde
* Vercel adapter default changes * Update .changeset/silly-dolphins-try.md Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * Fix tests * chore: correctly export `pageModule` when using `functionPerRoute` * Update .changeset/silly-dolphins-try.md Co-authored-by: Emanuele Stoppa <my.burning@gmail.com> * Update .changeset/silly-dolphins-try.md Co-authored-by: Emanuele Stoppa <my.burning@gmail.com> * Make throw be the entrypoint --------- Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
10 lines
259 B
JavaScript
10 lines
259 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'],
|
|
}),
|
|
output: 'server'
|
|
});
|