diff --git a/package.json b/package.json index 821b274..f592d67 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-shared-states", - "version": "1.0.18", + "version": "1.0.19", "type": "module", "description": "Global state made as simple as useState, with zero config, built-in async caching, and automatic scoping.", "keywords": [ @@ -14,6 +14,12 @@ ], "main": "dist/main.min.js", "module": "dist/main.esm.js", + "exports": { + ".": { + "import": "./dist/main.esm.js", + "require": "./dist/main.min.js" + } + }, "types": "dist/index.d.ts", "scripts": { "tsc": "tsc",