mirror of
https://github.com/zebrajr/react.git
synced 2025-12-06 00:20:04 +01:00
use-sync-external-store: Add exports field to package.json (#25231)
This commit is contained in:
parent
9b042f9d59
commit
ad03c48a71
|
|
@ -2,6 +2,22 @@
|
|||
"name": "use-sync-external-store",
|
||||
"description": "Backwards compatible shim for React's useSyncExternalStore. Works with any React that supports hooks.",
|
||||
"version": "1.5.0",
|
||||
"exports": {
|
||||
".": "./index.js",
|
||||
"./with-selector": "./with-selector.js",
|
||||
"./with-selector.js": "./with-selector.js",
|
||||
"./shim": {
|
||||
"react-native": "./shim/index.native.js",
|
||||
"default": "./shim/index.js"
|
||||
},
|
||||
"./shim/index.js": "./shim/index.js",
|
||||
"./shim/index.native": "./shim/index.native.js",
|
||||
"./shim/index.native.js": "./shim/index.native.js",
|
||||
"./shim/with-selector": "./shim/with-selector.js",
|
||||
"./shim/with-selector.js": "./shim/with-selector.js",
|
||||
"./package.json": "./package.json",
|
||||
"./src/*": "./src/*.js"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/facebook/react.git",
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user