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