On this page

class webpack.ContextModuleFactory extends ModuleFactory

Represents the module factory runtime component.

new ContextModuleFactory(): ContextModuleFactory
Attributes
resolverFactory:ResolverFactory
create(data, callback): void
Attributes
callback:(err?: Error | null, result?: ModuleFactoryResult) => void
Returns:void

Processes the provided data.


resolveDependencies(fs, options, callback): void
Attributes
callback:(err: Error | null, dependencies?: ContextElementDependency[]) => void
Returns:void

Resolves dependencies.

afterResolve(afterContextResolveData): AfterContextResolveData
Attributes
afterContextResolveData:AfterContextResolveData
alternativeRequests(arg0, contextModuleOptions): ContextAlternativeRequest[]
Attributes
Returns:void
beforeResolve(beforeContextResolveData): BeforeContextResolveData
Attributes
beforeContextResolveData:BeforeContextResolveData
contextModuleFiles(arg0): string[]
Attributes
arg0:string[]
Returns:string[]
Attributes
context:string
request:string