MCPcopy Index your code
hub / github.com/rollup/rollup / includePath

Method includePath

src/ast/nodes/JSXIdentifier.ts:45–54  ·  view source on GitHub ↗
(path: ObjectPath, context: InclusionContext)

Source from the content-addressed store, hash-verified

43 }
44
45 includePath(path: ObjectPath, context: InclusionContext): void {
46 if (!this.included) {
47 this.included = true;
48 if (this.variable !== null) {
49 this.scope.context.includeVariableInModule(this.variable, path, context);
50 }
51 } else if (path.length > 0) {
52 this.variable?.includePath(path, context);
53 }
54 }
55
56 render(
57 code: MagicString,

Callers

nothing calls this directly

Calls 2

includePathMethod · 0.65

Tested by

no test coverage detected