Skip to content

Commit

Permalink
fix: export package.json
Browse files Browse the repository at this point in the history
Apparently, React Native and various bundler tools expect to be able to
import/require package.json, which will fail if `exports` is being used
but not exporting package.json:
uuidjs/uuid#444

Fixes #107
  • Loading branch information
ianprime0509 committed Jul 15, 2022
1 parent 5125345 commit baf961f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Expand Up @@ -10,6 +10,7 @@
"main": "index.js",
"types": "index.d.ts",
"exports": {
"./package.json": "./package.json",
".": {
"types": "./index.d.ts",
"import": "./index.js"
Expand Down

0 comments on commit baf961f

Please sign in to comment.