Skip to content

Commit 68ba052

Browse files
committed
Add support for legacy entrypoints
These are the likely candidates of public entrypoints to have been used with strict module resolution. `./cjs/` is not supported because that means you'd be able to choose dev vs prod which you shouldn't.
1 parent d77e5f6 commit 68ba052

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/use-sync-external-store/package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,16 @@
55
"exports": {
66
".": "./index.js",
77
"./with-selector": "./with-selector.js",
8+
"./with-selector.js": "./with-selector.js",
89
"./shim": {
910
"react-native": "./shim/index.native.js",
1011
"default": "./shim/index.js"
1112
},
13+
"./shim/index.js": "./shim/index.js",
1214
"./shim/index.native": "./shim/index.native.js",
15+
"./shim/index.native.js": "./shim/index.native.js",
1316
"./shim/with-selector": "./shim/with-selector.js",
17+
"./shim/with-selector.js": "./shim/with-selector.js",
1418
"./package.json": "./package.json",
1519
"./src/*": "./src/*.js"
1620
},

0 commit comments

Comments
 (0)