Skip to content

Commit 0e83313

Browse files
authored
fix(util-user-agent-browser): react native metadata (#2210)
Fix the react native entry point. Need to use the entry point pattern in react-native field of package.json, instead of replace pattern in clients. Because the later one isn't applicable to entry point file like index.js
1 parent b53cd9f commit 0e83313

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Diff for: packages/util-user-agent-browser/package.json

+1-3
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,7 @@
1717
"url": "https://aws.amazon.com/javascript/"
1818
},
1919
"license": "Apache-2.0",
20-
"react-native": {
21-
"./index": "./index.native"
22-
},
20+
"react-native": "dist/es/index.native.js",
2321
"dependencies": {
2422
"@aws-sdk/types": "3.10.0",
2523
"bowser": "^2.11.0",

0 commit comments

Comments
 (0)