Add a bundle type to logger output and type

Reviewed By: rafeca

Differential Revision: D6405599

fbshipit-source-id: 2f3da971d55fae28fbd94ed9f60d3bc2be176d6a
This commit is contained in:
Peter van der Zee 2017-11-28 04:41:10 -08:00 committed by Facebook Github Bot
parent ca7fe72c31
commit ae517307e7
1 changed files with 1 additions and 3 deletions

View File

@ -94,9 +94,6 @@ async function buildBundle(
? config.getProvidesModuleNodeModules()
: defaultProvidesModuleNodeModules;
/* $FlowFixMe(>=0.54.0 site=react_native_fb,react_native_oss) This comment
* suppresses an error found when Flow v0.54 was deployed. To see the error
* delete this comment and run Flow. */
const terminal = new Terminal(process.stdout);
const options = {
assetExts: defaultAssetExts.concat(assetExts),
@ -136,6 +133,7 @@ async function buildBundle(
const outputAssets = await packagerInstance.getAssets({
...Server.DEFAULT_BUNDLE_OPTIONS,
...requestOpts,
bundleType: 'todo',
});
// When we're done saving bundle output and the assets, we're done.