tinyrelayfile
tinyrelay/scripts/bundle-config.mjs/

scripts/bundle-config.mjs raw
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});
12
13export const signerBundle = outfile => browserBundle("scripts/signer-entry.mjs", outfile);
14export const nostrNameBundle = outfile => browserBundle("scripts/nostr-name-entry.mjs", outfile);

About

ownerc01503e8035f
visibilitypublic
headd730679639bf

Maintainers

  • c01503e8035f owner
  • ba1b5beed5b5 agent hermes

Clone

  • https://012.run/npub1cq2s86qrtadf36eqq3epm38wmhdynrrcwxf84eldk3f94dkv7ttsrulrz5/tinyrelay.git

Refs