-
-
Notifications
You must be signed in to change notification settings - Fork 592
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[node-resolve]: Support "browser" field external mappings #472
Comments
This is very much needed. |
@volkanunsal we'd happily review a pull request that fulfilled this request |
Hey folks. This issue hasn't received any traction for 60 days, so we're going to close this for housekeeping. If this is still an ongoing issue, please do consider contributing a Pull Request to resolve it. Further discussion is always welcome even with the issue closed. If anything actionable is posted in the comments, we'll consider reopening it. ⓘ |
I'm going to reopen this one as it seems like an important omission in the default resolution behaviour unless I've missed that it's been addressed already. |
I looked at the source code to potentially provide a patch for it, but the resolution algorithm is so convoluted and written in an idiosyncratic way. I can't make head or tail of it. |
Hey folks. This issue hasn't received any traction for 60 days, so we're going to close this for housekeeping. If this is still an ongoing issue, please do consider contributing a Pull Request to resolve it. Further discussion is always welcome even with the issue closed. If anything actionable is posted in the comments, we'll consider reopening it. ⓘ |
Feature Use Case
The package.json
"browser"
field supports external mappings of the form:For example see https://github.com/sodium-friends/sodium-universal/blob/master/package.json#L14
Feature Proposal
By default the node-resolve plugin is currently handling these as local package paths instead of external resolutions as they should be.
The text was updated successfully, but these errors were encountered: