In the next diff, we add some packages that use newer JS features: BigInt literals (eg. 0n), numeric separators (eg. 1_000), and named capture groups in RegExp.
This diff adds support for those features to our Babel setup on native.
Differential D13702
[native] Add Babel plugins to transform crypto packages on React Native ashoat on Oct 13 2024, 2:01 PM. Authored by Tags None Referenced Files
Subscribers
Details In the next diff, we add some packages that use newer JS features: BigInt literals (eg. 0n), numeric separators (eg. 1_000), and named capture groups in RegExp. This diff adds support for those features to our Babel setup on native. Tested in combination with the next diff
Diff Detail
Event Timeline
Comment Actions One more change. I was seeing this React Native issue, and found this GitHub comment from a Metro maintainer on a separate thread. They ended up making this change upstream to resolve the issue, so in this revision I'm adding a patch to do the same thing |