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,