[ci] format
This commit is contained in:
parent
04e624d062
commit
f2dfdb7e73
1 changed files with 2 additions and 2 deletions
|
@ -139,7 +139,7 @@ export function vitePluginAnalyzer(internals: BuildInternals): VitePlugin {
|
||||||
const rid = c.resolvedPath ? decodeURI(c.resolvedPath) : c.specifier;
|
const rid = c.resolvedPath ? decodeURI(c.resolvedPath) : c.specifier;
|
||||||
if (internals.discoveredHydratedComponents.has(rid)) {
|
if (internals.discoveredHydratedComponents.has(rid)) {
|
||||||
const exportNames = internals.discoveredHydratedComponents.get(rid);
|
const exportNames = internals.discoveredHydratedComponents.get(rid);
|
||||||
exportNames?.push(c.exportName)
|
exportNames?.push(c.exportName);
|
||||||
} else {
|
} else {
|
||||||
internals.discoveredHydratedComponents.set(rid, [c.exportName]);
|
internals.discoveredHydratedComponents.set(rid, [c.exportName]);
|
||||||
}
|
}
|
||||||
|
@ -155,7 +155,7 @@ export function vitePluginAnalyzer(internals: BuildInternals): VitePlugin {
|
||||||
const cid = c.resolvedPath ? decodeURI(c.resolvedPath) : c.specifier;
|
const cid = c.resolvedPath ? decodeURI(c.resolvedPath) : c.specifier;
|
||||||
if (internals.discoveredClientOnlyComponents.has(cid)) {
|
if (internals.discoveredClientOnlyComponents.has(cid)) {
|
||||||
const exportNames = internals.discoveredClientOnlyComponents.get(cid);
|
const exportNames = internals.discoveredClientOnlyComponents.get(cid);
|
||||||
exportNames?.push(c.exportName)
|
exportNames?.push(c.exportName);
|
||||||
} else {
|
} else {
|
||||||
internals.discoveredClientOnlyComponents.set(cid, [c.exportName]);
|
internals.discoveredClientOnlyComponents.set(cid, [c.exportName]);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue