mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
packager: buck library: expose asset content
Reviewed By: davidaurelio Differential Revision: D4945778 fbshipit-source-id: ea132a3d284ed09c59c69afbdd7b707af9e521b9
This commit is contained in:
committed by
Facebook Github Bot
parent
3afbcfcd6b
commit
1f8d1002ef
@@ -140,3 +140,11 @@ export type LibraryOptions = {|
|
||||
platform?: string,
|
||||
root: string,
|
||||
|};
|
||||
|
||||
export type Base64Content = string;
|
||||
|
||||
export type Library = {|
|
||||
files: Array<TransformedFile>,
|
||||
/* cannot be a Map because it's JSONified later on */
|
||||
assets: {[destFilePath: string]: Base64Content},
|
||||
|};
|
||||
|
||||
Reference in New Issue
Block a user