Skip to content

Commit 63eb4df

Browse files
javacheFacebook Github Bot
authored and
Facebook Github Bot
committed
Stop silently failing for requires on Android
Reviewed By: bestander Differential Revision: D4237195 fbshipit-source-id: 51266664a3693d8e942e97ffd0b0ddc7ada74819
1 parent 2f01cbd commit 63eb4df

File tree

1 file changed

+1
-1
lines changed
  • packager/react-packager/src/Resolver

1 file changed

+1
-1
lines changed

packager/react-packager/src/Resolver/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ class Resolver {
9898
preferNativePlatform: true,
9999
watch: opts.watch,
100100
cache: opts.cache,
101-
shouldThrowOnUnresolvedErrors: (_, platform) => platform !== 'android',
101+
shouldThrowOnUnresolvedErrors: () => true,
102102
transformCode: opts.transformCode,
103103
transformCacheKey: opts.transformCacheKey,
104104
extraNodeModules: opts.extraNodeModules,

0 commit comments

Comments
 (0)