Change default metro transformer

Differential Revision: D8234984

fbshipit-source-id: 83cecfbfa3300f7703ea197009d985bbbc58127a
This commit is contained in:
Rafael Oleza 2018-06-01 06:40:51 -07:00 committed by Facebook Github Bot
parent b90cbd195a
commit bdb8089268
1 changed files with 2 additions and 0 deletions

View File

@ -78,6 +78,8 @@ const Config = {
getModulesRunBeforeMainModule: () => [
require.resolve('../../Libraries/Core/InitializeCore'),
],
getTransformModulePath: () =>
require.resolve('metro/src/reactNativeTransformer'),
}: ConfigT),
find(startDir: string): ConfigT {