On this page

These types are not exported by webpack, but they are available to TypeScript consumers.

Attributes
context:<string>
the directory in which the request is placed
contextInfo:
{ModuleFactoryCreateDataContextInfo} contextual information
dependencyType:<string>
the category of the referencing dependency
getResolve:<object>
get a resolve function with the current resolver options
request:<string>
the request as written by the user in the require/import expression/statement

If an dependency matches exactly a property of the object, the property value is used as dependency.

Attributes
byLayer:<object> | <object>
Specify externals depending on the layer.

If an dependency matches exactly a property of the object, the property value is used as dependency.




Attributes
Returns:
{void}

Attributes
Returns:<object> | <object>

Attributes
context:<string>
request:<string>
callback:<object>
Returns:
{void}

Attributes
context:<string>
request:<string>
Returns:
{Promise }

Attributes
Returns:
{Promise }