lib/packExternalModules.js
function findExternalOrigin(issuer) {
  if (!_.isNil(issuer) && _.startsWith(issuer.rawRequest, './')) {
    return findExternalOrigin(issuer.issuer);
  }
  return issuer;
}
function findExternalOrigin(issuer) {
  if (!_.isNil(issuer) && _.startsWith(issuer.rawRequest, './')) {
    return findExternalOrigin(issuer.issuer);
  }
  return issuer;
}
function findExternalOrigin ( issuer ) { if ( ! _ . isNil ( issuer ) && _ . startsWith ( issuer . rawRequest , './' ) ) { return findExternalOrigin ( issuer . issuer ) ; } return issuer ; }
Find the original module that required the transient dependency. Returns
undefined if the module is a first level dependency.
@param {Object} issuer - Module issuer
Find the original module that required the transient dependency . Returns undefined if the module is a first level dependency .