react-native/local-cli/bundle
Philipp von Weitershausen dd9b3e13a9 Allow rn-cli.config.js to specify the default transformer
Summary:
This will allow consumers to supply their own transformer to all `react-native` cli commands by simply implementing `rn-cli.config.js` and overriding `getTransformModulePath()`. That way they don't have to fork various parts of the iOS and Android build system that React Native already provides just to add a `--transformer` command line argument.

**Test plan:** Applied this patch to the React Native version in my app, implemented `getTransformModulePath()` in my `rn-cli.config.js`, and verified that my custom transformer is invoked.
Closes https://github.com/facebook/react-native/pull/7961

Differential Revision: D3404201

Pulled By: foghina

fbshipit-source-id: c7eaa85de84d485d06d23a2ffea899821b2cf71c
2016-06-22 08:13:26 -07:00
..
__mocks__ Move `private-cli` commands to `local-cli` 2015-10-26 15:36:04 -07:00
__tests__ Load assets from same folder as JSbundle (Android) 2016-01-06 08:46:35 -08:00
output make module IDs deterministic when bundling 2016-06-17 12:58:49 -07:00
assetPathUtils.js Load assets from same folder as JSbundle (Android) 2016-01-06 08:46:35 -08:00
buildBundle.js Allow rn-cli.config.js to specify the default transformer 2016-06-22 08:13:26 -07:00
bundle.js Add packager worker for Buck 2016-03-18 12:45:29 -07:00
bundleCommandLineArgs.js Allow rn-cli.config.js to specify the default transformer 2016-06-22 08:13:26 -07:00
getAssetDestPathAndroid.js Load assets from same folder as JSbundle (Android) 2016-01-06 08:46:35 -08:00
getAssetDestPathIOS.js Move `private-cli` commands to `local-cli` 2015-10-26 15:36:04 -07:00
saveAssets.js bugfix #3997: react-native bundle not working on windows 10 2015-11-27 08:22:29 -08:00
sign.js Move `private-cli` commands to `local-cli` 2015-10-26 15:36:04 -07:00
signedsource.js Move `private-cli` commands to `local-cli` 2015-10-26 15:36:04 -07:00
unbundle.js Add packager worker for Buck 2016-03-18 12:45:29 -07:00