code: function resolveLocalPath(importPath, fromFile, options) {
    let appOrAddonDirIndex = fromFile.indexOf(options.ownerName, options.root.length);
    let prefix = fromFile.substring(0, appOrAddonDirIndex);
    let absolutePath = ensurePosixPath(path.resolve(prefix, importPath));
    return internalDep(absolutePath, options);
  }
docs: Resolve absolute paths pointing to the same app/addon as the importer