SIGN IN SIGN UP
facebook / react-native UNCLAIMED

A framework for building native applications using React

0 0 0 C++

Remove unused inlineRequires params from BabelTransformer API (#38771)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/38771

Changelog: [Internal]

Metro has been passing `inlineRequires: false` to Babel transformers for the last 5 years (D9636747), as the inline requires transform had been hoisted into the transform worker. Here we clean up the unused code paths in React Native's implementations of the Metro Babel transformer API, and the unused properties in the API itself.

Reviewed By: GijsWeterings

Differential Revision: D48034441

fbshipit-source-id: d24a793962942a3c87461ffbade847ea749dac95
M
Moti Zilberman committed
408dd81fb6f6513438c5b7216b7efb013699b7c8
Parent: a2e30dc
Committed by Facebook GitHub Bot <[email protected]> on 8/7/2023, 4:17:43 PM