From dcfad0c9c54332f876802dcd824a09878543497f Mon Sep 17 00:00:00 2001 From: indooorsman Date: Wed, 31 Jan 2024 10:19:43 +0800 Subject: [PATCH 1/3] fix: change exports[.].module to .mjs as package type is not explicit declared --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 7222eea..fe7ec40 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ "./package.json": "./package.json", ".": { "types": "./dist/src/index.d.ts", - "module": "./dist/index.modern.js", + "module": "./dist/index.modern.mjs", "import": "./dist/index.modern.mjs", "default": "./dist/index.umd.js" } From 76e1c37af79576b63974b29d33e7e4180d65ddb3 Mon Sep 17 00:00:00 2001 From: indooorsman Date: Wed, 31 Jan 2024 11:49:23 +0800 Subject: [PATCH 2/3] fix: change exports[.].module to .mjs as package type is not explicit declared --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index fe7ec40..04bbf65 100644 --- a/package.json +++ b/package.json @@ -19,8 +19,8 @@ "./package.json": "./package.json", ".": { "types": "./dist/src/index.d.ts", - "module": "./dist/index.modern.mjs", "import": "./dist/index.modern.mjs", + "module": "./dist/index.modern.js", "default": "./dist/index.umd.js" } }, From 220b3535a6d53861d50c2939bf01c1c59637ee49 Mon Sep 17 00:00:00 2001 From: indooorsman Date: Thu, 1 Feb 2024 09:59:36 +0800 Subject: [PATCH 3/3] remove exports[.].modules --- package.json | 1 - 1 file changed, 1 deletion(-) diff --git a/package.json b/package.json index 04bbf65..4d5f58c 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,6 @@ ".": { "types": "./dist/src/index.d.ts", "import": "./dist/index.modern.mjs", - "module": "./dist/index.modern.js", "default": "./dist/index.umd.js" } },