From cb2d2ab7599fb8895f009091a4a60233f451874e Mon Sep 17 00:00:00 2001 From: James Zuccon Date: Fri, 13 Sep 2024 18:51:17 +1000 Subject: [PATCH] Add browser/node specifics to Typedoc build Signed-off-by: James Zuccon --- packages/wallet/src/index.node.ts | 2 +- typedoc.json | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/wallet/src/index.node.ts b/packages/wallet/src/index.node.ts index 108e6f7..1b41278 100644 --- a/packages/wallet/src/index.node.ts +++ b/packages/wallet/src/index.node.ts @@ -1,5 +1,5 @@ // Export modules that work across all platforms. export * from './index.js'; -// These exports will only work in a browser environment. +// These exports will only work in a NodeJS (backend) environment. export * from './storage/storage-sqlite.js'; diff --git a/typedoc.json b/typedoc.json index 1e034ad..8ce5716 100644 --- a/typedoc.json +++ b/typedoc.json @@ -2,6 +2,8 @@ "entryPoints": [ "./packages/primitives/src/index.ts", "./packages/wallet/src/index.ts", + "./packages/wallet/src/index.browser.ts", + "./packages/wallet/src/index.node.ts", "./packages/vue/src/index.ts" ], "plugin": [