nihilqui
Version:
Typescript .d.ts generator from GIR for gjs and node-gtk
12 lines • 383 B
JavaScript
require('esbuild').build({
entryPoints: ['http-client.ts', 'http-server.ts'],
outdir: 'dist',
bundle: true,
// target: "firefox60", // Since GJS 1.53.90
// target: "firefox68", // Since GJS 1.63.90
target: "firefox78", // Since GJS 1.65.90
// target: "firefox91", // Since GJS 1.71.1
format: 'cjs',
platform: 'node',
external: ['node-gtk'],
})