react-native/local-cli/bundle
Bhuwan Khattar 234f4f538d Introduce HasteImpl
Summary:
Similar to https://github.com/facebook/jest/pull/2877, this introduces an optional config `HasteImpl` of type `{getHasteName(filePath: string): (string|void)}` that returns the haste name for a module at filePath if it is a haste module or undefined otherwise.

This allows us to inject a custom implementation of haste's module id resolution rather than only relying on `providesModule` annotations

Reviewed By: davidaurelio

Differential Revision: D4589372

fbshipit-source-id: 4d1983dfbf09c9d67faf725e86ae86ab42433b7d
2017-02-27 14:04:58 -08:00
..
__mocks__ Move `private-cli` commands to `local-cli` 2015-10-26 15:36:04 -07:00
__tests__ Don't include assets that are not used on the platform 2017-02-09 11:15:25 -08:00
output Remove `react-packager` indirection. 2017-02-02 05:44:15 -08:00
assetPathUtils.js Load assets from same folder as JSbundle (Android) 2016-01-06 08:46:35 -08:00
buildBundle.js Introduce HasteImpl 2017-02-27 14:04:58 -08:00
bundle.js Fix lint in local-cli 2016-11-14 11:13:42 -08:00
bundleCommandLineArgs.js Add --sourcemap-sources-root to RN packager 2017-01-04 20:58:33 -08:00
filterPlatformAssetScales.js Don't include assets that are not used on the platform 2017-02-09 11:15:25 -08:00
getAssetDestPathAndroid.js Fix lint in local-cli 2016-11-14 11:13:42 -08:00
getAssetDestPathIOS.js Move `private-cli` commands to `local-cli` 2015-10-26 15:36:04 -07:00
saveAssets.js Don't include assets that are not used on the platform 2017-02-09 11:15:25 -08:00
types.flow.js Remove `react-packager` indirection. 2017-02-02 05:44:15 -08:00
unbundle.js Add `--indexed-unbundle` flag to force iOS ra-bundle format 2016-11-17 02:43:26 -08:00