From c4926bd3e82153202e1b2006229f0a10a2a23e10 Mon Sep 17 00:00:00 2001 From: wolfy1339 <4595477+wolfy1339@users.noreply.github.com> Date: Mon, 18 Nov 2024 20:18:48 -0500 Subject: [PATCH] fix(build): correct path to types for browser (#583) Fixes https://github.com/octokit/octokit.js/issues/2759 --- scripts/build.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build.mjs b/scripts/build.mjs index 0bd3cf82a..9b2116284 100644 --- a/scripts/build.mjs +++ b/scripts/build.mjs @@ -87,7 +87,7 @@ async function main() { import: "./dist-node/index.js", }, browser: { - types: "./dist-types/web.d.ts", + types: "./dist-types/index.d.ts", import: "./dist-web/index.js", }, default: {