react-native/local-cli/bundle
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
..
__mocks__
__tests__ Adding @email tags to most of the tests 2017-11-02 06:25:03 -07:00
assetPathUtils.js Android: put all non-drawable resources to `res/raw` 2017-10-11 15:11:29 -07:00
buildBundle.js metro: allow dynamic dependencies from within node_modules 2018-01-18 08:09:02 -08:00
bundle.js Remove unused `packagerInstance` option and rename it to `server` 2018-01-12 06:31:27 -08:00
bundleCommandLineArgs.js Add --maxWorkers flag and allow transformers to run in-band. 2017-06-13 09:16:03 -07:00
filterPlatformAssetScales.js RN local-cli: format and @flow filterPlatformAssetScales 2017-08-22 09:29:14 -07:00
getAssetDestPathAndroid.js Android: put all non-drawable resources to `res/raw` 2017-10-11 15:11:29 -07:00
getAssetDestPathIOS.js packager: buck library: expose asset content 2017-04-25 12:04:01 -07:00
saveAssets.js Run eslint --fix 2017-10-09 17:46:44 -07:00
types.flow.js Rename metro-bundler to metro 2017-11-29 03:35:29 -08:00
unbundle.js Remove unused `packagerInstance` option and rename it to `server` 2018-01-12 06:31:27 -08:00