Skip to content

Commit 433655d

Browse files
committed
Fixed react-native warning about package.json export
1 parent 8f42d92 commit 433655d

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

package.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,12 @@
2020
"README.md"
2121
],
2222
"exports": {
23-
"import": "./lib/index.esm.js",
24-
"require": "./lib/index.cjs.js",
25-
"default": "./lib/index.cjs.js"
23+
".": {
24+
"import": "./lib/index.esm.js",
25+
"require": "./lib/index.cjs.js",
26+
"default": "./lib/index.cjs.js"
27+
},
28+
"./package.json": "./package.json"
2629
},
2730
"scripts": {
2831
"prepublishOnly": "yarn compile",

0 commit comments

Comments
 (0)