Skip to content

Commit

Permalink
Change default metro transformer
Browse files Browse the repository at this point in the history
Differential Revision: D8234984

fbshipit-source-id: 83cecfbfa3300f7703ea197009d985bbbc58127a
  • Loading branch information
rafeca authored and facebook-github-bot committed Jun 1, 2018
1 parent b90cbd1 commit bdb8089
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions local-cli/util/Config.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ const Config = {
getModulesRunBeforeMainModule: () => [
require.resolve('../../Libraries/Core/InitializeCore'),
],
getTransformModulePath: () =>
require.resolve('metro/src/reactNativeTransformer'),
}: ConfigT),

find(startDir: string): ConfigT {
Expand Down

0 comments on commit bdb8089

Please sign in to comment.