Closed vpzomtrrfrt closed 2 years ago
Hi @vpzomtrrfrt, your changes inspired me to how to aproach the problem and I think I've fixed it at https://github.com/k-g-a/jest-node-exports-resolver/commit/900da2e7eac05090b569e5614bf0b6b6838443de, now conditions are properly enforced and work in (one of) my use cases. Can you update to version 1.1.3 and confirm that it works for you too? If not, please update your PR and I'll merge it :-)
Yes, the latest release appears to work
Yes, the latest release appears to work
Great, good to know :-)
See also https://github.com/facebook/jest/pull/11859
There's probably a better way to do this, but this works for my use case at least. Should fix #5