new ModuleDependency(request, sourceOrder?): ModuleDependency<ModuleDependency>Creates an instance of ModuleDependency.
<string><any><any><boolean><string><number><string><string><boolean><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): undefined<ModuleGraph><undefined>Returns the exported names
getModuleEvaluationSideEffectsState(moduleGraph): ConnectionState<ModuleGraph>Gets module evaluation side effects state.
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[]<ModuleGraph><string[]>Returns list of exports referenced by this dependency
getResourceIdentifier(): string | nullReturns an identifier to merge equal requests.
getWarnings(moduleGraph): WebpackError[] | null | undefined<ModuleGraph><WebpackError[]>
|
<null>
|
<undefined>Returns warnings.
serialize(__namedParameters): void<ObjectSerializerContext>Serializes this instance into the provided serializer context.
setLoc(startLine, startColumn, endLine, endColumn): voidUpdates loc using the provided start line.
updateHash(hash, context): voidhash{Hash}context{UpdateHashContextDependency}- Returns: {void}
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.