From ddcf9c8cc45cac1d8113d962406382ceb49d15a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Klaus=20Nyga=CC=8Ard?= Date: Wed, 29 Nov 2023 14:59:01 +0200 Subject: [PATCH] fix invalid exports configuration --- .changeset/serious-rabbits-agree.md | 5 +++++ package.json | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/serious-rabbits-agree.md diff --git a/.changeset/serious-rabbits-agree.md b/.changeset/serious-rabbits-agree.md new file mode 100644 index 00000000..09045ffb --- /dev/null +++ b/.changeset/serious-rabbits-agree.md @@ -0,0 +1,5 @@ +--- +"react-share": patch +--- + +Fixed invalid `exports` configuration (reference to `dist/index.cjs`). diff --git a/package.json b/package.json index 60b12d18..9b327a9c 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "exports": { ".": { "import": "./dist/index.js", - "require": "./dist/index.umd.cjs", + "require": "./dist/index.cjs", "types": "./dist/index.d.ts" } },