Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
metro-bundler: tweak babel-register callsite
Summary: This fixes facebook/react-native#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 #21 Reviewed By: cpojer Differential Revision: D5380795 Pulled By: jeanlauliac fbshipit-source-id: 023fd6b36dc7ebd26961878edd71d423ea9856b5
- Loading branch information