From 2ce1f0cf79a484cddeab88126f4ec6649af9fabe Mon Sep 17 00:00:00 2001 From: David Aurelio Date: Thu, 8 Dec 2016 02:32:22 -0800 Subject: [PATCH] Add fbjs definitions to flow config Reviewed By: zertosh Differential Revision: D4291805 fbshipit-source-id: 3dcb8ffe6132bd04a3048edae64e9d273c2dcae4 --- react-packager/src/ModuleGraph/worker/collect-dependencies.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/react-packager/src/ModuleGraph/worker/collect-dependencies.js b/react-packager/src/ModuleGraph/worker/collect-dependencies.js index df82ea23..37e44725 100644 --- a/react-packager/src/ModuleGraph/worker/collect-dependencies.js +++ b/react-packager/src/ModuleGraph/worker/collect-dependencies.js @@ -139,5 +139,5 @@ exports.forOptimization = collectDependencies( ast, new ProdReplacement(names), - dependencyMapName && types.identifier(dependencyMapName), + dependencyMapName ? types.identifier(dependencyMapName) : undefined, );