diff --git a/packages/util-user-agent-browser/package.json b/packages/util-user-agent-browser/package.json index 93c07a4c125a9..c6c799094b386 100644 --- a/packages/util-user-agent-browser/package.json +++ b/packages/util-user-agent-browser/package.json @@ -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",