Skip to content

Commit

Permalink
fix: add react-native export conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
stipsan committed Apr 17, 2024
1 parent 0d5952c commit cc0fd76
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@
"import": "./dist/index.browser.js",
"require": "./dist/index.browser.cjs"
},
"react-native": {
"import": "./dist/index.browser.js",
"require": "./dist/index.browser.cjs"
},
"react-server": "./dist/index.browser.js",
"bun": "./dist/index.browser.js",
"deno": "./dist/index.browser.js",
Expand All @@ -55,6 +59,10 @@
"import": "./dist/stega.browser.js",
"require": "./dist/stega.browser.cjs"
},
"react-native": {
"import": "./dist/index.browser.js",
"require": "./dist/index.browser.cjs"
},
"react-server": "./dist/stega.browser.js",
"bun": "./dist/stega.browser.js",
"deno": "./dist/stega.browser.js",
Expand Down

0 comments on commit cc0fd76

Please sign in to comment.