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
Currently in lib/util/import-target.js:273 we skip all errors as if it errors the package is not found.
However, we need to be able to display some of the errors as not all not found errors are equal!
Currently in
lib/util/import-target.js:273
we skip all errors as if it errors the package is not found.However, we need to be able to display some of the errors as not all not found errors are equal!
An example:
My file:
When resolving
missing
the error is:When resolving
misconfigured
the error is:In
node_modules/misconfigured/package.json
the following mistake was made:In order to resolve this, the
exports
should become:This is because
enhanced-resolve
explicitly throws an error here:https://github.com/webpack/enhanced-resolve/blob/main/lib/util/entrypoints.js#L475
I am not 100% sure why... but it is an error that we need to be able to display!
The text was updated successfully, but these errors were encountered: