mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-06-13 07:41:03 +08:00
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:
committed by
Facebook Github Bot
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,
|
||||
|
||||
Reference in New Issue
Block a user