Skip to content

Commit dd9c0db

Browse files
authored
fix React Native- Couldn't construct a file out of supplied options (#259)
Fix for the issue where new versions of the Metro bundler used by React Native uses a different entry point than older versions.
1 parent a00f4ea commit dd9c0db

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
},
2525
"main": "./lib/node/index.js",
2626
"react-native": "./lib/react_native/index.js",
27+
"metro": "./lib/react_native/index.js",
2728
"nativescript": "./lib/nativescript/index.js",
2829
"browser": "./dist/web/pubnub.min.js",
2930
"repository": {

0 commit comments

Comments
 (0)