Error object is missing the `missing` property in 5.0.0
I have a custom resolver that depends on the missing property of an error object returned in the callback after attempting to resolve a path. This was done so that I can attempt to do some further path correction (like globbing). In the latest version (5.0.0), the missing field has been removed from the error object.
Is this something that we could get back? Either in the error object or as some additional property so that we can see what paths were attempted for resolution?
~~No, it is breaking change, you should not rely on missing~~
You can get this info by passing a missingDependencies property to the resolveContext. It should be an object with an add method, e. g. a Set. During resolving all missing items will be added. There is also fileDependencies for files and the existence of directories and contextDependencies for the content of directories.
Answer above, my mistake, sorry, need to document