Closed mweststrate closed 1 year ago
Totals | |
---|---|
Change from base Build 4929177933: | 0.0% |
Covered Lines: | 646 |
Relevant Lines: | 647 |
It looks like RN 0.72 will help with this by finally supporting exports
properly, but yeah, this might be necessary to support the rest of the ecosystem until they catch up:
Looking at https://facebook.github.io/metro/docs/package-exports/ , it sounds like Metro currently looks for "react-native"
, "browser"
, and "main"
:
I see that Immer actually does list "react-native"
. The Redux packages don't, but do list "main"
, and in our current Redux betas, I am pointing "main"
to that similar legacy-esm.js
file. So, I think we've got the same net result.
:tada: This PR is included in version 10.0.3 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
Totals | |
---|---|
Change from base Build 4929177933: | 0.0% |
Covered Lines: | 646 |
Relevant Lines: | 647 |
pre-published as immer@10.0.3-beta