@@ -32,7 +32,7 @@ const appExternals = [
3232function makeAppAliases ( reactChannel = '' ) {
3333 return {
3434 react$ : `next/dist/compiled/react${ reactChannel } ` ,
35- 'react/shared-subset $' : `next/dist/compiled/react${ reactChannel } /react.shared-subset ` ,
35+ 'react/react.react-server $' : `next/dist/compiled/react${ reactChannel } /react.react-server ` ,
3636 'react-dom/server-rendering-stub$' : `next/dist/compiled/react-dom${ reactChannel } /server-rendering-stub` ,
3737 'react-dom$' : `next/dist/compiled/react-dom${ reactChannel } /server-rendering-stub` ,
3838 'react/jsx-runtime$' : `next/dist/compiled/react${ reactChannel } /jsx-runtime` ,
@@ -235,10 +235,10 @@ module.exports = ({ dev, turbo, bundleType, experimental }) => {
235235 alias : {
236236 react$ : `next/dist/compiled/react${
237237 experimental ? '-experimental' : ''
238- } /react.shared-subset `,
238+ } /react.react-server `,
239239 'next/dist/compiled/react$' : `next/dist/compiled/react${
240240 experimental ? '-experimental' : ''
241- } /react.shared-subset `,
241+ } /react.react-server `,
242242 } ,
243243 } ,
244244 layer : 'react-server' ,
@@ -250,10 +250,10 @@ module.exports = ({ dev, turbo, bundleType, experimental }) => {
250250 alias : {
251251 react$ : `next/dist/compiled/react${
252252 experimental ? '-experimental' : ''
253- } /react.shared-subset `,
253+ } /react.react-server `,
254254 'next/dist/compiled/react$' : `next/dist/compiled/react${
255255 experimental ? '-experimental' : ''
256- } /react.shared-subset `,
256+ } /react.react-server `,
257257 } ,
258258 } ,
259259 } ,
0 commit comments