Skip to content

Commit

Permalink
fix(cli): Add esbuild loader for .node files for codebase
Browse files Browse the repository at this point in the history
  • Loading branch information
LewisJEllis authored Aug 8, 2024
1 parent 413ad2c commit a77f74c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cli/script.ts
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,9 @@ export async function handleFile(
platform: "node",
packages: "bundle",
target: "node20.15.1",
loader: {
".node": "file",
},
});
bundleContent = out.outputFiles[0].text;
if (Array.isArray(codebase.assets) && codebase.assets.length > 0) {
Expand Down

0 comments on commit a77f74c

Please sign in to comment.