mirror of
https://github.com/zebrajr/react.git
synced 2026-01-15 12:15:22 +00:00
Update the exports field (#23257)
* Add .browser and .node explicit entry points This can be useful when the automatic selection doesn't work properly. * Remove react/index I'm not sure why I added this in the first place. Perhaps due to how our builds work somehow. * Remove build-info.json from files field
This commit is contained in:
committed by
GitHub
parent
7b541a980d
commit
0dedfcc681
@@ -10,7 +10,6 @@
|
||||
"files": [
|
||||
"LICENSE",
|
||||
"README.md",
|
||||
"build-info.json",
|
||||
"index.js",
|
||||
"cjs/"
|
||||
],
|
||||
|
||||
@@ -10,7 +10,6 @@
|
||||
"files": [
|
||||
"LICENSE",
|
||||
"README.md",
|
||||
"build-info.json",
|
||||
"index.js",
|
||||
"cjs"
|
||||
],
|
||||
|
||||
@@ -25,7 +25,6 @@
|
||||
"files": [
|
||||
"LICENSE",
|
||||
"README.md",
|
||||
"build-info.json",
|
||||
"index.js",
|
||||
"cjs/"
|
||||
]
|
||||
|
||||
@@ -29,7 +29,6 @@
|
||||
"files": [
|
||||
"LICENSE",
|
||||
"README.md",
|
||||
"build-info.json",
|
||||
"index.js",
|
||||
"cjs/"
|
||||
]
|
||||
|
||||
@@ -34,7 +34,6 @@
|
||||
"files": [
|
||||
"LICENSE",
|
||||
"README.md",
|
||||
"build-info.json",
|
||||
"index.js",
|
||||
"cjs/",
|
||||
"umd/",
|
||||
|
||||
@@ -11,7 +11,6 @@
|
||||
"files": [
|
||||
"LICENSE",
|
||||
"README.md",
|
||||
"build-info.json",
|
||||
"index.js",
|
||||
"cjs/",
|
||||
"umd/"
|
||||
|
||||
@@ -12,7 +12,6 @@
|
||||
"files": [
|
||||
"LICENSE",
|
||||
"README.md",
|
||||
"build-info.json",
|
||||
"index.js",
|
||||
"cjs/"
|
||||
],
|
||||
|
||||
@@ -12,7 +12,6 @@
|
||||
"files": [
|
||||
"dist",
|
||||
"backend.js",
|
||||
"build-info.json",
|
||||
"standalone.js"
|
||||
],
|
||||
"scripts": {
|
||||
|
||||
@@ -12,7 +12,6 @@
|
||||
"files": [
|
||||
"dist",
|
||||
"backend.js",
|
||||
"build-info.json",
|
||||
"frontend.js",
|
||||
"hookNames.js"
|
||||
],
|
||||
|
||||
@@ -27,7 +27,6 @@
|
||||
"files": [
|
||||
"LICENSE",
|
||||
"README.md",
|
||||
"build-info.json",
|
||||
"index.js",
|
||||
"profiling.js",
|
||||
"server.js",
|
||||
@@ -46,8 +45,11 @@
|
||||
"browser": "./server.browser.js",
|
||||
"default": "./server.node.js"
|
||||
},
|
||||
"./server.browser": "./server.browser.js",
|
||||
"./server.node": "./server.node.js",
|
||||
"./profiling": "./profiling.js",
|
||||
"./test-utils": "./test-utils.js",
|
||||
"./unstable_testing": "./unstable_testing.js",
|
||||
"./package.json": "./package.json",
|
||||
"./": "./"
|
||||
},
|
||||
|
||||
@@ -10,7 +10,6 @@
|
||||
"files": [
|
||||
"LICENSE",
|
||||
"README.md",
|
||||
"build-info.json",
|
||||
"index.js",
|
||||
"index.node.js",
|
||||
"index.browser.js",
|
||||
|
||||
@@ -10,7 +10,6 @@
|
||||
"files": [
|
||||
"LICENSE",
|
||||
"README.md",
|
||||
"build-info.json",
|
||||
"index.js",
|
||||
"index.node.server.js",
|
||||
"index.browser.server.js",
|
||||
|
||||
@@ -21,7 +21,6 @@
|
||||
"events/press.js",
|
||||
"events/press-legacy.js",
|
||||
"events/tap.js",
|
||||
"build-info.json",
|
||||
"cjs/",
|
||||
"umd/"
|
||||
],
|
||||
|
||||
@@ -19,7 +19,6 @@
|
||||
"files": [
|
||||
"LICENSE",
|
||||
"README.md",
|
||||
"build-info.json",
|
||||
"index.js",
|
||||
"cjs/",
|
||||
"umd/"
|
||||
|
||||
@@ -22,7 +22,6 @@
|
||||
"files": [
|
||||
"LICENSE",
|
||||
"README.md",
|
||||
"build-info.json",
|
||||
"index.js",
|
||||
"persistent.js",
|
||||
"server.js",
|
||||
|
||||
@@ -10,7 +10,6 @@
|
||||
"files": [
|
||||
"LICENSE",
|
||||
"README.md",
|
||||
"build-info.json",
|
||||
"index.js",
|
||||
"index.node.server.js",
|
||||
"index.browser.server.js",
|
||||
|
||||
@@ -11,7 +11,6 @@
|
||||
"files": [
|
||||
"LICENSE",
|
||||
"README.md",
|
||||
"build-info.json",
|
||||
"constants.js",
|
||||
"index.js",
|
||||
"reflection.js",
|
||||
|
||||
@@ -13,7 +13,6 @@
|
||||
"README.md",
|
||||
"babel.js",
|
||||
"runtime.js",
|
||||
"build-info.json",
|
||||
"cjs/",
|
||||
"umd/"
|
||||
],
|
||||
|
||||
@@ -11,7 +11,6 @@
|
||||
"files": [
|
||||
"LICENSE",
|
||||
"README.md",
|
||||
"build-info.json",
|
||||
"index.js",
|
||||
"plugin.js",
|
||||
"writer.js",
|
||||
|
||||
@@ -30,7 +30,6 @@
|
||||
"files": [
|
||||
"LICENSE",
|
||||
"README.md",
|
||||
"build-info.json",
|
||||
"index.js",
|
||||
"shallow.js",
|
||||
"cjs/",
|
||||
|
||||
@@ -24,10 +24,6 @@
|
||||
"react-server": "./unstable-shared-subset.js",
|
||||
"default": "./index.js"
|
||||
},
|
||||
"./index": {
|
||||
"react-server": "./unstable-shared-subset.js",
|
||||
"default": "./index.js"
|
||||
},
|
||||
"./package.json": "./package.json",
|
||||
"./jsx-runtime": "./jsx-runtime.js",
|
||||
"./jsx-dev-runtime": "./jsx-dev-runtime.js",
|
||||
|
||||
@@ -23,7 +23,6 @@
|
||||
"files": [
|
||||
"LICENSE",
|
||||
"README.md",
|
||||
"build-info.json",
|
||||
"index.js",
|
||||
"unstable_mock.js",
|
||||
"unstable_post_task.js",
|
||||
|
||||
@@ -10,7 +10,6 @@
|
||||
"files": [
|
||||
"LICENSE",
|
||||
"README.md",
|
||||
"build-info.json",
|
||||
"index.js",
|
||||
"cjs/"
|
||||
],
|
||||
|
||||
@@ -10,7 +10,6 @@
|
||||
"files": [
|
||||
"LICENSE",
|
||||
"README.md",
|
||||
"build-info.json",
|
||||
"index.js",
|
||||
"index.native.js",
|
||||
"with-selector.js",
|
||||
|
||||
Reference in New Issue
Block a user