Skip to content

Commit

Permalink
fix(wallets): bundle internal dependencies with production bundle (#151)
Browse files Browse the repository at this point in the history
  • Loading branch information
bucko13 authored Nov 14, 2024
1 parent 5314e31 commit 5c3c456
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/thick-clouds-run.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@caravan/wallets": patch
---

fix bundling of internal dependencies
6 changes: 5 additions & 1 deletion packages/caravan-wallets/tsup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,9 @@ export default defineConfig({
globals: { process: false },
}),
],
external: ['bitbox-api'],
// make sure that the bitbox-api package is not bundled
external: ["bitbox-api"],
// noExternal makes sure that certain packages are bundled
// in the final package rather than independently installed
noExternal: ["@caravan/psbt", "@caravan/bitcoin"],
});

0 comments on commit 5c3c456

Please sign in to comment.