1const browserBundle = (entryPoint, outfile) => ({2 entryPoints: [entryPoint],3 bundle: true,4 minify: true,5 format: "iife",6 platform: "browser",7 target: ["es2020"],8 outfile,9 legalComments: "eof",10 banner: { js: '"use strict";' },11});1213export const signerBundle = outfile => browserBundle("scripts/signer-entry.mjs", outfile);14export const nostrNameBundle = outfile => browserBundle("scripts/nostr-name-entry.mjs", outfile);