diff options
author | 2022-09-09 18:54:10 +0000 | |
---|---|---|
committer | 2022-09-09 18:54:10 +0000 | |
commit | 07736f74c0ca0f8eee522271f163297676190d56 (patch) | |
tree | e0e30b73a5ec957869930353173c20f6e7669d7d | |
parent | b85d05a841538b6a995808b6422b234f3e746804 (diff) | |
download | astro-07736f74c0ca0f8eee522271f163297676190d56.tar.gz astro-07736f74c0ca0f8eee522271f163297676190d56.tar.zst astro-07736f74c0ca0f8eee522271f163297676190d56.zip |
[ci] format
-rw-r--r-- | packages/astro/src/core/build/vite-plugin-analyzer.ts | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/packages/astro/src/core/build/vite-plugin-analyzer.ts b/packages/astro/src/core/build/vite-plugin-analyzer.ts index faa252bef..65da4fd0f 100644 --- a/packages/astro/src/core/build/vite-plugin-analyzer.ts +++ b/packages/astro/src/core/build/vite-plugin-analyzer.ts @@ -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)) { |