Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: bind scope to null to prevent issues with inline requires (#2972)
## Description - I've identified an issue with Metro's inlineRequires + experimentalImportSupport while building tree shaking support for Expo CLI. This issue causes an invalid invocation to be thrown because the scope of the build-in functions is not correct. - More info can be found here https://github.com/EvanBacon/inline-requires-issue <!-- Description and motivation for this PR. Include 'Fixes #<number>' if this is fixing some issue. --> ## Test plan - In my [repro](https://github.com/EvanBacon/inline-requires-issue) the bindings no longer throw. I've raised the issue with Metro team so we can create a system-wide fix, but this should prevent any issues in the meantime.
- Loading branch information