mirror of https://github.com/status-im/metro.git
Stop silently failing for requires on Android
Reviewed By: bestander Differential Revision: D4237195 fbshipit-source-id: 51266664a3693d8e942e97ffd0b0ddc7ada74819
This commit is contained in:
parent
59f870b0f6
commit
2be362b017
|
@ -98,7 +98,7 @@ class Resolver {
|
||||||
preferNativePlatform: true,
|
preferNativePlatform: true,
|
||||||
watch: opts.watch,
|
watch: opts.watch,
|
||||||
cache: opts.cache,
|
cache: opts.cache,
|
||||||
shouldThrowOnUnresolvedErrors: (_, platform) => platform !== 'android',
|
shouldThrowOnUnresolvedErrors: () => true,
|
||||||
transformCode: opts.transformCode,
|
transformCode: opts.transformCode,
|
||||||
transformCacheKey: opts.transformCacheKey,
|
transformCacheKey: opts.transformCacheKey,
|
||||||
extraNodeModules: opts.extraNodeModules,
|
extraNodeModules: opts.extraNodeModules,
|
||||||
|
|
Loading…
Reference in New Issue