From 4d7373e1a9b4263923c0923d0e48976db65a10be Mon Sep 17 00:00:00 2001 From: Aria Minaei Date: Fri, 12 May 2023 19:13:43 +0200 Subject: [PATCH] Add support for typescript's bundle mode to `@theatre/r3f` --- packages/r3f/package.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/r3f/package.json b/packages/r3f/package.json index f3d4b5b..e9c278e 100644 --- a/packages/r3f/package.json +++ b/packages/r3f/package.json @@ -28,11 +28,13 @@ "exports": { ".": { "import": "./dist/index.esm.js", - "require": "./dist/index.js" + "require": "./dist/index.js", + "types": "./dist/index.d.ts" }, "./dist/extension": { "import": "./dist/extension/index.esm.js", - "require": "./dist/extension/index.js" + "require": "./dist/extension/index.js", + "types": "./dist/extension/index.d.ts" } }, "scripts": {