File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ const forks = Object.freeze({
43
43
// happens. Other bundles just require('object-assign') anyway.
44
44
return null ;
45
45
}
46
- if ( entry === 'react' || entry === 'react/unstable-common -subset' ) {
46
+ if ( entry === 'react' || entry === 'react/unstable-shared -subset' ) {
47
47
// Use the forked version that uses ES modules instead of CommonJS.
48
48
return 'shared/forks/object-assign.inline-umd.js' ;
49
49
}
@@ -64,7 +64,7 @@ const forks = Object.freeze({
64
64
// Without this fork, importing `shared/ReactSharedInternals` inside
65
65
// the `react` package itself would not work due to a cyclical dependency.
66
66
'shared/ReactSharedInternals' : ( bundleType , entry , dependencies ) => {
67
- if ( entry === 'react' || entry === 'react/unstable-common -subset' ) {
67
+ if ( entry === 'react' || entry === 'react/unstable-shared -subset' ) {
68
68
return 'react/src/ReactSharedInternals.js' ;
69
69
}
70
70
if ( ! entry . startsWith ( 'react/' ) && dependencies . indexOf ( 'react' ) === - 1 ) {
You can’t perform that action at this time.
0 commit comments