MCPcopy
hub / github.com/rollup/rollup / includeVariableInModule

Method includeVariableInModule

src/Module.ts:1444–1454  ·  view source on GitHub ↗
(
		variable: Variable,
		path: ObjectPath,
		context: InclusionContext
	)

Source from the content-addressed store, hash-verified

1442 }
1443
1444 private includeVariableInModule(
1445 variable: Variable,
1446 path: ObjectPath,
1447 context: InclusionContext
1448 ): void {
1449 this.includeVariable(variable, path, context);
1450 const variableModule = variable.module;
1451 if (variableModule && variableModule !== this) {
1452 this.includedImports.add(variable);
1453 }
1454 }
1455
1456 private shimMissingExport(name: string): void {
1457 this.options.onLog(LOGLEVEL_WARN, logShimmedExport(this.id, name));

Callers 15

includeMemberPathMethod · 0.80
includePathMethod · 0.80
includeNodeMethod · 0.80
includePathMethod · 0.80
includeNodeMethod · 0.80
includeMethod · 0.80
includeNodeMethod · 0.80
includePathMethod · 0.80
includeMethod · 0.80

Calls 2

includeVariableMethod · 0.95
addMethod · 0.80

Tested by

no test coverage detected