[ci] format
This commit is contained in:
parent
2314eba9a4
commit
75f4c17e4c
2 changed files with 4 additions and 4 deletions
|
@ -166,7 +166,7 @@ export async function staticBuild(opts: StaticBuildOptions) {
|
||||||
emptyDir(astroConfig.dist, new Set('.git'));
|
emptyDir(astroConfig.dist, new Set('.git'));
|
||||||
|
|
||||||
// Build your project (SSR application code, assets, client JS, etc.)
|
// Build your project (SSR application code, assets, client JS, etc.)
|
||||||
const ssrResult = await ssrBuild(opts, internals, pageInput) as RollupOutput;
|
const ssrResult = (await ssrBuild(opts, internals, pageInput)) as RollupOutput;
|
||||||
await clientBuild(opts, internals, jsInput);
|
await clientBuild(opts, internals, jsInput);
|
||||||
|
|
||||||
// SSG mode, generate pages.
|
// SSG mode, generate pages.
|
||||||
|
@ -305,7 +305,7 @@ async function generatePages(result: RollupOutput, opts: StaticBuildOptions, int
|
||||||
|
|
||||||
for (let output of result.output) {
|
for (let output of result.output) {
|
||||||
if (chunkIsPage(opts.astroConfig, output, internals)) {
|
if (chunkIsPage(opts.astroConfig, output, internals)) {
|
||||||
await (generatePage(output as OutputChunk, opts, internals, facadeIdToPageDataMap, renderers));
|
await generatePage(output as OutputChunk, opts, internals, facadeIdToPageDataMap, renderers);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue