Skip to content

Commit 48d96a9

Browse files
committed
fix(build): ignore cloudflare/bun
1 parent 6af7aa7 commit 48d96a9

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/plenty-rooms-cheat.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@bomb.sh/tools": patch
3+
---
4+
5+
Fixes a bundling issue with `cloudflare:*` and `bun:*` import specifiers

src/commands/build.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export async function build(ctx: CommandContext) {
1717
target: "node20",
1818
minify: true,
1919
bundle: true,
20-
external: ["node:*", "../*", "./*", ...Object.keys(dependencies)],
20+
external: ["node:*", "cloudflare:*", "bun:*", "../*", "./*", ...Object.keys(dependencies)],
2121
}).catch(() => {
2222
process.exit(1);
2323
});

0 commit comments

Comments
 (0)