Skip to content

Commit c7c3da7

Browse files
author
robin
committed
[run] issue-1843: mark react-native as optional peer dependency to resolve npm ERESOLVE conflict
1 parent 68ed37f commit c7c3da7

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

packages/taro-ui/package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,5 +88,10 @@
8888
"@tarojs/plugin-platform-weapp": ">=3",
8989
"@tarojs/taro-rn": ">=3"
9090
},
91+
"peerDependenciesMeta": {
92+
"react-native": {
93+
"optional": true
94+
}
95+
},
9196
"gitHead": "c33cc7fbb734f0dbdd6e305dda1bc8300e5adbe2"
9297
}

0 commit comments

Comments
 (0)