Closed
Description
Regarding this page.
I noticed webpack allows plugins in the resolve
config (resolve.plugins
). So I assumed these kind of plugins are defined as per the documentation found here.
However, this page gives absolutely no information at all about creating a "resolver" or how to go about implementing one. It mentions what methods a resolver has access to and should use, but not how to create one.
It would be of great use if there was at least a linked example, or the boilerplate of such a plugin.
Edit: Removed second issue, as it was a scoping problem on my end.