diff --git a/react-packager/src/DependencyResolver/DependencyGraph/index.js b/react-packager/src/DependencyResolver/DependencyGraph/index.js index 6fda8d93..ed09f91a 100644 --- a/react-packager/src/DependencyResolver/DependencyGraph/index.js +++ b/react-packager/src/DependencyResolver/DependencyGraph/index.js @@ -147,8 +147,8 @@ class DependencyGraph { return this._moduleCache.getModule(entryPath).getDependencies(); } - stat(filePath) { - return this._fastfs.stat(filePath); + getFS() { + return this._fastfs; } /** diff --git a/react-packager/src/Resolver/index.js b/react-packager/src/Resolver/index.js index 4f3444ec..1822eb99 100644 --- a/react-packager/src/Resolver/index.js +++ b/react-packager/src/Resolver/index.js @@ -110,7 +110,7 @@ class Resolver { } stat(filePath) { - return this._depGraph.stat(filePath); + return this._depGraph.getFS().stat(filePath); } getModuleForPath(entryFile) {