Skip to content

Commit

Permalink
Stop silently failing for requires on Android
Browse files Browse the repository at this point in the history
Reviewed By: bestander

Differential Revision: D4237195

fbshipit-source-id: 51266664a3693d8e942e97ffd0b0ddc7ada74819
  • Loading branch information
javache authored and Facebook Github Bot committed Nov 28, 2016
1 parent 2f01cbd commit 63eb4df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packager/react-packager/src/Resolver/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 63eb4df

Please sign in to comment.