From a23fe145b0f2085c424d068122699611ba85605b Mon Sep 17 00:00:00 2001 From: Kanad Gupta Date: Fri, 11 Aug 2023 14:10:28 -0500 Subject: [PATCH 1/2] fix: add `exports` field to `package.json` --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index 2f57729..ddb3ef3 100644 --- a/package.json +++ b/package.json @@ -56,6 +56,7 @@ "Daan " ], "type": "module", + "exports": "./index.js", "sideEffects": false, "bin": "cli.js", "types": "index.d.ts", From c6df608da9b5ab7ac5941a3b61b2ec22d673bd84 Mon Sep 17 00:00:00 2001 From: Kanad Gupta Date: Tue, 15 Aug 2023 15:06:23 -0500 Subject: [PATCH 2/2] Update package.json --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index ddb3ef3..22a1970 100644 --- a/package.json +++ b/package.json @@ -56,7 +56,7 @@ "Daan " ], "type": "module", - "exports": "./index.js", + "main": "index.js", "sideEffects": false, "bin": "cli.js", "types": "index.d.ts",