tridactyl.tridactyl/scripts/esbuild.js
Oliver Blanthorn 3387a4f864
Fix #822: add browser button to toggle superignore
Ideally this would inherit the user's theme but I don't think
I care enough to do that
2026-07-25 12:41:21 +02:00

12 lines
385 B
JavaScript

const esbuild = require('esbuild')
for (let f of ["content", "background", "help", "newtab", "reader", "commandline_frame", "qrCodeGenerator", "browser_action_popup"]) {
esbuild.build({
entryPoints: [`src/${f}.ts`],
bundle: true,
sourcemap: true,
target: "firefox68",
outfile: `buildtemp/${f}.js`,
}).catch(() => process.exit(1))
}