mirror of
https://github.com/vale981/tridactyl
synced 2025-03-04 09:01:39 -05:00
11 lines
361 B
JavaScript
11 lines
361 B
JavaScript
const esbuild = require('esbuild')
|
|
|
|
for (let f of ["content", "background", "help", "newtab", "reader", "commandline_frame", "qrCodeGenerator"]) {
|
|
esbuild.build({
|
|
entryPoints: [`src/${f}.ts`],
|
|
bundle: true,
|
|
sourcemap: true,
|
|
target: "firefox68",
|
|
outfile: `buildtemp/${f}.js`,
|
|
}).catch(() => process.exit(1))
|
|
}
|