diff --git a/package.json b/package.json index 883cc769..e0325be2 100644 --- a/package.json +++ b/package.json @@ -40,6 +40,9 @@ "browser": { "./index.js": "./index.browser.js" }, + "react-native": { + "./index.js": "./index.browser.js" + }, "bin": "./bin/nanoid.js", "sideEffects": false, "types": "./index.d.ts",