Skip to content

Commit

Permalink
fix: default babelTransformerPath
Browse files Browse the repository at this point in the history
  • Loading branch information
aleclarson committed Jan 29, 2019
1 parent 040a52e commit 42c77a7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion local-cli/util/Config.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,12 @@ const Config = {
],
getPolyfills,
},
transformer: {
babelTransformerPath: require.resolve(
'metro/src/reactNativeTransformer.js',
),
},
watchFolders: getWatchFolders(),
transformModulePath: require.resolve('metro/src/reactNativeTransformer'),
},

async load(configFile: ?string): Promise<ConfigT> {
Expand Down

0 comments on commit 42c77a7

Please sign in to comment.