We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7c1f7d0 commit 27712a9Copy full SHA for 27712a9
.changeset/brave-cherries-sing.md
@@ -0,0 +1,5 @@
1
+---
2
+"victory-native": minor
3
4
+
5
+fix: update package.json exports format for Metro compatibility
lib/package.json
@@ -14,13 +14,13 @@
14
"types": "dist/index.d.ts",
15
"main": "dist/index.js",
16
"exports": {
17
- ".": [
18
- {
19
- "imports": "./dist/index.js",
20
- "types": "./dist/index.d.ts"
21
- },
22
- "./dist/index.js"
23
- ]
+ ".": {
+ "react-native": "./src/index.ts",
+ "types": "./dist/index.d.ts",
+ "import": "./dist/index.js",
+ "require": "./dist/index.js",
+ "default": "./src/index.ts"
+ }
24
},
25
"files": [
26
"src",
0 commit comments