Permalink
Browse files

Make bundle building function async

Reviewed By: jeanlauliac

Differential Revision: D4993758

fbshipit-source-id: b466e0d8d494914357f38eac1a0ef3c2ec7d4edd
  • Loading branch information...
davidaurelio authored and facebook-github-bot committed May 3, 2017
1 parent 7eb005b commit 382e633f780be673c9eb9a686b1330a112309fb3
Showing with 3 additions and 3 deletions.
  1. +1 −1 packager/src/ModuleGraph/ModuleGraph.js
  2. +2 −2 packager/src/ModuleGraph/types.flow.js
@@ -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;

0 comments on commit 382e633

Please sign in to comment.