mirror of
https://github.com/status-im/react-native.git
synced 2025-01-15 20:15:11 +00:00
30b057fa9c
Summary: Adds the dependency to the Babel preset's package.json and enables the plugin only when `**` exists in a source file. This is https://github.com/facebook/react-native/pull/12339 with merge conflicts resolved and putting the plugin behind a cheaper heuristic. Closes https://github.com/facebook/react-native/pull/16191 Differential Revision: D6023857 Pulled By: hramos fbshipit-source-id: 16f4a5f14780c27d2ef95fa7e8d8b611fa992aa0