class webpack.AsyncDependenciesBlock extends DependenciesBlocknew AsyncDependenciesBlock(groupOptions, loc?, request?): AsyncDependenciesBlockAttributes
groupOptions:
string | GroupOptionsAsyncDependenciesBlock | nulloptions for the group
loc:
SyntheticDependencyLocation | RealDependencyLocation | nullthe line of code
request:
string | nullthe request
Returns:
AsyncDependenciesBlockAttributes
blocks:
AsyncDependenciesBlock[]chunkName:
string | nullcircular:
booleandependencies:
Dependency[]groupOptions:
GroupOptionsAsyncDependenciesBlockloc:
SyntheticDependencyLocation | RealDependencyLocation | nullmodule:
anyparent:
DependenciesBlockrequest:
string | nulladdBlock(block): voidAttributes
block:
AsyncDependenciesBlockReturns:
voidAdds a DependencyBlock to DependencyBlock relationship. This is used for when a Module has a AsyncDependencyBlock tie (for code-splitting)
addDependency(dependency): voidAttributes
dependency:
DependencyReturns:
voidAdds the provided dependency to the dependencies block.
clearDependenciesAndBlocks(): voidReturns:
voidClear dependencies and blocks.
deserialize(objectDeserializerContext): voidAttributes
objectDeserializerContext:
ObjectDeserializerContextReturns:
voidRestores this instance from the provided deserializer context.
getRootBlock(): DependenciesBlockReturns:
DependenciesBlockremoveDependency(dependency): voidAttributes
dependency:
DependencyReturns:
voidRemoves dependency.
serialize(objectSerializerContext): voidAttributes
objectSerializerContext:
ObjectSerializerContextReturns:
voidSerializes this instance into the provided serializer context.
updateHash(hash, context): voidAttributes
Updates the hash with the data contributed by this instance.
Type:
RawChunkGroupOptions & { name?: null | string } & { entryOptions?: EntryOptions } & { circular?: boolean }Attributes
name:
null | stringAttributes
entryOptions:
EntryOptionsAttributes
circular:
boolean