react-native/local-cli/generator/templates
Martín Bigio a102e6f587 Breaking change: Move `bundle` to `private-cli`
Summary: @​public

We need to start using the `private-cli` for the new asset system. Note this is a breaking change! People will have to upgrade their workflows/scripts to start using the new cli. Otherwise we'd need to build a thin adapter that is aware of both APIs which is something we;d like to avoid. The major API changes are:
  - API is now `entry-file` based instead of `url` based.
  - /s/--out/--bundle-output
  - /s/--out/--sourcemap-output

Also these parameters have no longer default values, you need to specify them. For instance, if you want to generate the sourcemaps you need to pass in the `--sourcemap-output` option

Lastly, additional project roots or asset roots need to be specified on the `rn-cli.config.js`.

Reviewed By: @frantic

Differential Revision: D2533877

fb-gh-sync-id: a45f9095fdf9442a9106ea7bb6a6b7f651d25273
2015-10-13 11:48:30 -07:00
..
_gitignore add android .gradle and build directories to sample app gitignore 2015-10-01 15:09:44 -04:00
_watchmanconfig [cli] convert project generation to use yeoman 2015-08-12 12:04:27 +01:00
index.android.js Release React Native for Android 2015-09-14 18:13:39 +01:00
index.ios.js [cli] convert project generation to use yeoman 2015-08-12 12:04:27 +01:00
rn-cli.config.js Breaking change: Move `bundle` to `private-cli` 2015-10-13 11:48:30 -07:00