From 64020602af08387c82955aea269bc6be8fc51ebc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Catriel=20M=C3=BCller?= Date: Mon, 2 Aug 2021 14:02:24 -0300 Subject: [PATCH] Package.json Export Relative --- package.json | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) 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" },