async function buildUmdBundle() {
  await esbuild.build({
    entryPoints: ['report/clients/bundle.js'],
    outfile: 'dist/report/bundle.umd.js',
    bundle: true,
    // We do not minify, because this is pulled into google3 and minified there anyhow.
    minify: false,
    plugins: [
      plugins.umd('report'),
      plugins.replaceModules({
        [`${LH_ROOT}/shared/localization/locales.js`]: 'export const locales = {}',
      }),
      plugins.ignoreBuiltins(),
      buildReportBulkLoader,
    ],
  });
}
Returns whether the requestedLocale is registered and available for use
@param {LH.Locale} requestedLocale
@return {boolean}