Class ExportsInfo Abstract
Accessors
exports
orderedExports
orderedOwnedExports
otherExportsInfo
ownedExports
Methods
getExportInfo
Parameters
getNestedExportsInfo
- getNestedExportsInfo(name?: string[]): undefined | ExportsInfo
Parameters
getOwnExportInfo
Parameters
getProvidedExports
- getProvidedExports(): null | true | string[]
Returns null | true | string[]
getReadOnlyExportInfo
Parameters
getReadOnlyExportInfoRecursive
- getReadOnlyExportInfoRecursive(name: string[]): undefined | ExportInfo
Parameters
getRelevantExports
Parameters
getRestoreProvidedData
- getRestoreProvidedData(): any
Returns any
getUsageKey
Parameters
Returns string
getUsed
Parameters
getUsedExports
Parameters
Returns null | boolean | SortableSet<string>
getUsedName
- getUsedName(name: string | string[], runtime: RuntimeSpec): string | false | string[]
Parameters
Returns string | false | string[]
isEquallyUsed
Parameters
Returns boolean
isExportProvided
- isExportProvided(name: string | string[]): undefined | null | boolean
Parameters
Returns undefined | null | boolean
isModuleUsed
Parameters
Returns boolean
isUsed
Parameters
Returns boolean
restoreProvided
- restoreProvided(__namedParameters: { exports: any; otherCanMangleProvide: any; otherProvided: any; otherTerminalBinding: any }): void
Parameters
__namedParameters: { exports: any; otherCanMangleProvide: any; otherProvided: any; otherTerminalBinding: any }
exports: any
otherCanMangleProvide: any
otherProvided: any
otherTerminalBinding: any
Returns void
setAllKnownExportsUsed
Parameters
Returns boolean
setHasProvideInfo
- setHasProvideInfo(): void
Returns void
setHasUseInfo
Returns void
setRedirectNamedTo
- setRedirectNamedTo(exportsInfo?: any): boolean
Parameters
Optional exportsInfo: any
Returns boolean
setUnknownExportsProvided
- setUnknownExportsProvided(canMangle?: boolean, excludeExports?: Set<string>, targetKey?: any, targetModule?: ModuleGraphConnection, priority?: number): boolean
Parameters
Optional canMangle: boolean
Optional excludeExports: Set<string>
Optional targetKey: any
Optional priority: number
Returns boolean
setUsedForSideEffectsOnly
- setUsedForSideEffectsOnly(runtime: RuntimeSpec): boolean
Parameters
Returns boolean
setUsedInUnknownWay
Parameters
Returns boolean
setUsedWithoutInfo
Parameters
Returns boolean
updateHash
Parameters
Returns void