On this page

Attributes
new NormalModuleFactory(): NormalModuleFactory
Attributes
context:<string>
hooks:
<Readonly> < <object> >
parserCache:<Map>
< <string> , <WeakMap> < <ParserOptions> , <ParserClass> >>
resolverFactory:<ResolverFactory>
ruleSet:<RuleSet>
cleanupForCache(): void
Returns:
{void}

create(data, callback): void
Attributes
Returns:
{void}

Processes the provided data.


createGenerator(type, generatorOptions?): void

Creates a generator.


createParser(type, parserOptions?): void

Creates a parser from the provided type.


getGenerator(type, generatorOptions?): void

Returns generator.


getParser(type, parserOptions?): void

Returns parser.


getResolver(type, resolveOptions?): ResolverWithOptions
Attributes

Returns the resolver.


resolveRequestArray(contextInfo, context, array, resolver, resolveContext, callback): void
Attributes
context:<string>
[]
resolveContext:<ResolveContext>
callback:
<CallbackWebpackFunction_1> < <LoaderItem> []>
Returns:
{void}

Resolves request array.


resolveResource(contextInfo, context, unresolvedResource, resolver, resolveContext, callback): void
Attributes
context:<string>
unresolvedResource:<string>
resolveContext:<ResolveContext>
callback:<object>
Returns:
{void}

Processes the provided context info.