From a724cfde2defded4f74c602e8869c6325fc7b706 Mon Sep 17 00:00:00 2001 From: Christoph Pojer Date: Mon, 9 Nov 2015 19:47:56 -0800 Subject: [PATCH] Defualts for platforms and assetExts Reviewed By: voideanvalue Differential Revision: D2635446 fb-gh-sync-id: 57e628cf5f917c7e2511d0c8bde696310ab0fc7a --- .../src/DependencyResolver/DependencyGraph/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/react-packager/src/DependencyResolver/DependencyGraph/index.js b/react-packager/src/DependencyResolver/DependencyGraph/index.js index cbd7e192..21208e1b 100644 --- a/react-packager/src/DependencyResolver/DependencyGraph/index.js +++ b/react-packager/src/DependencyResolver/DependencyGraph/index.js @@ -45,9 +45,9 @@ class DependencyGraph { ignoreFilePath: ignoreFilePath || (() => {}), fileWatcher, assetRoots_DEPRECATED: assetRoots_DEPRECATED || [], - assetExts, + assetExts: assetExts || [], providesModuleNodeModules, - platforms, + platforms: platforms || [], cache, }; this._cache = this._opts.cache;