Jean Lauliac b5e19adc02 metro: allow dynamic dependencies from within node_modules
Summary: Tries to adress https://github.com/facebook/metro/issues/65. We need a reasonnable workaround to support modules like `moment.js` that do dynamic requires but only in some cases. By replacing the call by a function that throws, we move the exception at runtime instead of happening at compile time. We don't want to do that for non-node_modules file because they are fixable directly, while `node_modules` are not fixable by people and they get completely blocked by the error at compile time.

Reviewed By: rafeca

Differential Revision: D6736989

fbshipit-source-id: a6e1fd9b56fa83907400884efd8f8594018b7c37
2018-01-18 08:09:02 -08:00
..
2018-01-08 17:04:29 -08:00
2018-01-12 22:18:45 -08:00
2017-10-09 17:46:44 -07:00
2017-07-18 11:45:47 -07:00
2018-01-12 22:18:45 -08:00
2016-11-21 10:28:34 -08:00
2017-09-06 03:33:43 -07:00
2017-07-18 11:45:47 -07:00
2015-10-28 21:36:07 -04:00