From 402c1a689e33e7ed0c954ac94f996913e4973a7b Mon Sep 17 00:00:00 2001 From: FC <68158483+FC5570@users.noreply.github.com> Date: Fri, 22 Apr 2022 02:36:36 +0530 Subject: [PATCH] fix: issues with esm module (#184) --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 864c15f4..cfc8d3d0 100644 --- a/package.json +++ b/package.json @@ -11,8 +11,8 @@ "module": "dist/react-if.esm.js", "types": "dist/index.d.ts", "exports": { - "import": "./dist/index.js", - "require": "./dist/react-if.esm.js", + "import": "./dist/react-if.esm.js", + "require": "./dist/index.js", "types": "./dist/index.d.ts" }, "sideEffects": false,