From 33722622b1a8104e71ae3ce0776f7ef9609da922 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ti=E1=BA=BFn=20Nguy=E1=BB=85n=20Kh=E1=BA=AFc?= Date: Mon, 17 Feb 2025 12:17:29 +1300 Subject: [PATCH] build: exclude tests from bundle (#495) --- .changeset/witty-fireants-float.md | 8 ++++++++ packages/react/tsconfig.json | 3 ++- packages/vue/tsconfig.json | 3 ++- packages/wallet-ledger/tsconfig.json | 3 ++- packages/wallet-walletconnect/tsconfig.json | 3 ++- 5 files changed, 16 insertions(+), 4 deletions(-) create mode 100644 .changeset/witty-fireants-float.md diff --git a/.changeset/witty-fireants-float.md b/.changeset/witty-fireants-float.md new file mode 100644 index 00000000..0fcb6dfe --- /dev/null +++ b/.changeset/witty-fireants-float.md @@ -0,0 +1,8 @@ +--- +"@reactive-dot/wallet-walletconnect": patch +"@reactive-dot/wallet-ledger": patch +"@reactive-dot/react": patch +"@reactive-dot/vue": patch +--- + +Excluded tests from bundle. diff --git a/packages/react/tsconfig.json b/packages/react/tsconfig.json index b8636c1f..577fd074 100644 --- a/packages/react/tsconfig.json +++ b/packages/react/tsconfig.json @@ -13,5 +13,6 @@ "sourceMap": true, "outDir": "build" }, - "include": ["src"] + "include": ["src"], + "exclude": ["**/*.test.*"] } diff --git a/packages/vue/tsconfig.json b/packages/vue/tsconfig.json index eb3ebecf..e720ff51 100644 --- a/packages/vue/tsconfig.json +++ b/packages/vue/tsconfig.json @@ -12,5 +12,6 @@ "sourceMap": true, "outDir": "build" }, - "include": ["src"] + "include": ["src"], + "exclude": ["**/*.test.*"] } diff --git a/packages/wallet-ledger/tsconfig.json b/packages/wallet-ledger/tsconfig.json index eb3ebecf..e720ff51 100644 --- a/packages/wallet-ledger/tsconfig.json +++ b/packages/wallet-ledger/tsconfig.json @@ -12,5 +12,6 @@ "sourceMap": true, "outDir": "build" }, - "include": ["src"] + "include": ["src"], + "exclude": ["**/*.test.*"] } diff --git a/packages/wallet-walletconnect/tsconfig.json b/packages/wallet-walletconnect/tsconfig.json index eb3ebecf..e720ff51 100644 --- a/packages/wallet-walletconnect/tsconfig.json +++ b/packages/wallet-walletconnect/tsconfig.json @@ -12,5 +12,6 @@ "sourceMap": true, "outDir": "build" }, - "include": ["src"] + "include": ["src"], + "exclude": ["**/*.test.*"] }