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
When resolving dependencies (both bundled and externalized), we also add a node export condition (like this).
Doing this, basically breaks dual build for packages like uncrypto because they assume node is for Node.js only but it is also necessary to use node condition always because (sadly) many libraries in npm ecosystem still consider node ==== server. We need to be cautious how to approach this but also eventually push the ecosystem and common libs to use a better condition
Example for vue-router conditions:
The text was updated successfully, but these errors were encountered:
When resolving dependencies (both bundled and externalized), we also add a
node
export condition (like this).Doing this, basically breaks dual build for packages like
uncrypto
because they assume node is for Node.js only but it is also necessary to usenode
condition always because (sadly) many libraries in npm ecosystem still considernode ==== server
. We need to be cautious how to approach this but also eventually push the ecosystem and common libs to use a better conditionExample for vue-router conditions:
The text was updated successfully, but these errors were encountered: