Skip to content

Commit

Permalink
[ci] format
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewp authored and astrobot-houston committed Sep 9, 2022
1 parent b85d05a commit 07736f7
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packages/astro/src/core/build/vite-plugin-analyzer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,13 +97,12 @@ export function vitePluginAnalyzer(internals: BuildInternals): VitePlugin {
clientOnlys.push(cid);
// Bare module specifiers need to be resolved so that the CSS
// 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);
if(resolvedId) {
if (resolvedId) {
clientOnlys.push(resolvedId.id);
}
}

}

for (const [pageInfo] of getTopLevelPages(id, this)) {
Expand Down

0 comments on commit 07736f7

Please sign in to comment.