It appears that the official chrome webstore extension by Rob W is outdated. It was last updated in 2019. 

};
  const licenseHeaderLibre = fs
    .readFileSync("./src/license_header_libre.js")
    .toString();
  const preprocessor2 = require("./external/builder/preprocessor2.js");
  return inputStream
    .pipe(transform("utf8", preprocess))
    .pipe(gulp.dest(outputDir));
}
function buildLib(defines, dir) {
  const versionInfo = getVersionJSON();
  const bundleDefines = builder.merge(defines, {
    BUNDLE_VERSION: versionInfo.version,
    BUNDLE_BUILD: versionInfo.commit,
    TESTING:
      defines.TESTING !== undefined
        ? defines.TESTING
        : process.env.TESTING === "true",
    DEFAULT_PREFERENCES: getDefaultPreferences(
      defines.SKIP_BABEL ? "lib/" : "lib-legacy/"
    ),
    DIALOG_POLYFILL_CSS:
      defines.GENERIC && !defines.SKIP_BABEL ? getDialogPolyfillCSS() : "",
  });
  const inputStream = merge([
    gulp.src(
      [
        "src/{core,display,shared}/**/*.js",
        "!src/shared/{cffStandardStrings,fonts_utils}.js",
        "src/{pdf,pdf.worker}.js",