mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Summary: In some projects we have conventions of using .tsx extension even for files without react components, we had issues where codegen wasn't updated properly. I debugged the files included in a large project and made some improvements: - Include tsx and jsx files - exclude nested node_modules - exclude ts type def files ## Changelog: [ANDROID] [FIXED] - Improve input files for codegen gradle task Pull Request resolved: https://github.com/facebook/react-native/pull/49227 Test Plan: Tested in a large app using codegen. I inspected the files that are included in the task inputs and made sure it works with first party and 3rd party modules. Reviewed By: cipolleschi Differential Revision: D69254204 Pulled By: cortinico fbshipit-source-id: 368408e9719e9b5c9839dd873430b86ae4a062c7