Skip to content

Commit

Permalink
fix(util-user-agent-browser): react native metadata (#2210)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
AllanZhengYP committed Apr 5, 2021
1 parent b53cd9f commit 0e83313
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/util-user-agent-browser/package.json
Expand Up @@ -17,9 +17,7 @@
"url": "https://aws.amazon.com/javascript/"
},
"license": "Apache-2.0",
"react-native": {
"./index": "./index.native"
},
"react-native": "dist/es/index.native.js",
"dependencies": {
"@aws-sdk/types": "3.10.0",
"bowser": "^2.11.0",
Expand Down

0 comments on commit 0e83313

Please sign in to comment.