Skip to content

Commit 20ea485

Browse files
committed
fix: avoid bundling internals
1 parent 9b968f1 commit 20ea485

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# @bomb.sh/tools
22

3+
## 0.0.3
4+
5+
### Patch Changes
6+
7+
- Updates bundling approach to avoid code duplication
8+
39
## 0.0.2
410

511
### Patch Changes

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@bomb.sh/tools",
3-
"version": "0.0.2",
3+
"version": "0.0.3",
44
"type": "module",
55
"license": "MIT",
66
"bin": {

src/commands/build.ts

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

0 commit comments

Comments
 (0)