You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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.
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), themissing
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?
The text was updated successfully, but these errors were encountered: