From 757790f4e82a9894300b29d2468c19ef65dc1e1f Mon Sep 17 00:00:00 2001 From: matthewp Date: Wed, 4 May 2022 12:28:33 +0000 Subject: [PATCH] [ci] format --- packages/astro/src/core/build/static-build.ts | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/packages/astro/src/core/build/static-build.ts b/packages/astro/src/core/build/static-build.ts index a5f4d102b..2884174f4 100644 --- a/packages/astro/src/core/build/static-build.ts +++ b/packages/astro/src/core/build/static-build.ts @@ -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`));