add external

This commit is contained in:
2025-12-17 22:32:08 +08:00
parent 22de8cad52
commit 8f29ddb449
4 changed files with 109 additions and 19 deletions

View File

@@ -6,7 +6,7 @@ import fs from 'node:fs';
// bun run src/index.ts --
import { fileURLToPath } from 'node:url';
const __dirname = path.dirname(fileURLToPath(import.meta.url));
const external = ['pm2', '@kevisual/hot-api'];
const external = ['pm2', '@kevisual/hot-api', '@nut-tree-fork/nut-js'];
/**
*
* @param {string} p