rspack
rspack copied to clipboard
[Bug]: `JsResolverFactory` should cache `Resolver` instance based on different options
Details
JsResolverFactory will now cache Resolver instance for each type(such as "normal") based on the options passed in the first invocation. We need to add these options into cache key's consideration.