getDependencyUsedByExportsCondition(dependency, moduleGraph): null | false | ((moduleGraphConnection: ModuleGraphConnection, runtime: RuntimeSpec) => ConnectionState)Attributes
dependency:
Dependencythe dependency
moduleGraph:
ModuleGraphmoduleGraph
Returns:
null | false | ((moduleGraphConnection: ModuleGraphConnection, runtime: RuntimeSpec) => ConnectionState)function to determine if the connection is active
Returns dependency condition
getInnerGraphUtils(compilation): InnerGraphUtilsAttributes
compilation:
Compilationthe compilation
Returns:
InnerGraphUtilsutils
Returns the InnerGraph utils scoped to a single compilation.
Type:
unique symbolUsage callback map.
Attributes
addUsage:
(parserState: ParserState, symbol: TopLevelSymbol | null, usage: Usage) => voidaddVariableUsage:
(parser: JavascriptParser, name: string, usage: Usage) => voidbailout:
(parserState: ParserState) => voidenable:
(parserState: ParserState) => voidgetTopLevelSymbol:
(parserState: ParserState) => void | TopLevelSymbolisEnabled:
(parserState: ParserState) => booleansetTopLevelSymbol:
(parserState: ParserState, symbol?: TopLevelSymbol) => voidtagTopLevelSymbol:
(parser: JavascriptParser, name: string, pure?: boolean | ((compilation: Compilation, module: Module) => boolean)) => TopLevelSymbol | undefinedType:
string | true | TopLevelSymbol