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 b605532 commit 6f8c6d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/metro/src/Config.js
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ const DEFAULT = ({
getRunModuleStatement: (moduleId: number | string) =>
`require(${JSON.stringify(moduleId)});`,
getSourceExts: () => [],
getTransformModulePath: () => require.resolve('./reactNativeTransformer'),
getTransformModulePath: () => require.resolve('./defaultTransformer'),
getTransformOptions: async () => ({}),
getPolyfills: () => [],
getUseGlobalHotkey: () => true,
Expand Down

0 comments on commit 6f8c6d0

Please sign in to comment.