Standalone npm package at packages/buildthis/. Probes running Nexus instance, opens browser if found, guides install with hardware-aware provider recommendations if not. 14 tests. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
13 lines
369 B
JavaScript
13 lines
369 B
JavaScript
/** @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,
|
|
};
|