mirror of https://github.com/status-im/metro.git
packager-worker-for-buck: include all entries point for getting extra configuration
Reviewed By: davidaurelio Differential Revision: D5764794 fbshipit-source-id: a9bddd05a66c1d5a45f5dd4d04517dbe86ea5b76
This commit is contained in:
parent
0265758e5e
commit
a94654255b
|
@ -67,7 +67,7 @@ export type GetTransformOptionsOpts = {|
|
|||
|};
|
||||
|
||||
export type GetTransformOptions = (
|
||||
mainModuleName: string,
|
||||
entryPoints: $ReadOnlyArray<string>,
|
||||
options: GetTransformOptionsOpts,
|
||||
getDependenciesOf: (string) => Promise<Array<string>>,
|
||||
) => Promise<ExtraTransformOptions>;
|
||||
|
@ -896,7 +896,7 @@ class Bundler {
|
|||
const {dev, hot, platform} = options;
|
||||
const extraOptions: ExtraTransformOptions = this._getTransformOptions
|
||||
? await this._getTransformOptions(
|
||||
mainModuleName,
|
||||
[mainModuleName],
|
||||
{dev, hot, platform},
|
||||
getDependencies,
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue