From a820f27a91ea185d5a1b7e50db6e92a3c66f49f8 Mon Sep 17 00:00:00 2001 From: matcha Date: Mon, 5 Oct 2026 04:41:10 +0000 Subject: [PATCH] Bundle trusted extension background --- build.mjs | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 build.mjs diff --git a/build.mjs b/build.mjs new file mode 100644 index 0000000..895f5da --- /dev/null +++ b/build.mjs @@ -0,0 +1,9 @@ +import { build } from "esbuild"; +await build({ + entryPoints: ["src/background.js"], + bundle: true, + format: "esm", + platform: "browser", + target: "chrome120", + outfile: "extension/background.js" +});