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
Node.js package conditional imports should take the entries under the first matching tag and ignore all subsequent tags. This is hinted with the express advice that default must appear last if present.
Steps to reproduce
Create a bundle from a package that has conditional exports e.g., endo and default and note that default wins.
Expected behavior
The first match (node in the example) should win.
The text was updated successfully, but these errors were encountered:
Describe the bug
Node.js package conditional imports should take the entries under the first matching tag and ignore all subsequent tags. This is hinted with the express advice that
default
must appear last if present.Steps to reproduce
Create a bundle from a package that has conditional exports e.g.,
endo
anddefault
and note thatdefault
wins.Expected behavior
The first match (
node
in the example) should win.The text was updated successfully, but these errors were encountered: