From b200bf1cac20aa12d7156488000801ecbba73726 Mon Sep 17 00:00:00 2001 From: buck Date: Thu, 14 Nov 2024 14:28:40 -0600 Subject: [PATCH] fix: @caravan/bitcoin shouldn't be noExternal --- .changeset/brave-pigs-repeat.md | 5 +++++ packages/caravan-wallets/tsup.config.ts | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/brave-pigs-repeat.md diff --git a/.changeset/brave-pigs-repeat.md b/.changeset/brave-pigs-repeat.md new file mode 100644 index 00000000..c4268d4c --- /dev/null +++ b/.changeset/brave-pigs-repeat.md @@ -0,0 +1,5 @@ +--- +"@caravan/wallets": patch +--- + +fix an issue where caravan/bitcoin couldn't be pre-bundled diff --git a/packages/caravan-wallets/tsup.config.ts b/packages/caravan-wallets/tsup.config.ts index 0d72484e..63f147d5 100644 --- a/packages/caravan-wallets/tsup.config.ts +++ b/packages/caravan-wallets/tsup.config.ts @@ -11,5 +11,5 @@ export default defineConfig({ external: ["bitbox-api"], // noExternal makes sure that certain packages are bundled // in the final package rather than independently installed - noExternal: ["@caravan/psbt", "@caravan/bitcoin"], + noExternal: ["@caravan/psbt"], });