From 7aca5ffb6dbdf8af6d18d8be0c3e7f983702a470 Mon Sep 17 00:00:00 2001 From: KPal <48248865+kpal81xd@users.noreply.github.com> Date: Fri, 23 Feb 2024 14:41:29 +0000 Subject: [PATCH] React export fix (#349) * reverted export pathing for react * changed main to import in package json exports --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 3c415ad5..07173263 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,7 @@ "exports": { ".": "./dist/module/src/index.mjs", "./react": { - "main": "./react/dist/module/src/index.mjs", + "import": "./react/dist/module/src/index.mjs", "types": "./react/types/index.d.ts" }, "./styles": "./styles/dist/index.mjs"