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 446b00018f
commit 873e2fa25e
1 changed files with 2 additions and 1 deletions

View File

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