packager: buck worker: output assets
Reviewed By: davidaurelio Differential Revision: D4962816 fbshipit-source-id: 4ce4eacb28528c96829ac35134aff18a72063370
This commit is contained in:
parent
cc5997a2b1
commit
cf4a98b053
|
@ -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,
|
||||
|};
|
||||
|
|
Loading…
Reference in New Issue