Skip to content

Commit 5b60518

Browse files
authored
Fix incomplete exports map in package.json (#351)
This was causing a dual-instance of @livekit/components and breaking RoomContext. See #349
1 parent f29eac2 commit 5b60518

3 files changed

Lines changed: 9 additions & 0 deletions

File tree

.changeset/quiet-crews-cover.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 incomplete exports map in package.json, causing a dual-instance of @livekit/components and breaking RoomContext

.github/workflows/changeset.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
push:
66
branches:
77
- main
8+
- 'release/**' # e.g. release/2.10.x
89

910
concurrency: ${{ github.workflow }}-${{ github.ref }}
1011

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
".": {
1010
"source": "./src/index.tsx",
1111
"types": "./lib/typescript/src/index.d.ts",
12+
"react-native": "./src/index.tsx",
13+
"import": "./lib/module/index.js",
14+
"require": "./lib/commonjs/index.js",
1215
"default": "./lib/commonjs/index.js"
1316
}
1417
},

0 commit comments

Comments
 (0)