Skip to content

Commit

Permalink
add package.json to exports for React Native (#74)
Browse files Browse the repository at this point in the history
  • Loading branch information
acostalima authored Dec 22, 2020
1 parent 4f89309 commit 89e22a1
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,11 @@
"module": "./dist/bundle/module.js",
"types": "./dist/declarations/index.d.ts",
"exports": {
"import": "./dist/bundle/index.mjs",
"require": "./dist/bundle/index.js"
"./package.json": "./package.json",
".": {
"import": "./dist/bundle/index.mjs",
"require": "./dist/bundle/index.js"
}
},
"files": [
"dist/bundle",
Expand Down Expand Up @@ -72,4 +75,4 @@
],
"testEnvironment": "node"
}
}
}

0 comments on commit 89e22a1

Please sign in to comment.