Skip to main content
webpack / ExternalItemFunctionData

Interface: ExternalItemFunctionData

Defined in: webpack/types.d.ts:5625

Properties

context

context: string
Defined in: webpack/types.d.ts:5629 the directory in which the request is placed

contextInfo

contextInfo: ModuleFactoryCreateDataContextInfo
Defined in: webpack/types.d.ts:5634 contextual information

dependencyType

dependencyType: string
Defined in: webpack/types.d.ts:5639 the category of the referencing dependency

getResolve()

getResolve: (options?) => (context, request, callback) => void | (context, request) => Promise<string>
Defined in: webpack/types.d.ts:5644 get a resolve function with the current resolver options

Parameters

options?
ResolveOptions

Returns

(context, request, callback) => void | (context, request) => Promise<string>

request

request: string
Defined in: webpack/types.d.ts:5661 the request as written by the user in the require/import expression/statement