Skip to content

Support loaderContext.loadModule #3738

@h-a-n-a

Description

@h-a-n-a

What problem does this feature solve?

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.

https://webpack.js.org/api/loaders/#thisloadmodule

What does the proposed API of configuration look like?

See: https://webpack.js.org/api/loaders/#thisloadmodule

Metadata

Metadata

Assignees

No one assigned

    Labels

    PR welcomefeatNew feature or requestteamThe issue/pr is created by the member of Rspack.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions