diff --git a/package.json b/package.json index b4e62183..86cfb434 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,10 @@ "description": "An implementation of the SmartWeave smart contract protocol.", "types": "./lib/types/index.d.ts", "main": "./lib/cjs/index.js", - "browser": "./bundles/web.bundle.min.js", + "browser": { + "./lib/mjs/index.js": "./bundles/web.bundle.min.js", + ".": "./bundles/web.bundle.min.js" + }, "exports": { "./web": { "import": "./lib/mjs/index.js", @@ -14,14 +17,10 @@ }, "./mjs": { "import": "./lib/mjs/index.js", - "require": "./lib/cjs/index.js", - "browser": "./bundles/web.bundle.min.js", "types": "./lib/types/index.d.ts" }, ".": { "import": "./lib/mjs/index.js", - "require": "./lib/cjs/index.js", - "browser": "./bundles/web.bundle.min.js", "types": "./lib/types/index.d.ts" } },