From c596c6c995ebfb2b005ca5f902fa498fffbcb50a Mon Sep 17 00:00:00 2001 From: bholmesdev Date: Wed, 1 Feb 2023 22:18:03 +0000 Subject: [PATCH] [ci] format --- packages/integrations/vercel/src/edge/adapter.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/integrations/vercel/src/edge/adapter.ts b/packages/integrations/vercel/src/edge/adapter.ts index 4193681d2..3f38a074e 100644 --- a/packages/integrations/vercel/src/edge/adapter.ts +++ b/packages/integrations/vercel/src/edge/adapter.ts @@ -75,16 +75,16 @@ export default function vercelEdge({ includeFiles = [] }: VercelEdgeConfig = {}) } } - vite.ssr ||= {}; - vite.ssr.target ||= 'webworker'; + vite.ssr ||= {}; + vite.ssr.target ||= 'webworker'; } }, 'astro:build:done': async ({ routes }) => { const entry = new URL(serverEntry, buildTempFolder); const generatedFiles = await getFilesFromFolder(buildTempFolder); - const entryPath = fileURLToPath(entry); + const entryPath = fileURLToPath(entry); - await esbuild.build({ + await esbuild.build({ target: 'es2020', platform: 'browser', entryPoints: [entryPath],