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" } },