Make bundle building function async

Reviewed By: jeanlauliac

Differential Revision: D4993758

fbshipit-source-id: b466e0d8d494914357f38eac1a0ef3c2ec7d4edd
This commit is contained in:
David Aurelio 2017-05-03 13:02:05 -07:00 коммит произвёл Facebook Github Bot
Родитель 7eb005b4df
Коммит 382e633f78
2 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -27,7 +27,7 @@ import type {
type BuildFn = (
entryPoints: Iterable<string>,
options: BuildOptions,
callback: Callback<{modules: Iterable<Module>, entryModules: Iterable<Module>}>,
callback: Callback<GraphResult>,
) => void;
type BuildOptions = {|

Просмотреть файл

@ -46,8 +46,8 @@ type GraphOptions = {|
|};
export type GraphResult = {|
entryModules: Array<Module>,
modules: Array<Module>,
entryModules: Iterable<Module>,
modules: Iterable<Module>,
|};
export type IdForPathFn = {path: string} => number;