packager: buck worker: output assets

Reviewed By: davidaurelio

Differential Revision: D4962816

fbshipit-source-id: 4ce4eacb28528c96829ac35134aff18a72063370
This commit is contained in:
Jean Lauliac 2017-05-02 03:41:38 -07:00 committed by Facebook Github Bot
parent cc5997a2b1
commit cf4a98b053
1 changed files with 2 additions and 1 deletions

View File

@ -142,9 +142,10 @@ export type LibraryOptions = {|
|};
export type Base64Content = string;
export type AssetContentsByPath = {[destFilePath: string]: Base64Content};
export type Library = {|
files: Array<TransformedFile>,
/* cannot be a Map because it's JSONified later on */
assets: {[destFilePath: string]: Base64Content},
assets: AssetContentsByPath,
|};