mirror of
https://github.com/facebook/react-native.git
synced 2026-11-18 20:19:07 +00:00
Summary: This change extracts the function to create RNCore components in a separate reusable unit. RNCore is now generate in the `node_modules` folder when the app runs pod install, which is a problem because there are use cases where it's not possible to modify the `node_modules` folder or the generated files might be lost. The goal is to: - extract this function - execute this function before packing react-native during the release. (see D54308411) In this way, we are going to generate the RNCore files in the react-native path that will be packaged and then released. Users of react-native will have the generated code directly in the node_modules with no need to generate it. ## Changelog: [General][Added] - Add function to only generate RNCore components Reviewed By: huntie Differential Revision: D54308713 fbshipit-source-id: 0fa9ab4ba7b66c577663f0c736742c4d5583f617