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

Method setNodeMeta

plugin/module-mapper.ts:101–105  ·  view source on GitHub ↗
(moduleId: string, value: { isEntry?: boolean; isExternal?: boolean })

Source from the content-addressed store, hash-verified

99 }
100
101 setNodeMeta(moduleId: string, value: { isEntry?: boolean; isExternal?: boolean }): void {
102 this.getModuleUid(moduleId);
103 this.nodeMetas[moduleId].meta.isEntry = value.isEntry;
104 this.nodeMetas[moduleId].meta.isExternal = value.isExternal;
105 }
106
107 hasNodePart(bundleId: string, moduleId: string): boolean {
108 if (!(moduleId in this.nodeMetas)) {

Callers 2

generateBundleFunction · 0.95
addLinksFunction · 0.80

Calls 1

getModuleUidMethod · 0.95

Tested by

no test coverage detected