mirror of https://github.com/status-im/metro.git
Stop silently failing for requires on Android
Reviewed By: bestander Differential Revision: D4117128 fbshipit-source-id: a11996a322d38e884aad2f095342c1ea723b0d89
This commit is contained in:
parent
05d53084c1
commit
5af2bf17bc
|
@ -102,7 +102,7 @@ class Resolver {
|
|||
preferNativePlatform: true,
|
||||
fileWatcher: opts.fileWatcher,
|
||||
cache: opts.cache,
|
||||
shouldThrowOnUnresolvedErrors: (_, platform) => platform !== 'android',
|
||||
shouldThrowOnUnresolvedErrors: () => true,
|
||||
transformCode: opts.transformCode,
|
||||
extraNodeModules: opts.extraNodeModules,
|
||||
assetDependencies: ['react-native/Libraries/Image/AssetRegistry'],
|
||||
|
|
Loading…
Reference in New Issue