Skip to content

Commit beee1fb

Browse files
authored
Fix metro warning on invalid path configuration in package.json (#343)
Fixes #338
1 parent 5486644 commit beee1fb

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

.changeset/sharp-kids-open.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@livekit/react-native': patch
3+
---
4+
5+
Fix metro warning on invalid path configuration in package.json

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
"name": "@livekit/react-native",
33
"version": "2.10.0",
44
"description": "LiveKit for React Native",
5-
"main": "lib/commonjs/index",
6-
"module": "lib/module/index",
5+
"main": "lib/commonjs/index.js",
6+
"module": "lib/module/index.js",
77
"types": "lib/typescript/src/index.d.ts",
88
"exports": {
99
".": {
1010
"source": "./src/index.tsx",
1111
"types": "./lib/typescript/src/index.d.ts",
12-
"default": "./lib/commonjs/index"
12+
"default": "./lib/commonjs/index.js"
1313
}
1414
},
1515
"react-native": "src/index",

0 commit comments

Comments
 (0)