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