These properties are added by the LoaderPlugin

Hierarchy

  • LoaderPluginLoaderContext

Methods

  • Parameters

    • request: string
    • options: ImportModuleOptions
    • callback: ((err?, exports?) => any)
        • (err?, exports?): any
        • Parameters

          • Optional err: null | Error
          • Optional exports: any

          Returns any

    Returns void

  • Parameters

    Returns Promise<any>

  • Resolves the given request to a module, applies all configured loaders and calls back with the generated source, the sourceMap and the module instance (usually an instance of NormalModule). Use this function if you need to know the source code of another module to generate the result.

    Parameters

    • request: string
    • callback: ((err, source, sourceMap, module) => void)
        • (err, source, sourceMap, module): void
        • Parameters

          • err: null | Error
          • source: string
          • sourceMap: any
          • module: NormalModule

          Returns void

    Returns void

Generated using TypeDoc