mirror of
https://github.com/status-im/metro.git
synced 2025-02-11 02:27:17 +00:00
metro-bundler: Resolver: handle empty blacklistRE
Reviewed By: cpojer Differential Revision: D5442309 fbshipit-source-id: f00283bf659100d9269c85b188e2e2fd44cbdc99
This commit is contained in:
parent
e4b94a4d77
commit
f58a9fa922
@ -73,7 +73,7 @@ class Resolver {
|
||||
const depGraphOpts = Object.assign(Object.create(opts), {
|
||||
assetDependencies: ['react-native/Libraries/Image/AssetRegistry'],
|
||||
forceNodeFilesystemAPI: false,
|
||||
ignoreFilePath: opts.blacklistRE,
|
||||
ignoreFilePath: opts.blacklistRE || / ^/ /* matches nothing */,
|
||||
moduleOptions: {
|
||||
hasteImpl: opts.hasteImpl,
|
||||
resetCache: opts.resetCache,
|
||||
|
Loading…
x
Reference in New Issue
Block a user