diff --git a/packages/metro-bundler/src/node-haste/DependencyGraph/ResolutionRequest.js b/packages/metro-bundler/src/node-haste/DependencyGraph/ResolutionRequest.js index a303c6ea..27c32e13 100644 --- a/packages/metro-bundler/src/node-haste/DependencyGraph/ResolutionRequest.js +++ b/packages/metro-bundler/src/node-haste/DependencyGraph/ResolutionRequest.js @@ -20,9 +20,7 @@ const debug = require('debug')('Metro:DependencyGraph'); const isAbsolutePath = require('absolute-path'); const path = require('path'); -const { - DuplicateHasteCandidatesError, -} = require('jest-haste-map/build/module_map'); +const {DuplicateHasteCandidatesError} = require('jest-haste-map').ModuleMap; import type DependencyGraphHelpers from './DependencyGraphHelpers'; import type ResolutionResponse from './ResolutionResponse';