normalizeExportMap = (exports, ignoredExportMapKeys = []) => {
  // @ts-ignore
  const removeFirstStar = str => str.replace('*', '');
  return Object.entries(exports || {})
    .filter(([exportKey]) => !ignoredExportMapKeys.includes(exportKey))
    .reduce((accumulator, [key, value]) => {
      accumulator[removeFirstStar(key)] = removeFirstStar(stringifyExportValue(value));
      return accumulator;
    }, {});
}
Normalizes the export values of packageJson.exports by stringifying the values
@param {object} exports packageJson.exports
@param {string[]} ignoredExportMapKeys
@returns {object} packageJson.exports in which all the values are string