/** @type {import('esbuild').BuildOptions} */
export default {
  entryPoints: ["src/index.ts"],
  bundle: true,
  platform: "node",
  target: "node20",
  format: "esm",
  outfile: "dist/index.js",
  banner: { js: "#!/usr/bin/env node" },
  external: ["systeminformation", "open", "@clack/prompts", "commander", "picocolors"],
  treeShaking: true,
  sourcemap: true,
};
