Skip to content

Commit 01104a0

Browse files
committed
🔧 Add workaround to support nested example project
Thank you facebook/react-native#21242 (comment)
1 parent bde5434 commit 01104a0

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

example/rn-cli.config.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
const blacklist = require('metro-config/src/defaults/blacklist');
2+
3+
module.exports = {
4+
resolver: {
5+
blacklistRE: blacklist([
6+
/node_modules\/.*\/node_modules\/react-native\/.*/,
7+
])
8+
},
9+
};

0 commit comments

Comments
 (0)