Skip to content

Commit a77f74c

Browse files
authored
fix(cli): Add esbuild loader for .node files for codebase
1 parent 413ad2c commit a77f74c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cli/script.ts

+3
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,9 @@ export async function handleFile(
166166
platform: "node",
167167
packages: "bundle",
168168
target: "node20.15.1",
169+
loader: {
170+
".node": "file",
171+
},
169172
});
170173
bundleContent = out.outputFiles[0].text;
171174
if (Array.isArray(codebase.assets) && codebase.assets.length > 0) {

0 commit comments

Comments
 (0)