Skip to content

Commit

Permalink
fix(javascript): react-native lite resolution (#3771)
Browse files Browse the repository at this point in the history
  • Loading branch information
shortcuts authored Sep 18, 2024
1 parent 45edcd8 commit 9010765
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
},
"./src/*": "./src/*.ts"
},
"react-native": "./dist/requester.xhr.js",
"files": [
"dist",
"src",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
},
"./src/*": "./src/*.ts"
},
"react-native": "./dist/requester.fetch.browser.js",
"files": [
"dist",
"src",
Expand Down
5 changes: 4 additions & 1 deletion templates/javascript/clients/package.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,10 @@
},
"jsdelivr": "./dist/algoliasearch.umd.js",
"unpkg": "./dist/algoliasearch.umd.js",
"react-native": "./dist/browser.js",
"react-native": {
".": "./dist/browser.js",
"./lite": "./dist/lite/builds/browser.js"
},
"files": [
"dist",
"builds",
Expand Down

0 comments on commit 9010765

Please sign in to comment.