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
|
||||
const assets = bundlePromise
|
||||
.then(bundle => bundle.getAssets())
|
||||
.then(outputAssets => saveAssets(
|
||||
// TODO: Use the packager.getAssets() method to get the bundle assets.
|
||||
// $FlowFixMe: This code is going away.
|
||||
.then(bundle => bundle.getAssets && bundle.getAssets())
|
||||
.then(outputAssets => outputAssets && saveAssets(
|
||||
outputAssets,
|
||||
args.platform,
|
||||
args.assetsDest,
|
||||
|
|
Loading…
Reference in New Issue