Defualts for platforms and assetExts

Reviewed By: voideanvalue

Differential Revision: D2635446

fb-gh-sync-id: 57e628cf5f917c7e2511d0c8bde696310ab0fc7a
This commit is contained in:
Christoph Pojer 2015-11-09 19:47:56 -08:00 committed by facebook-github-bot-5
parent 839de43d3a
commit a724cfde2d
1 changed files with 2 additions and 2 deletions

View File

@ -45,9 +45,9 @@ class DependencyGraph {
ignoreFilePath: ignoreFilePath || (() => {}), ignoreFilePath: ignoreFilePath || (() => {}),
fileWatcher, fileWatcher,
assetRoots_DEPRECATED: assetRoots_DEPRECATED || [], assetRoots_DEPRECATED: assetRoots_DEPRECATED || [],
assetExts, assetExts: assetExts || [],
providesModuleNodeModules, providesModuleNodeModules,
platforms, platforms: platforms || [],
cache, cache,
}; };
this._cache = this._opts.cache; this._cache = this._opts.cache;