diff --git a/package.json b/package.json index 7686cd89..27103d50 100644 --- a/package.json +++ b/package.json @@ -3,13 +3,15 @@ "version": "4.1.0", "description": "A BroadcastChannel that works in New Browsers, Old Browsers, WebWorkers and NodeJs", "exports": { - "node": { - "import": "./dist/esnode/index.js", - "default": "./dist/es5node/index.js" - }, - "browser": { - "import": "./dist/esbrowser/index.js", - "default": "./dist/lib/index.es5.js" + ".": { + "node": { + "import": "./dist/esnode/index.js", + "default": "./dist/es5node/index.js" + }, + "browser": { + "import": "./dist/esbrowser/index.js", + "default": "./dist/lib/index.es5.js" + } }, "./package.json": "./package.json" },