MCPcopy Create free account
hub / github.com/btd/rollup-plugin-visualizer / enqueue

Function enqueue

plugin/report.ts:87–91  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

85 if (chunk.type !== "chunk" || chunk.facadeModuleId == null) continue;
86 const queue: string[] = [];
87 const enqueue = (id: string) => {
88 if (visited.has(id)) return;
89 visited.add(id);
90 queue.push(id);
91 };
92 enqueue(chunk.facadeModuleId);
93 for (const id of queue) {
94 const info = options.getModuleInfo(id);

Callers 2

collectReportFunction · 0.85
addLinkFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected