From 619a8c9f298356db68f8cd7e5d25e5bcf48bab05 Mon Sep 17 00:00:00 2001 From: Bhuwan Khattar Date: Tue, 30 Jan 2018 11:20:20 -0800 Subject: [PATCH] Pass hasteImplModulePath to JestHasteMap and everywhere else Reviewed By: jeanlauliac Differential Revision: D6641294 fbshipit-source-id: 36ebec95e69fe920c6cc10addd96406521cb4b82 --- local-cli/bundle/buildBundle.js | 2 +- local-cli/dependencies/dependencies.js | 2 +- local-cli/server/runServer.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/local-cli/bundle/buildBundle.js b/local-cli/bundle/buildBundle.js index dce3984ed..afbab9ec8 100644 --- a/local-cli/bundle/buildBundle.js +++ b/local-cli/bundle/buildBundle.js @@ -101,7 +101,7 @@ async function buildBundle( getPolyfills: config.getPolyfills, getTransformOptions: config.getTransformOptions, globalTransformCache: null, - hasteImpl: config.hasteImpl, + hasteImplModulePath: config.hasteImplModulePath, maxWorkers: args.maxWorkers, platforms: defaultPlatforms.concat(platforms), postMinifyProcess: config.postMinifyProcess, diff --git a/local-cli/dependencies/dependencies.js b/local-cli/dependencies/dependencies.js index 7bb480dd2..3558f576c 100644 --- a/local-cli/dependencies/dependencies.js +++ b/local-cli/dependencies/dependencies.js @@ -34,7 +34,7 @@ function dependencies(argv, config, args, packagerInstance) { dynamicDepsInPackages: config.dynamicDepsInPackages, getPolyfills: config.getPolyfills, getTransformOptions: config.getTransformOptions, - hasteImpl: config.hasteImpl, + hasteImplModulePath: config.hasteImplModulePath, postMinifyProcess: config.postMinifyProcess, transformModulePath: transformModulePath, extraNodeModules: config.extraNodeModules, diff --git a/local-cli/server/runServer.js b/local-cli/server/runServer.js index bb3fc3c7f..1288d769b 100644 --- a/local-cli/server/runServer.js +++ b/local-cli/server/runServer.js @@ -184,7 +184,7 @@ function getPackagerServer(args, config, reporter) { getPolyfills: config.getPolyfills, getTransformOptions: config.getTransformOptions, globalTransformCache: null, - hasteImpl: config.hasteImpl, + hasteImplModulePath: config.hasteImplModulePath, maxWorkers: args.maxWorkers, platforms: defaultPlatforms.concat(args.platforms), polyfillModuleNames: config.getPolyfillModuleNames(),