From 703eede036f9dbbf09868135c669a16b64a754e0 Mon Sep 17 00:00:00 2001 From: Kalin Kostov Date: Mon, 13 Feb 2023 12:16:20 +0200 Subject: [PATCH 1/3] added browser field to exports in package json Signed-off-by: Kalin Kostov --- package.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index a810d95fc..689332877 100644 --- a/package.json +++ b/package.json @@ -18,6 +18,9 @@ "main": "index.js", "exports": { ".": { + "browser": { + "default": "./browser.js" + }, "import": "./wrapper.mjs", "require": "./index.js" }, @@ -61,4 +64,4 @@ "prettier": "^2.0.5", "utf-8-validate": "^6.0.0" } -} +} \ No newline at end of file From c2921d7649461fe1bbf13d1a66970b3a1d309250 Mon Sep 17 00:00:00 2001 From: Luigi Pinca Date: Mon, 13 Feb 2023 18:58:15 +0100 Subject: [PATCH 2/3] Update package.json --- package.json | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/package.json b/package.json index 689332877..7470b94a0 100644 --- a/package.json +++ b/package.json @@ -18,9 +18,7 @@ "main": "index.js", "exports": { ".": { - "browser": { - "default": "./browser.js" - }, + "browser": "./browser.js", "import": "./wrapper.mjs", "require": "./index.js" }, From a476f36e0a82f2c11fa96b03f4fd6764f7a96c45 Mon Sep 17 00:00:00 2001 From: Luigi Pinca Date: Mon, 13 Feb 2023 18:58:20 +0100 Subject: [PATCH 3/3] Update package.json --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 7470b94a0..5f9a3de32 100644 --- a/package.json +++ b/package.json @@ -62,4 +62,4 @@ "prettier": "^2.0.5", "utf-8-validate": "^6.0.0" } -} \ No newline at end of file +}