Skip to content

Commit

Permalink
fix(storage): browser module resoltuion is not picked up by metro web (
Browse files Browse the repository at this point in the history
…#13881)

* fix(storage): browser module resolution is not picked up by metro web

* chore: add the resolution for cjs module
  • Loading branch information
HuiSF authored Oct 3, 2024
1 parent 7c334e5 commit d49b5b1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/storage/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"module": "./lib-esm/index.js",
"typings": "./lib-esm/index.d.ts",
"browser": {
"./lib-esm/AwsClients/S3/runtime/index": "./lib-esm/AwsClients/S3/runtime/index.browser.js"
"./lib-esm/AwsClients/S3/runtime/index.js": "./lib-esm/AwsClients/S3/runtime/index.browser.js",
"./lib/AwsClients/S3/runtime/index.js": "./lib/AwsClients/S3/runtime/index.browser.js"
},
"sideEffects": [
"./lib/Storage.js",
Expand Down

0 comments on commit d49b5b1

Please sign in to comment.