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

Method constructor

plugin/module-mapper.ts:40–40  ·  view source on GitHub ↗
(private projectRoot: string | RegExp)

Source from the content-addressed store, hash-verified

38 private counter: number = 0;
39
40 constructor(private projectRoot: string | RegExp) {}
41
42 trimProjectRootId(moduleId: string): string {
43 if (typeof this.projectRoot === "string" && moduleId.startsWith(this.projectRoot)) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected