Skip to content

Instantly share code, notes, and snippets.

@devxoul
Created December 5, 2021 17:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save devxoul/957b006e7ea8f848fbb553f42fe5ed87 to your computer and use it in GitHub Desktop.
Save devxoul/957b006e7ea8f848fbb553f42fe5ed87 to your computer and use it in GitHub Desktop.
_getFileData(file) {
const relativePath = fastPath.relative(this._rootDir, file);
+ if (file.endsWith('node_modules/metro/src/node-haste/DependencyGraph/assets/empty-module.js')) {
+ console.log('rootDir:', this._rootDir);
+ console.log('file:', file);
+ console.log('relativePath:', relativePath);
+ }
return this._files.get(relativePath);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment