Skip to content

Commit

Permalink
fix invalid exports configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
nygardk committed Nov 29, 2023
1 parent 7846c3d commit ddcf9c8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/serious-rabbits-agree.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"react-share": patch
---

Fixed invalid `exports` configuration (reference to `dist/index.cjs`).
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.umd.cjs",
"require": "./dist/index.cjs",
"types": "./dist/index.d.ts"
}
},
Expand Down

0 comments on commit ddcf9c8

Please sign in to comment.