Permalink
Browse files

Stop silently failing for requires on Android

Reviewed By: bestander

Differential Revision: D4237195

fbshipit-source-id: 51266664a3693d8e942e97ffd0b0ddc7ada74819
  • Loading branch information...
1 parent 2f01cbd commit 63eb4dfe67b9d9337ed2ce3b8b56786004990db7 @javache javache committed with Facebook Github Bot Nov 28, 2016
Showing with 1 addition and 1 deletion.
  1. +1 −1 packager/react-packager/src/Resolver/index.js
@@ -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,

0 comments on commit 63eb4df

Please sign in to comment.