[ci] format

This commit is contained in:
matthewp 2022-05-04 12:28:33 +00:00 committed by github-actions[bot]
parent e5f6de4edb
commit 757790f4e8

View file

@ -167,7 +167,12 @@ async function ssrBuild(opts: StaticBuildOptions, internals: BuildInternals, inp
resolve: viteConfig.resolve,
} as ViteConfigWithSSR;
await runHookBuildSetup({ config: astroConfig, pages: internals.pagesByComponent, vite: viteBuildConfig, target: 'server' });
await runHookBuildSetup({
config: astroConfig,
pages: internals.pagesByComponent,
vite: viteBuildConfig,
target: 'server',
});
// TODO: use vite.mergeConfig() here?
return await vite.build(viteBuildConfig);
@ -232,7 +237,12 @@ async function clientBuild(
base: astroConfig.base,
} as ViteConfigWithSSR;
await runHookBuildSetup({ config: astroConfig, pages: internals.pagesByComponent, vite: viteBuildConfig, target: 'client' });
await runHookBuildSetup({
config: astroConfig,
pages: internals.pagesByComponent,
vite: viteBuildConfig,
target: 'client',
});
const buildResult = await vite.build(viteBuildConfig);
info(opts.logging, null, dim(`Completed in ${getTimeStat(timer, performance.now())}.\n`));