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 am looking for a way to more closely mimic the nodejs resolution as in both eslint-community/eslint-plugin-n#182 and eslint-community/eslint-plugin-n#242 we have packages that don't correctly implement the exports order. However, they do resolve correctly when called in either import or require.
I am looking for a way to more closely mimic the nodejs resolution as in both eslint-community/eslint-plugin-n#182 and eslint-community/eslint-plugin-n#242 we have packages that don't correctly implement the exports order. However, they do resolve correctly when called in either import or require.
Can you provide an example, I want to investigate, thank you
I am looking for a way to more closely mimic the nodejs resolution as in both eslint-community/eslint-plugin-n#182 and eslint-community/eslint-plugin-n#242 we have packages that don't correctly implement the exports order. However, they do resolve correctly when called in either
import
orrequire
.When debugging this initially I discoved the error was throw here: https://github.com/webpack/enhanced-resolve/blob/main/lib/util/entrypoints.js#L474-L476
What I am hoping for is that we can (via a passed in option) disable the throw?
I am very willing to submit code if that would help!
The text was updated successfully, but these errors were encountered: