Update shared/output modules to accept the output from the Delta Bundler
Reviewed By: davidaurelio Differential Revision: D6186386 fbshipit-source-id: 6160f5a02891dbfb56c6350239703ace91e53690
This commit is contained in:
parent
ec50aa6d33
commit
01b941927c
|
@ -151,8 +151,10 @@ function buildBundle(
|
||||||
|
|
||||||
// Save the assets of the bundle
|
// Save the assets of the bundle
|
||||||
const assets = bundlePromise
|
const assets = bundlePromise
|
||||||
.then(bundle => bundle.getAssets())
|
// TODO: Use the packager.getAssets() method to get the bundle assets.
|
||||||
.then(outputAssets => saveAssets(
|
// $FlowFixMe: This code is going away.
|
||||||
|
.then(bundle => bundle.getAssets && bundle.getAssets())
|
||||||
|
.then(outputAssets => outputAssets && saveAssets(
|
||||||
outputAssets,
|
outputAssets,
|
||||||
args.platform,
|
args.platform,
|
||||||
args.assetsDest,
|
args.assetsDest,
|
||||||
|
|
Loading…
Reference in New Issue