mirror of
https://github.com/pmndrs/zustand.git
synced 2025-12-08 19:45:52 +00:00
react-native condition for CJS (#3087)
This commit is contained in:
parent
c72ac92764
commit
850777bbfc
@ -27,6 +27,10 @@
|
||||
"exports": {
|
||||
"./package.json": "./package.json",
|
||||
".": {
|
||||
"react-native": {
|
||||
"types": "./index.d.ts",
|
||||
"default": "./index.js"
|
||||
},
|
||||
"import": {
|
||||
"types": "./esm/index.d.mts",
|
||||
"default": "./esm/index.mjs"
|
||||
@ -37,6 +41,10 @@
|
||||
}
|
||||
},
|
||||
"./*": {
|
||||
"react-native": {
|
||||
"types": "./*.d.ts",
|
||||
"default": "./*.js"
|
||||
},
|
||||
"import": {
|
||||
"types": "./esm/*.d.mts",
|
||||
"default": "./esm/*.mjs"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user