From 58bcea76ffe9d2a19a7dcc79e7cef8fe816f4ae7 Mon Sep 17 00:00:00 2001 From: Patrice Neff Date: Thu, 5 Dec 2024 17:05:42 +0100 Subject: [PATCH] Fix export of react file Without this fix `tsc` would output the following error: src/main.tsx:2:34 - error TS2307: Cannot find module '@databorg/client/react' or its corresponding type declarations. 2 import { DataborgProvider } from '@databorg/client/react'; --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 3ece843..e961a4c 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "main": "dist/index.js", "exports": { ".": "./dist/index.js", - "./react": "./dist/react" + "./react": "./dist/react.js" }, "typings": "dist/index.d.ts", "license": "MIT",