Skip to content

Commit

Permalink
[ci] Update metro config as per upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
alloy committed Sep 28, 2020
1 parent 25df611 commit b47ca57
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions metro.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,20 +46,14 @@ if (
});
} else {
module.exports = {
serializer: {
getModulesRunBeforeMainModule: () => [
require.resolve('./Libraries/Core/InitializeCore'),
],
getPolyfills,
},
resolver: {
platforms: ['ios', 'macos', 'android'],
extraNodeModules: {
'react-native': __dirname,
},
},
transformer: {
assetRegistryPath: require.resolve('./Libraries/Image/AssetRegistry'),
serializer: {
getPolyfills,
},
};
}

0 comments on commit b47ca57

Please sign in to comment.