Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[template] Fix hermes command not found on monorepo (#15154)
# Why when hermes is enabled, react-native uses a fixed path to search hermes related command: https://github.com/facebook/react-native/blob/6df04ae6668275d8c3231ddf290d72b45a32d2d4/react.gradle#L38-L46 this fixed path breaks monorepo support. # How passing node resolved path. since react.gradle will do some normalization and path like `package.json/../%OS-BIN%/hermesc` is not supported. the fix uses a slightly different solution to get the absolute path. # Test Plan https://gitlab.com/kudochien/sdkmono build from `./packages/sdk43`
- Loading branch information