Stop silently failing for requires on Android
Reviewed By: bestander Differential Revision: D4117128 fbshipit-source-id: a11996a322d38e884aad2f095342c1ea723b0d89
This commit is contained in:
parent
6a45f05872
commit
44025f4931
|
@ -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