Jean Lauliac 353bfba978 packager: ResolutionRequest: simplify asset resolution
Summary: I think we don't really need to check the directory beforehand, the function to find asset will just return an empty array. As for the error message, I tried adding a require of an asset file somewhere, but due to the way the ResolutionRequest algo work, it generates a final error message that unrealted ("Directory ... does not exist", instead of the "asset does not exist"). I plan to revamp the way errors are handled such as the error message clearly identifies what file paths have been inspected.

Reviewed By: davidaurelio

Differential Revision: D5028118

fbshipit-source-id: 496472001c0a3d4192bfef4a0c8a0dc8a9a0fa82
2017-05-10 04:46:09 -07:00
2017-01-26 12:56:40 +00:00
2017-01-26 12:56:40 +00:00
2017-04-11 19:19:25 +01:00
2017-04-11 18:14:32 +01:00
2017-01-26 12:56:40 +00:00
2017-02-28 11:45:45 +00:00
2017-04-11 18:22:31 +01:00
2017-03-01 11:01:35 +00:00
2017-01-26 12:56:40 +00:00
2017-01-26 12:56:40 +00:00
2017-01-26 12:56:40 +00:00
2017-01-26 12:56:40 +00:00
2017-01-26 12:56:40 +00:00
2017-03-01 11:01:35 +00:00
2017-01-26 12:56:40 +00:00
2017-04-11 19:19:25 +01:00
2017-01-26 12:56:40 +00:00
2017-01-26 12:56:40 +00:00
2017-04-11 19:19:25 +01:00

metro-bundler Build Status Windows Build Status npm version

The JavaScript bundler for React Native

Description
🚇 The JavaScript bundler for React Native.
https://facebook.github.io/metro
Readme MIT
Languages
JavaScript 100%