react-native
react-native copied to clipboard
Add build script to react-native-babel-transformer
Summary:
When metro-react-native-babel-transformer
was part of Metro, Metro would take care of building flow-typed src
before publishing. React Native doesn't do that.
This diff adds build script, prepare
and postpublish
hooks to react-native-babel-transformer
. The script is effectively is a copy-paste from react-native-codegen
, we'll deduplicate them in the future.
Changelog: [Internal] - Add build script to react-native-babel-transformer
Differential Revision: D47006627
This pull request was exported from Phabricator. Differential Revision: D47006627
Platform | Engine | Arch | Size (bytes) | Diff |
---|---|---|---|---|
android | hermes | arm64-v8a | 9,001,460 | -2 |
android | hermes | armeabi-v7a | 8,255,374 | -1 |
android | hermes | x86 | 9,510,502 | -4 |
android | hermes | x86_64 | 9,356,366 | -3 |
android | jsc | arm64-v8a | 9,614,525 | -4 |
android | jsc | armeabi-v7a | 8,741,023 | -4 |
android | jsc | x86 | 9,701,382 | -2 |
android | jsc | x86_64 | 9,947,941 | -2 |
Base commit: 0519c11acd0c347db378bbc9238c7dabfd38f6fa Branch: main
This pull request was exported from Phabricator. Differential Revision: D47006627
Warnings | |
---|---|
:warning: | :lock: package.json - Changes were made to package.json. This will require a manual import by a Facebook employee. |
Generated by :no_entry_sign: dangerJS against 1ea7e2d8084a88299e68c74393f6d09f0a2c42ae
Closing as abandoned internally