// build.js import { build } from 'esbuild'; build({ entryPoints: ['src/index.ts'], bundle: true, platform: 'node', target: 'node22', format: 'esm', outfile: 'dist/index.js', sourcemap: true, packages: 'external', }).catch(() => process.exit(1));