From bd42482eda4d85c7046d465daae5997b152a14da Mon Sep 17 00:00:00 2001 From: Cristian Oliveira Date: Fri, 10 Feb 2023 16:38:58 +0100 Subject: [PATCH 1/2] fix: invalid path for export in package.json --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index c5ba342..5d222c7 100644 --- a/package.json +++ b/package.json @@ -15,8 +15,8 @@ }, "exports": { ".": { - "import": "./index.mjs", - "default": "./index.js" + "import": "./src/index.mjs", + "default": "./src/index.mjs" }, "./polyfill": { "default": "./polyfill/index.js" From d0ccf20ffa0cfa9158a3a0cd617a63b6e54694f4 Mon Sep 17 00:00:00 2001 From: Cristian Oliveira Date: Wed, 15 Feb 2023 17:07:55 +0100 Subject: [PATCH 2/2] fix: point to dist files Co-authored-by: Ryan Christian <33403762+rschristian@users.noreply.github.com> --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 5d222c7..8edf8ab 100644 --- a/package.json +++ b/package.json @@ -15,8 +15,8 @@ }, "exports": { ".": { - "import": "./src/index.mjs", - "default": "./src/index.mjs" + "import": "./dist/unfetch.mjs", + "default": "./dist/unfetch.js" }, "./polyfill": { "default": "./polyfill/index.js"