On this page

new ExportInfo(): ExportInfo
Returns:<ExportInfo>
Attributes
canMangle:<boolean>
canMangleProvide:<boolean>
true: it can be mangled false: is can not be mangled undefined: it was not determined if it can be mangled
canMangleUse:<boolean>
true: it can be mangled false: is can not be mangled undefined: it was not determined if it can be mangled
exportsInfo:<ExportsInfo>
exportsInfoOwned:<boolean>
provided:<boolean> | <null>
true: it is provided false: it is not provided null: only the runtime knows if it is provided undefined: it was not determined if it is provided
terminalBinding:<boolean>
is the export a terminal binding that should be checked for export star conflicts
createNestedExportsInfo(): ExportsInfo

Creates a nested exports info.


findTarget(moduleGraph, validTargetModuleFilter): false | TargetItemWithoutConnection | null | undefined
Attributes
moduleGraph:<ModuleGraph>
validTargetModuleFilter:<Function>

Returns the target, undefined when there is no target, false when no target is valid.


getNestedExportsInfo(): ExportsInfo | undefined

getProvidedInfo(): "provided" | "no provided info" | "maybe provided (runtime-defined)" | "not provided"
Returns:
<"provided"> | <"no provided info"> | <"maybe provided (runtime-defined)"> | <"not provided">

getRenameInfo(): string
Returns:<string>

getTarget(moduleGraph, resolveTargetFilter?): TargetItemWithConnection | undefined
Attributes
moduleGraph:<ModuleGraph>
resolveTargetFilter:<Function>

Returns the target.


getTerminalBinding(moduleGraph, resolveTargetFilter?): ExportsInfo | ExportInfo | undefined
Attributes
moduleGraph:<ModuleGraph>
resolveTargetFilter:<Function>

Gets terminal binding.


getUsed(runtime): UsageStateType
Attributes

Returns usage state.


getUsedInfo(): string
Returns:<string>

getUsedName(fallbackName, runtime): string | false
Attributes
fallbackName:<string> | <undefined>
Returns:<string> | <false>

Returns used name.


hasInfo(baseInfo, runtime): boolean
Attributes
baseInfo:<ExportInfo>
Returns:<boolean>

Checks whether this export info contains the base info.


hasUsedName(): boolean
Returns:<boolean>

Checks whether this export info has used name.


isReexport(): boolean | undefined

moveTarget(moduleGraph, resolveTargetFilter, updateOriginalConnection?): TargetItemWithConnection | undefined
Attributes
moduleGraph:<ModuleGraph>
resolveTargetFilter:<Function>
updateOriginalConnection:<Function>

Move the target forward as long resolveTargetFilter is fulfilled


setHasProvideInfo(): void
Returns:<void>

setHasUseInfo(): void
Returns:<void>

setTarget(key, connection, exportName?, priority?): boolean
Attributes
exportName:<string>
[] | <null>
priority:<number>
Returns:<boolean>

Updates target using the provided key.


setUsed(newValue, runtime): boolean
Attributes

Updates used using the provided new value.


setUsedConditionally(condition, newValue, runtime): boolean
Attributes
condition:<Function>
Returns:<boolean>

Sets used conditionally.


setUsedInUnknownWay(runtime): boolean
Attributes
Returns:<boolean>

Sets used in unknown way.


setUsedName(name): void
Attributes
Returns:<void>

Updates used name using the provided name.


setUsedWithoutInfo(runtime): boolean
Attributes
Returns:<boolean>

Sets used without info.


unsetTarget(key): boolean
Attributes

Returns true, if something has changed.


updateHash(hash, runtime): void
Attributes
hash:<Hash>
Returns:<void>

Updates the hash with the data contributed by this instance.

Attributes
export:<string>
[]
module:<Module>

Attributes
deferred:<boolean>
export:<string>
[]
module:<Module>