On this page

class webpack.AsyncDependenciesBlock extends DependenciesBlock
new AsyncDependenciesBlock(groupOptions, loc?, request?): AsyncDependenciesBlock
Attributes
Attributes
addBlock(block): void
Attributes

Adds a DependencyBlock to DependencyBlock relationship. This is used for when a Module has a AsyncDependencyBlock tie (for code-splitting)


addDependency(dependency): void
Attributes
dependency:<Dependency>
Returns:<void>

Adds the provided dependency to the dependencies block.


clearDependenciesAndBlocks(): void
Returns:<void>

Clear dependencies and blocks.


deserialize(__namedParameters): void
Attributes
__namedParameters:<ObjectDeserializerContext>
Returns:<void>

Restores this instance from the provided deserializer context.


getRootBlock(): DependenciesBlock
Returns:
{DependenciesBlock}

removeDependency(dependency): void
Attributes
dependency:<Dependency>
Returns:<void>

Removes dependency.


serialize(__namedParameters): void
Attributes
__namedParameters:<ObjectSerializerContext>
Returns:<void>

Serializes this instance into the provided serializer context.


updateHash(hash, context): void
Attributes

Updates the hash with the data contributed by this instance.