bypassExportMap = async (packageDir, options = {}) => {
  const ignoredExportMapKeys = options.ignoredExportMapKeys || [];
  if (!existsSync(packageDir)) {
    throw new Error(ERROR_CAN_NOT_ACCESS_PACKAGE_DIR);
  }
  const require = createRequire(import.meta.url);
  // eslint-disable-next-line import/no-dynamic-require
  const { exports } = require(path.resolve(packageDir, 'package.json'));
  const exportMap = normalizeExportMap(exports, ignoredExportMapKeys);
  return asyncConcurrentForEach(
    Object.entries(exportMap),
    // @ts-ignore
    ([exportMapKey, exportMapValue]) =>
      bypassExportMapItem(packageDir, exportMapKey, exportMapValue),
  );
}
Bypasses export map

@param {string} packageDir
@param {{ignoredExportMapKeys?: string[]}} [options]
@throws ERROR_CAN_NOT_ACCESS_PACKAGE_DIR
@returns {Promise<any>}