Skip to content

Commit

Permalink
Update package.json
Browse files Browse the repository at this point in the history
When sub-modules contain multiple exports in react-native projects, the root package.json is required


Resolves: react-native-community/cli#1168
  • Loading branch information
JameelJiwani committed Jul 21, 2022
1 parent 38faa2b commit 358229b
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,11 @@
"module": "src/index.js",
"types": "lib/index.d.ts",
"exports": {
"import": "./lib/index.mjs",
"require": "./lib/index.js"
"./package.json": "./package.json",
".": {
"require": "./lib/index.js",
"default": "./lib/index.mjs"
}
},
"homepage": "https://github.com/thekelvinliu/country-code-emoji#readme",
"bugs": {
Expand Down

0 comments on commit 358229b

Please sign in to comment.