Skip to content

Commit 100c541

Browse files
committed
fix: NodeJS bundle invalid
Signed-off-by: Gordon Smith <GordonJSmith@gmail.com>
1 parent 0d1e42f commit 100c541

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

packages/comms/esbuild.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ import { nodeTpl, nodeBoth } from "@hpcc-js/esbuild-plugins";
22

33
// config ---
44
await Promise.all([
5-
nodeBoth("src/index.node.ts", "dist/node/index", { packages: "bundle" }),
5+
nodeBoth("src/index.node.ts", "dist/node/index", {
6+
packages: "external",
7+
external: ["node:*"]
8+
}),
69
nodeTpl("utils/index.ts", "lib-esm/index")
710
]);

0 commit comments

Comments
 (0)