Skip to content

Commit

Permalink
Remove workaround for Jetpack module name conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
fluiddot committed Jan 15, 2021
1 parent a345c03 commit a64bb0e
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions metro.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
const path = require( 'path' );
const blacklist = require( './node_modules/metro-config/src/defaults/blacklist' );

const gutenbergMetroConfigCopy = {
...require( './gutenberg/packages/react-native-editor/metro.config.js' ),
Expand All @@ -13,8 +12,4 @@ gutenbergMetroConfigCopy.resolver.extraNodeModules = new Proxy(
}
);

gutenbergMetroConfigCopy.resolver.blacklistRE = blacklist( [
path.join( process.cwd(), 'jetpack/package.json' ),
] );

module.exports = gutenbergMetroConfigCopy;

0 comments on commit a64bb0e

Please sign in to comment.