mirror of
https://github.com/tridactyl/tridactyl.git
synced 2026-09-10 07:16:33 -04:00
12 lines
385 B
JavaScript
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))
|
|
}
|