[ci] format

This commit is contained in:
bholmesdev 2023-02-01 22:18:03 +00:00 committed by fredkbot
parent b236b5cc8e
commit c596c6c995

View file

@ -75,16 +75,16 @@ export default function vercelEdge({ includeFiles = [] }: VercelEdgeConfig = {})
} }
} }
vite.ssr ||= {}; vite.ssr ||= {};
vite.ssr.target ||= 'webworker'; vite.ssr.target ||= 'webworker';
} }
}, },
'astro:build:done': async ({ routes }) => { 'astro:build:done': async ({ routes }) => {
const entry = new URL(serverEntry, buildTempFolder); const entry = new URL(serverEntry, buildTempFolder);
const generatedFiles = await getFilesFromFolder(buildTempFolder); const generatedFiles = await getFilesFromFolder(buildTempFolder);
const entryPath = fileURLToPath(entry); const entryPath = fileURLToPath(entry);
await esbuild.build({ await esbuild.build({
target: 'es2020', target: 'es2020',
platform: 'browser', platform: 'browser',
entryPoints: [entryPath], entryPoints: [entryPath],