[ci] format

This commit is contained in:
matthewp 2022-09-09 18:54:10 +00:00 committed by fredkbot
parent b85d05a841
commit 07736f74c0

View file

@ -97,13 +97,12 @@ export function vitePluginAnalyzer(internals: BuildInternals): VitePlugin {
clientOnlys.push(cid); clientOnlys.push(cid);
// Bare module specifiers need to be resolved so that the CSS // Bare module specifiers need to be resolved so that the CSS
// plugin can walk up the graph to find which page they belong to. // plugin can walk up the graph to find which page they belong to.
if(c.resolvedPath === c.specifier) { if (c.resolvedPath === c.specifier) {
const resolvedId = await this.resolve(c.specifier, id); const resolvedId = await this.resolve(c.specifier, id);
if(resolvedId) { if (resolvedId) {
clientOnlys.push(resolvedId.id); clientOnlys.push(resolvedId.id);
} }
} }
} }
for (const [pageInfo] of getTopLevelPages(id, this)) { for (const [pageInfo] of getTopLevelPages(id, this)) {