Skip to content

Commit

Permalink
Reinstate comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioEstevao committed Sep 25, 2018
1 parent b597ee5 commit 49db6f9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rn-cli-inside-gb.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
/** @format */
const path = require( 'path' );
const blacklist = require( 'metro-config/src/defaults/blacklist' );
// Blacklist the nested GB filetree so modules are not resolved in duplicates,
// both in the nested directory and the parent directory.
const blacklistElements = blacklist( [ new RegExp( path.basename( __dirname ) + '/gutenberg/.*' ) ] );

const enm = require( './extra-node-modules.config.js' );
Expand Down
2 changes: 2 additions & 0 deletions rn-cli.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
/** @format */
const path = require( 'path' );
const blacklist = require( 'metro-config/src/defaults/blacklist' );
// Blacklist the nested GB filetree so modules are not resolved in duplicates,
// both in the nested directory and the parent directory.
const blacklistElements = blacklist( [ new RegExp( path.basename( __dirname ) + '/gutenberg/gutenberg-mobile/.*' ) ] );
const enm = require( './extra-node-modules.config.js' );

Expand Down

0 comments on commit 49db6f9

Please sign in to comment.