normalizeImportMap = imports => {
  // @ts-ignore
  const removeFirstStar = str => str.replace('*', '');
  return Object.entries(imports || {}).reduce((accumulator, [key, value]) => {
    // @ts-ignore
    accumulator[removeFirstStar(key)] = removeFirstStar(value);
    return accumulator;
  }, {});
}
Normalizes the import map by removing the stars

@param {object} imports packageJson.imports
@returns {object}