0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-23 21:53:55 -05:00

fix(vercel): fixed regression #5120 (#5127)

This commit is contained in:
Juan Martín Seery 2022-10-19 15:24:26 -03:00 committed by GitHub
parent 850cc19fda
commit fad25aef2f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View file

@ -0,0 +1,5 @@
---
'@astrojs/vercel': patch
---
Fixed #5120

View file

@ -47,7 +47,6 @@ export default function vercelEdge({ includeFiles = [] }: VercelEdgeConfig = {})
buildTempFolder = config.build.server;
functionFolder = new URL('./functions/render.func/', config.outDir);
serverEntry = config.build.serverEntry;
functionFolder = config.build.server;
if (config.output === 'static') {
throw new Error(`