[ci] format
This commit is contained in:
parent
b236b5cc8e
commit
c596c6c995
1 changed files with 4 additions and 4 deletions
|
@ -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],
|
||||||
|
|
Loading…
Reference in a new issue