From bdb8089268e26a7cbfc9859bb46d675034406882 Mon Sep 17 00:00:00 2001 From: Rafael Oleza Date: Fri, 1 Jun 2018 06:40:51 -0700 Subject: [PATCH] Change default metro transformer Differential Revision: D8234984 fbshipit-source-id: 83cecfbfa3300f7703ea197009d985bbbc58127a --- local-cli/util/Config.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/local-cli/util/Config.js b/local-cli/util/Config.js index 5cd7b0f5fc2237..fc996aa067ceaf 100644 --- a/local-cli/util/Config.js +++ b/local-cli/util/Config.js @@ -78,6 +78,8 @@ const Config = { getModulesRunBeforeMainModule: () => [ require.resolve('../../Libraries/Core/InitializeCore'), ], + getTransformModulePath: () => + require.resolve('metro/src/reactNativeTransformer'), }: ConfigT), find(startDir: string): ConfigT {