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
Fixed wrong usage of require when resolving supportsCodegenConfig in react-native.config.js (#657)
* Fixed wrong usage of require when resolving supportsCodegenConfig
When resolving the version inside `react-native-config` which is used by the autolinking gradle tasks, the wrong use of require was used.
This fix changes from using `require.main.require` -> `require`.
The difference is that require.main.require resolves from the entry point (main script), while require resolves from the location of the current file.
* Codereview: Removed test for code gen alltogether
0 commit comments