Skip to content

Commit e2ce0fa

Browse files
huntiemeta-codesync[bot]
authored andcommitted
Remove src/* exports mapping
Summary: Follows up #57277, going further to remove this entry point mapping entirely — D110911864 further supports that these import paths were never used externally (and in the first case, `src/private/` has always been an explicit name). **One caveat** `rn-tester` includes some runtime and Fantom test references to `'react-native/src/private/...'`. - This happens to continue working because we've not enabled `"exports"` resolution under Flow. - These can be classified as repo-local — motivation is simplifying/tightening the root `package.json` for open source. Changelog: [Internal] - (Covered by #57277) Reviewed By: rubennorte Differential Revision: D111034634
1 parent 328a975 commit e2ce0fa

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

packages/react-native/package.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,6 @@
4444
"default": "./Libraries/*.js"
4545
},
4646
"./scripts/*": "./scripts/*",
47-
"./src/*": {
48-
"types": null,
49-
"default": "./src/*.js"
50-
},
5147
"./asset-registry": {
5248
"types": null,
5349
"default": "./src/asset-registry.js"

0 commit comments

Comments
 (0)