Data object passed as argument when a function is set for 'externals'.

Hierarchy

  • ExternalItemFunctionData

Properties

context?: string

The directory in which the request is placed.

Contextual information.

dependencyType?: string

The category of the referencing dependencies.

getResolve?: ((options?) => ((context, request, callback) => void) | ((context, request) => Promise<string>))

Type declaration

    • (options?): ((context, request, callback) => void) | ((context, request) => Promise<string>)
    • Get a resolve function with the current resolver options.

      Parameters

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

request?: string

The request as written by the user in the require/import expression/statement.

Generated using TypeDoc