[ci] yarn format
This commit is contained in:
parent
7e0b32c569
commit
7555fc3789
1 changed files with 2 additions and 4 deletions
|
@ -37,13 +37,11 @@ function addPageName(pathname: string, opts: StaticBuildOptions): void {
|
|||
|
||||
// Determines of a Rollup chunk is an entrypoint page.
|
||||
function chunkIsPage(output: OutputAsset | OutputChunk, internals: BuildInternals) {
|
||||
if(output.type !== 'chunk') {
|
||||
if (output.type !== 'chunk') {
|
||||
return false;
|
||||
}
|
||||
const chunk = output as OutputChunk;
|
||||
return chunk.facadeModuleId &&
|
||||
(internals.entrySpecifierToBundleMap.has(chunk.facadeModuleId) ||
|
||||
internals.entrySpecifierToBundleMap.has('/' + chunk.facadeModuleId));
|
||||
return chunk.facadeModuleId && (internals.entrySpecifierToBundleMap.has(chunk.facadeModuleId) || internals.entrySpecifierToBundleMap.has('/' + chunk.facadeModuleId));
|
||||
}
|
||||
|
||||
export async function staticBuild(opts: StaticBuildOptions) {
|
||||
|
|
Loading…
Reference in a new issue