UNPKG

nihilqui

Version:

Typescript .d.ts generator from GIR for gjs and node-gtk

14 lines (13 loc) 441 B
import { build } from "esbuild"; await build({ entryPoints: ['dbus-client.ts', 'dbus-client-async.ts', 'dbus-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: 'esm', // platform: 'node', external: ['node-gtk', 'gi://*'], })