new HarmonyExportImportedSpecifierDependency(request, sourceOrder, phase?, attributes?): HarmonyExportImportedSpecifierDependencyCreates an instance of HarmonyImportDependency.
activeExports{Set< string >}allStarExports<null>attributes{Record< string, string >}category<string>Returns a dependency category, typical categories are "commonjs", "amd", "esm".disconnect<any>exportPresenceMode{ExportPresenceMode}id{void} Returns id.ids<string[]>loc<DependencyLocation>Returns location.module<any>name<string>|<null>optional<boolean>otherStarExports<HarmonyExportImportedSpecifierDependency[]>|<null>phase<ImportPhaseType>range{Tuple< number, number >}request<string>sourceOrder<number>type<string>Returns a display name for the type of dependency.userRequest<string>weak<boolean>ExportPresenceModes<object>EXPORTS_OBJECT_REFERENCED{string[][]}getNonOptionalPart<object>NO_EXPORTS_REFERENCED{string[][]}Template<HarmonyImportDependencyTemplate>TRANSITIVE<symbol>
canConcatenate(): boolean<boolean>Returns true if this dependency can be concatenated
couldAffectReferencingModule(): boolean | symbolCould affect referencing module.
createIgnoredModule(context): Module<string><Module>Creates an ignored module.
deserialize(__namedParameters): void<ObjectDeserializerContext>Restores this instance from the provided deserializer context.
getCondition(moduleGraph): object | null<ModuleGraph>Returns function to determine if the connection is active.
getContext(): string | undefined<string>
|
<undefined>Returns a request context.
getErrors(moduleGraph): WebpackError[] | null | undefined<ModuleGraph><WebpackError[]>
|
<null>
|
<undefined>Returns errors.
getExports(moduleGraph): ExportsSpec | undefined<ModuleGraph><ExportsSpec>
|
<undefined>Returns the exported names
getId(): voidReturns id.
getIds(moduleGraph): string[]<ModuleGraph><string[]>Returns the imported id.
getImportStatement(update, __namedParameters): Tuple< string, string ><boolean><DependencyTemplateContext>Gets import statement.
getImportVar(moduleGraph): string<ModuleGraph><string>Returns name of the variable for the import.
getLinkingErrors(moduleGraph, ids, additionalMessage): WebpackError[] | undefined<WebpackError[]>
|
<undefined>Gets linking errors.
getMode(moduleGraph, runtime): ExportMode<ModuleGraph><RuntimeSpec><ExportMode>Returns the export mode.
getModuleEvaluationSideEffectsState(moduleGraph): ConnectionState<ModuleGraph><ConnectionState>Gets module evaluation side effects state.
getModuleExports(__namedParameters): string<DependencyTemplateContext><string>Gets module exports.
getNumberOfIdOccurrences(): number<number>implement this method to allow the occurrence order plugin to count correctly
getReference(moduleGraph): never<ModuleGraph>Returns the referenced module and export
getReferencedExports(moduleGraph, runtime): string[] | ReferencedExport[]<ModuleGraph><RuntimeSpec><string[]>
|
<ReferencedExport[]>Returns list of exports referenced by this dependency
getResourceIdentifier(): string | nullReturns an identifier to merge equal requests.
getStarReexports(moduleGraph, runtime, exportsInfo?, importedModule?): object<object>Gets star reexports.
getWarnings(moduleGraph): WebpackError[] | null | undefined<ModuleGraph><WebpackError[]>
|
<null>
|
<undefined>Returns warnings.
serialize(__namedParameters): void<ObjectSerializerContext>Serializes this instance into the provided serializer context.
setId(): voidUpdates id.
setIds(moduleGraph, ids): void<ModuleGraph><string[]>Updates ids using the provided module graph.
setLoc(startLine, startColumn, endLine, endColumn): voidUpdates loc using the provided start line.
updateHash(hash, context): void<Hash><UpdateHashContextDependency>Updates the hash with the data contributed by this instance.
<Dependency><boolean>Returns true if the dependency can be concatenated (scope hoisting).
<Dependency><boolean>Returns true if the dependency is a low priority dependency.