-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Description
Feature to document
From https://webpack.js.org/api/loaders/:
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.
NormalModule
links to the source, but it's difficult to figure out what some of this does, and which parts plugin authors can rely on. module.buildInfo
seems very useful, for instance.
I don't know when this feature was introduced.
Author(s)
I don't know who introduced this feature.
Additional information
[ ] I am willing to work on this issue and submit a pull request.
Sorry, I don't really know how it works, so I can't document it.