Stop silently failing for requires on Android
Reviewed By: bestander Differential Revision: D4237195 fbshipit-source-id: 51266664a3693d8e942e97ffd0b0ddc7ada74819
This commit is contained in:
parent
2f01cbd026
commit
63eb4dfe67
|
@ -98,7 +98,7 @@ class Resolver {
|
|||
preferNativePlatform: true,
|
||||
watch: opts.watch,
|
||||
cache: opts.cache,
|
||||
shouldThrowOnUnresolvedErrors: (_, platform) => platform !== 'android',
|
||||
shouldThrowOnUnresolvedErrors: () => true,
|
||||
transformCode: opts.transformCode,
|
||||
transformCacheKey: opts.transformCacheKey,
|
||||
extraNodeModules: opts.extraNodeModules,
|
||||
|
|
Loading…
Reference in New Issue