mirror of
https://github.com/status-im/metro.git
synced 2025-02-12 19:17:50 +00:00
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
2
react-packager/src/Resolver/index.js
vendored
2
react-packager/src/Resolver/index.js
vendored
@ -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…
x
Reference in New Issue
Block a user