react-native/local-cli/server
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
..
middleware Support vscode as a React Editor 2016-06-21 11:09:24 -07:00
util Support vscode as a React Editor 2016-06-21 11:09:24 -07:00
checkNodeVersion.js Use a separate babel config for the local-cli and the packager 2016-05-21 06:58:26 -07:00
formatBanner.js fix banner for old node version 2016-06-22 03:43:33 -07:00
runServer.js Allow rn-cli.config.js to specify the default transformer 2016-06-22 08:13:26 -07:00
server.js Allow rn-cli.config.js to specify the default transformer 2016-06-22 08:13:26 -07:00