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;