mirror of
https://github.com/status-im/react-native.git
synced 2025-01-14 19:44:13 +00:00
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…
x
Reference in New Issue
Block a user