diff --git a/.changeset/smart-crabs-pump.md b/.changeset/smart-crabs-pump.md new file mode 100644 index 000000000..c6566ec04 --- /dev/null +++ b/.changeset/smart-crabs-pump.md @@ -0,0 +1,5 @@ +--- +'@astrojs/vercel': patch +--- + +Fixed #5120 diff --git a/packages/integrations/vercel/src/edge/adapter.ts b/packages/integrations/vercel/src/edge/adapter.ts index b1f2e8da4..fb1bcee27 100644 --- a/packages/integrations/vercel/src/edge/adapter.ts +++ b/packages/integrations/vercel/src/edge/adapter.ts @@ -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(`