diff --git a/package.json b/package.json index 10ee58f7fc..6bd9c41083 100644 --- a/package.json +++ b/package.json @@ -8,6 +8,10 @@ ".": { "types": "./dist/index.d.ts", "import": "./dist/index.js" + }, + "./lib/create_waku": { + "types": "./dist/lib/create_waku.d.ts", + "import": "./dist/lib/create_waku.js" } }, "type": "module", diff --git a/typedoc.json b/typedoc.json index 2c65e565a0..eba01ebeba 100644 --- a/typedoc.json +++ b/typedoc.json @@ -1,5 +1,5 @@ { - "entryPoints": ["./src/index.ts"], + "entryPoints": ["./src/index.ts", "./src/lib/create_waku.ts"], "out": "build/docs", "exclude": "**/*.spec.ts", "excludeInternal": true,