mirror of
https://github.com/status-im/metro.git
synced 2025-03-01 19:20:40 +00:00
Summary: This fixes https://github.com/facebook/react-native/issues/14530 on my local repro. The reason the original problem appears is because when requiring the preset itself, what I think is a bug in babel-register kicks in and it starts transforming the presets themselves. That fails because these preset don't actually have the correct transforms plugins installed/specified in their `package.json` (they do it at prepublish time). Closes https://github.com/facebook/metro-bundler/pull/21 Reviewed By: cpojer Differential Revision: D5380795 Pulled By: jeanlauliac fbshipit-source-id: 023fd6b36dc7ebd26961878edd71d423ea9856b5