diff --git a/packages/next-swc/crates/next-core/src/next_import_map.rs b/packages/next-swc/crates/next-core/src/next_import_map.rs index 210d9b898a537..f41516c44839b 100644 --- a/packages/next-swc/crates/next-core/src/next_import_map.rs +++ b/packages/next-swc/crates/next-core/src/next_import_map.rs @@ -700,27 +700,39 @@ async fn rsc_aliases( ServerContextType::AppSSR { .. } => { alias.extend(indexmap! { "react/jsx-runtime" => format!("next/dist/server/future/route-modules/app-page/vendored/ssr/react-jsx-runtime"), + "next/dist/compiled/react/jsx-runtime" => format!("next/dist/server/future/route-modules/app-page/vendored/ssr/react-jsx-runtime"), "react/jsx-dev-runtime" => format!("next/dist/server/future/route-modules/app-page/vendored/ssr/react-jsx-dev-runtime"), + "next/dist/compiled/react/jsx-dev-runtime" => format!("next/dist/server/future/route-modules/app-page/vendored/ssr/react-jsx-dev-runtime"), "react" => format!("next/dist/server/future/route-modules/app-page/vendored/ssr/react"), + "next/dist/compiled/react" => format!("next/dist/server/future/route-modules/app-page/vendored/ssr/react"), "react-dom" => format!("next/dist/server/future/route-modules/app-page/vendored/ssr/react-dom"), + "next/dist/compiled/react-dom" => format!("next/dist/server/future/route-modules/app-page/vendored/ssr/react-dom"), "react-server-dom-webpack/client.edge" => format!("next/dist/server/future/route-modules/app-page/vendored/ssr/react-server-dom-turbopack-client-edge"), + "next/dist/compiled/react-server-dom-webpack/client.edge" => format!("next/dist/server/future/route-modules/app-page/vendored/ssr/react-server-dom-turbopack-client-edge"), "react-server-dom-turbopack/client.edge" => format!("next/dist/server/future/route-modules/app-page/vendored/ssr/react-server-dom-turbopack-client-edge"), + "next/dist/compiled/react-server-dom-turbopack/client.edge" => format!("next/dist/server/future/route-modules/app-page/vendored/ssr/react-server-dom-turbopack-client-edge"), }) } ServerContextType::AppRSC { .. } | ServerContextType::AppRoute { .. } => { alias.extend(indexmap! { "react/jsx-runtime" => format!("next/dist/server/future/route-modules/app-page/vendored/rsc/react-jsx-runtime"), + "next/dist/compiled/react/jsx-runtime" => format!("next/dist/server/future/route-modules/app-page/vendored/rsc/react-jsx-runtime"), "react/jsx-dev-runtime" => format!("next/dist/server/future/route-modules/app-page/vendored/rsc/react-jsx-dev-runtime"), + "next/dist/compiled/react/jsx-dev-runtime" => format!("next/dist/server/future/route-modules/app-page/vendored/rsc/react-jsx-dev-runtime"), "react" => format!("next/dist/server/future/route-modules/app-page/vendored/rsc/react"), + "next/dist/compiled/react" => format!("next/dist/server/future/route-modules/app-page/vendored/rsc/react"), "react-dom" => format!("next/dist/server/future/route-modules/app-page/vendored/rsc/react-dom"), + "next/dist/compiled/react-dom" => format!("next/dist/server/future/route-modules/app-page/vendored/rsc/react-dom"), "react-server-dom-webpack/server.edge" => format!("next/dist/server/future/route-modules/app-page/vendored/rsc/react-server-dom-turbopack-server-edge"), + "next/dist/compiled/react-server-dom-webpack/server.edge" => format!("next/dist/server/future/route-modules/app-page/vendored/rsc/react-server-dom-turbopack-server-edge"), "react-server-dom-webpack/server.node" => format!("next/dist/server/future/route-modules/app-page/vendored/rsc/react-server-dom-turbopack-server-node"), + "next/dist/compiled/react-server-dom-webpack/server.node" => format!("next/dist/server/future/route-modules/app-page/vendored/rsc/react-server-dom-turbopack-server-node"), "react-server-dom-turbopack/server.edge" => format!("next/dist/server/future/route-modules/app-page/vendored/rsc/react-server-dom-turbopack-server-edge"), + "next/dist/compiled/react-server-dom-turbopack/server.edge" => format!("next/dist/server/future/route-modules/app-page/vendored/rsc/react-server-dom-turbopack-server-edge"), "react-server-dom-turbopack/server.node" => format!("next/dist/server/future/route-modules/app-page/vendored/rsc/react-server-dom-turbopack-server-node"), + "next/dist/compiled/react-server-dom-turbopack/server.node" => format!("next/dist/server/future/route-modules/app-page/vendored/rsc/react-server-dom-turbopack-server-node"), "next/navigation" => format!("next/dist/api/navigation.react-server"), - // Needed to make `react-dom/server` work. - "next/dist/compiled/react" => format!("next/dist/compiled/react/index.js"), }) } _ => {} diff --git a/packages/next/src/build/create-compiler-aliases.ts b/packages/next/src/build/create-compiler-aliases.ts index 482108bd422d0..08b180c0efa58 100644 --- a/packages/next/src/build/create-compiler-aliases.ts +++ b/packages/next/src/build/create-compiler-aliases.ts @@ -118,8 +118,6 @@ export function createWebpackAliases({ } : undefined), - next: NEXT_PROJECT_ROOT, - 'styled-jsx/style$': defaultOverrides['styled-jsx/style'], 'styled-jsx$': defaultOverrides['styled-jsx'], @@ -273,19 +271,30 @@ export function createRSCAliases( if (layer === WEBPACK_LAYERS.serverSideRendering) { alias = Object.assign(alias, { 'react/jsx-runtime$': `next/dist/server/future/route-modules/app-page/vendored/${layer}/react-jsx-runtime`, + 'next/dist/compiled/react/jsx-runtime$': `next/dist/server/future/route-modules/app-page/vendored/${layer}/react-jsx-runtime`, 'react/jsx-dev-runtime$': `next/dist/server/future/route-modules/app-page/vendored/${layer}/react-jsx-dev-runtime`, + 'next/dist/compiled/react/jsx-dev-runtime$': `next/dist/server/future/route-modules/app-page/vendored/${layer}/react-jsx-dev-runtime`, react$: `next/dist/server/future/route-modules/app-page/vendored/${layer}/react`, + 'next/dist/compiled/react$': `next/dist/server/future/route-modules/app-page/vendored/${layer}/react`, 'react-dom$': `next/dist/server/future/route-modules/app-page/vendored/${layer}/react-dom`, + 'next/dist/compiled/react-dom$': `next/dist/server/future/route-modules/app-page/vendored/${layer}/react-dom`, 'react-server-dom-webpack/client.edge$': `next/dist/server/future/route-modules/app-page/vendored/${layer}/react-server-dom-webpack-client-edge`, + 'next/dist/compiled/react-server-dom-webpack/client.edge$': `next/dist/server/future/route-modules/app-page/vendored/${layer}/react-server-dom-webpack-client-edge`, }) } else if (layer === WEBPACK_LAYERS.reactServerComponents) { alias = Object.assign(alias, { 'react/jsx-runtime$': `next/dist/server/future/route-modules/app-page/vendored/${layer}/react-jsx-runtime`, + 'next/dist/compiled/react/jsx-runtime$': `next/dist/server/future/route-modules/app-page/vendored/${layer}/react-jsx-runtime`, 'react/jsx-dev-runtime$': `next/dist/server/future/route-modules/app-page/vendored/${layer}/react-jsx-dev-runtime`, + 'next/dist/compiled/react/jsx-dev-runtime$': `next/dist/server/future/route-modules/app-page/vendored/${layer}/react-jsx-dev-runtime`, react$: `next/dist/server/future/route-modules/app-page/vendored/${layer}/react`, + 'next/dist/compiled/react$': `next/dist/server/future/route-modules/app-page/vendored/${layer}/react`, 'react-dom$': `next/dist/server/future/route-modules/app-page/vendored/${layer}/react-dom`, + 'next/dist/compiled/react-dom$': `next/dist/server/future/route-modules/app-page/vendored/${layer}/react-dom`, 'react-server-dom-webpack/server.edge$': `next/dist/server/future/route-modules/app-page/vendored/${layer}/react-server-dom-webpack-server-edge`, + 'next/dist/compiled/react-server-dom-webpack/server.edge$': `next/dist/server/future/route-modules/app-page/vendored/${layer}/react-server-dom-webpack-server-edge`, 'react-server-dom-webpack/server.node$': `next/dist/server/future/route-modules/app-page/vendored/${layer}/react-server-dom-webpack-server-node`, + 'next/dist/compiled/react-server-dom-webpack/server.node$': `next/dist/server/future/route-modules/app-page/vendored/${layer}/react-server-dom-webpack-server-node`, }) } } @@ -295,14 +304,23 @@ export function createRSCAliases( alias[ 'react$' ] = `next/dist/compiled/react${bundledReactChannel}/react.react-server` + alias[ + 'next/dist/compiled/react$' + ] = `next/dist/compiled/react${bundledReactChannel}/react.react-server` alias[ 'react-dom$' ] = `next/dist/compiled/react-dom${bundledReactChannel}/react-dom.react-server` + alias[ + 'next/dist/compiled/react-dom$' + ] = `next/dist/compiled/react-dom${bundledReactChannel}/react-dom.react-server` } else { // x-ref: https://github.com/facebook/react/pull/25436 alias[ 'react-dom$' ] = `next/dist/compiled/react-dom${bundledReactChannel}/server-rendering-stub` + alias[ + 'next/dist/compiled/react-dom$' + ] = `next/dist/compiled/react-dom${bundledReactChannel}/server-rendering-stub` } } @@ -310,6 +328,9 @@ export function createRSCAliases( alias[ 'react-dom$' ] = `next/dist/compiled/react-dom${bundledReactChannel}/profiling` + alias[ + 'next/dist/compiled/react-dom$' + ] = `next/dist/compiled/react-dom${bundledReactChannel}/profiling` } alias[ diff --git a/packages/next/src/build/webpack-config.ts b/packages/next/src/build/webpack-config.ts index 2342810063bb7..10146ad4625cf 100644 --- a/packages/next/src/build/webpack-config.ts +++ b/packages/next/src/build/webpack-config.ts @@ -1682,6 +1682,13 @@ export default async function getBaseWebpackConfig( ] }, }, + { + resolve: { + alias: { + next: NEXT_PROJECT_ROOT, + }, + }, + }, ], }, plugins: [ diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.development.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.development.js index 3ba92e6d38510..9c6a2bcb1906e 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.development.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.development.js @@ -15,7 +15,7 @@ if (process.env.NODE_ENV !== "production") { 'use strict'; var React = require("next/dist/compiled/react-experimental"); -var ReactDOM = require('react-dom'); +var ReactDOM = require("next/dist/compiled/react-dom-experimental"); var ReactVersion = '18.3.0-experimental-c3048aab4-20240326'; diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.production.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.production.js index b1148ffbcc87a..57521e078a810 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.production.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.production.js @@ -11,7 +11,7 @@ 'use strict'; var React = require("next/dist/compiled/react-experimental"); -var ReactDOM = require('react-dom'); +var ReactDOM = require("next/dist/compiled/react-dom-experimental"); // Do not require this module directly! Use normal `invariant` calls with // template literal strings. The messages will be replaced with error codes diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.production.min.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.production.min.js index f09e849a14858..ff9c64c9fe3d2 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.production.min.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.production.min.js @@ -29,7 +29,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -'use strict';var ba=require("next/dist/compiled/react-experimental"),ca=require("react-dom");function q(a){var b="https://react.dev/errors/"+a;if(1>>16)&65535)<<16)&4294967295;f=f<<15|f>>>17;f=461845907*(f&65535)+((461845907*(f>>>16)&65535)<<16)&4294967295;e^=f;e=e<<13|e>>>19;e=5*(e&65535)+((5*(e>>>16)&65535)<<16)&4294967295;e=(e&65535)+27492+(((e>>>16)+58964&65535)<<16)}f=0;switch(c){case 3:f^=(a.charCodeAt(b+2)&255)<< diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.node.development.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.node.development.js index 6fb42ab756ba9..307dbcc64c1b5 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.node.development.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.node.development.js @@ -15,7 +15,7 @@ if (process.env.NODE_ENV !== "production") { 'use strict'; var React = require("next/dist/compiled/react-experimental"); -var ReactDOM = require('react-dom'); +var ReactDOM = require("next/dist/compiled/react-dom-experimental"); var stream = require('stream'); var ReactVersion = '18.3.0-experimental-c3048aab4-20240326'; diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.node.production.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.node.production.js index 2aef123da9418..df7141456060f 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.node.production.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.node.production.js @@ -11,7 +11,7 @@ 'use strict'; var React = require("next/dist/compiled/react-experimental"); -var ReactDOM = require('react-dom'); +var ReactDOM = require("next/dist/compiled/react-dom-experimental"); var stream = require('stream'); var ReactVersion = '18.3.0-experimental-c3048aab4-20240326'; diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.node.production.min.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.node.production.min.js index bfb9df0eefd43..a22704356df63 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.node.production.min.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.node.production.min.js @@ -29,7 +29,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -'use strict';var aa=require("next/dist/compiled/react-experimental"),ba=require("react-dom"),ea=require("stream"),fa=Symbol.for("react.element"),ha=Symbol.for("react.portal"),na=Symbol.for("react.fragment"),oa=Symbol.for("react.strict_mode"),pa=Symbol.for("react.profiler"),qa=Symbol.for("react.provider"),Ba=Symbol.for("react.consumer"),Ca=Symbol.for("react.context"),Da=Symbol.for("react.forward_ref"),Ea=Symbol.for("react.suspense"),Fa=Symbol.for("react.suspense_list"),Ga=Symbol.for("react.memo"),Ma=Symbol.for("react.lazy"),Na=Symbol.for("react.scope"), +'use strict';var aa=require("next/dist/compiled/react-experimental"),ba=require("next/dist/compiled/react-dom-experimental"),ea=require("stream"),fa=Symbol.for("react.element"),ha=Symbol.for("react.portal"),na=Symbol.for("react.fragment"),oa=Symbol.for("react.strict_mode"),pa=Symbol.for("react.profiler"),qa=Symbol.for("react.provider"),Ba=Symbol.for("react.consumer"),Ca=Symbol.for("react.context"),Da=Symbol.for("react.forward_ref"),Ea=Symbol.for("react.suspense"),Fa=Symbol.for("react.suspense_list"),Ga=Symbol.for("react.memo"),Ma=Symbol.for("react.lazy"),Na=Symbol.for("react.scope"), Oa=Symbol.for("react.debug_trace_mode"),Pa=Symbol.for("react.offscreen"),Qa=Symbol.for("react.legacy_hidden"),Ra=Symbol.for("react.cache"),$a=Symbol.for("react.memo_cache_sentinel"),gb=Symbol.for("react.postpone"),hb=Symbol.iterator,ib=Array.isArray; function jb(a,b){var c=a.length&3;var d=a.length-c;var e=b;for(b=0;b>>16)&65535)<<16)&4294967295;f=f<<15|f>>>17;f=461845907*(f&65535)+((461845907*(f>>>16)&65535)<<16)&4294967295;e^=f;e=e<<13|e>>>19;e=5*(e&65535)+((5*(e>>>16)&65535)<<16)&4294967295;e=(e&65535)+27492+(((e>>>16)+58964&65535)<<16)}f=0;switch(c){case 3:f^=(a.charCodeAt(b+2)&255)<< 16;case 2:f^=(a.charCodeAt(b+1)&255)<<8;case 1:f^=a.charCodeAt(b)&255,f=3432918353*(f&65535)+((3432918353*(f>>>16)&65535)<<16)&4294967295,f=f<<15|f>>>17,e^=461845907*(f&65535)+((461845907*(f>>>16)&65535)<<16)&4294967295}e^=a.length;e^=e>>>16;e=2246822507*(e&65535)+((2246822507*(e>>>16)&65535)<<16)&4294967295;e^=e>>>13;e=3266489909*(e&65535)+((3266489909*(e>>>16)&65535)<<16)&4294967295;return(e^e>>>16)>>>0} diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.browser.development.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.browser.development.js index 7b6a36d050d78..c4e4fffe3dd37 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.browser.development.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.browser.development.js @@ -15,7 +15,7 @@ if (process.env.NODE_ENV !== "production") { 'use strict'; var React = require("next/dist/compiled/react-experimental"); -var ReactDOM = require('react-dom'); +var ReactDOM = require("next/dist/compiled/react-dom-experimental"); var ReactVersion = '18.3.0-experimental-c3048aab4-20240326'; diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.browser.production.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.browser.production.js index 4278b6eb38536..2ccabad81087c 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.browser.production.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.browser.production.js @@ -11,7 +11,7 @@ 'use strict'; var React = require("next/dist/compiled/react-experimental"); -var ReactDOM = require('react-dom'); +var ReactDOM = require("next/dist/compiled/react-dom-experimental"); var ReactVersion = '18.3.0-experimental-c3048aab4-20240326'; diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.browser.production.min.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.browser.production.min.js index a76c4894b4b4d..dbd517b01486a 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.browser.production.min.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.browser.production.min.js @@ -29,7 +29,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -'use strict';var aa=require("next/dist/compiled/react-experimental"),ba=require("react-dom");function m(a){var b="https://react.dev/errors/"+a;if(1>>16)&65535)<<16)&4294967295;f=f<<15|f>>>17;f=461845907*(f&65535)+((461845907*(f>>>16)&65535)<<16)&4294967295;e^=f;e=e<<13|e>>>19;e=5*(e&65535)+((5*(e>>>16)&65535)<<16)&4294967295;e=(e&65535)+27492+(((e>>>16)+58964&65535)<<16)}f=0;switch(c){case 3:f^=(a.charCodeAt(b+2)&255)<< diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.bun.production.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.bun.production.js index fa7c784308985..cc5a6c7771847 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.bun.production.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.bun.production.js @@ -11,7 +11,7 @@ 'use strict'; var React = require("next/dist/compiled/react-experimental"); -var ReactDOM = require('react-dom'); +var ReactDOM = require("next/dist/compiled/react-dom-experimental"); var ReactVersion = '18.3.0-experimental-c3048aab4-20240326'; diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.edge.development.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.edge.development.js index b5385d0be6d90..8d7afdb07644d 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.edge.development.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.edge.development.js @@ -15,7 +15,7 @@ if (process.env.NODE_ENV !== "production") { 'use strict'; var React = require("next/dist/compiled/react-experimental"); -var ReactDOM = require('react-dom'); +var ReactDOM = require("next/dist/compiled/react-dom-experimental"); var ReactVersion = '18.3.0-experimental-c3048aab4-20240326'; diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.edge.production.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.edge.production.js index 4630440de94bf..5a7443ca9a06a 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.edge.production.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.edge.production.js @@ -11,7 +11,7 @@ 'use strict'; var React = require("next/dist/compiled/react-experimental"); -var ReactDOM = require('react-dom'); +var ReactDOM = require("next/dist/compiled/react-dom-experimental"); var ReactVersion = '18.3.0-experimental-c3048aab4-20240326'; diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.edge.production.min.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.edge.production.min.js index dce140f169939..3bc562f5dfe75 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.edge.production.min.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.edge.production.min.js @@ -29,7 +29,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -'use strict';var aa=require("next/dist/compiled/react-experimental"),ba=require("react-dom"),ca=Symbol.for("react.element"),ha=Symbol.for("react.portal"),ia=Symbol.for("react.fragment"),la=Symbol.for("react.strict_mode"),ma=Symbol.for("react.profiler"),qa=Symbol.for("react.provider"),ra=Symbol.for("react.consumer"),sa=Symbol.for("react.context"),ta=Symbol.for("react.forward_ref"),ua=Symbol.for("react.suspense"),ya=Symbol.for("react.suspense_list"),za=Symbol.for("react.memo"),Aa=Symbol.for("react.lazy"),Ba=Symbol.for("react.scope"), +'use strict';var aa=require("next/dist/compiled/react-experimental"),ba=require("next/dist/compiled/react-dom-experimental"),ca=Symbol.for("react.element"),ha=Symbol.for("react.portal"),ia=Symbol.for("react.fragment"),la=Symbol.for("react.strict_mode"),ma=Symbol.for("react.profiler"),qa=Symbol.for("react.provider"),ra=Symbol.for("react.consumer"),sa=Symbol.for("react.context"),ta=Symbol.for("react.forward_ref"),ua=Symbol.for("react.suspense"),ya=Symbol.for("react.suspense_list"),za=Symbol.for("react.memo"),Aa=Symbol.for("react.lazy"),Ba=Symbol.for("react.scope"), Ka=Symbol.for("react.debug_trace_mode"),La=Symbol.for("react.offscreen"),Ma=Symbol.for("react.legacy_hidden"),Na=Symbol.for("react.cache"),Oa=Symbol.for("react.memo_cache_sentinel"),Pa=Symbol.for("react.postpone"),Qa=Symbol.iterator,Ra=Array.isArray; function Sa(a,b){var c=a.length&3;var d=a.length-c;var e=b;for(b=0;b>>16)&65535)<<16)&4294967295;f=f<<15|f>>>17;f=461845907*(f&65535)+((461845907*(f>>>16)&65535)<<16)&4294967295;e^=f;e=e<<13|e>>>19;e=5*(e&65535)+((5*(e>>>16)&65535)<<16)&4294967295;e=(e&65535)+27492+(((e>>>16)+58964&65535)<<16)}f=0;switch(c){case 3:f^=(a.charCodeAt(b+2)&255)<< 16;case 2:f^=(a.charCodeAt(b+1)&255)<<8;case 1:f^=a.charCodeAt(b)&255,f=3432918353*(f&65535)+((3432918353*(f>>>16)&65535)<<16)&4294967295,f=f<<15|f>>>17,e^=461845907*(f&65535)+((461845907*(f>>>16)&65535)<<16)&4294967295}e^=a.length;e^=e>>>16;e=2246822507*(e&65535)+((2246822507*(e>>>16)&65535)<<16)&4294967295;e^=e>>>13;e=3266489909*(e&65535)+((3266489909*(e>>>16)&65535)<<16)&4294967295;return(e^e>>>16)>>>0}var m=null,p=0; diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.node.development.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.node.development.js index 07551e15b6bf0..8c1b3feb189df 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.node.development.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.node.development.js @@ -18,7 +18,7 @@ var React = require("next/dist/compiled/react-experimental"); var util = require('util'); var crypto = require('crypto'); var async_hooks = require('async_hooks'); -var ReactDOM = require('react-dom'); +var ReactDOM = require("next/dist/compiled/react-dom-experimental"); var stream = require('stream'); var ReactVersion = '18.3.0-experimental-c3048aab4-20240326'; diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.node.production.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.node.production.js index 890efdb9ab60d..d3f0b5b93b3a3 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.node.production.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.node.production.js @@ -14,7 +14,7 @@ var util = require('util'); var crypto = require('crypto'); var async_hooks = require('async_hooks'); var React = require("next/dist/compiled/react-experimental"); -var ReactDOM = require('react-dom'); +var ReactDOM = require("next/dist/compiled/react-dom-experimental"); var stream = require('stream'); var ReactVersion = '18.3.0-experimental-c3048aab4-20240326'; diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.node.production.min.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.node.production.min.js index db052d54d21ec..7015dd30e09f9 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.node.production.min.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.node.production.min.js @@ -7,7 +7,7 @@ This source code is licensed under the MIT license found in the LICENSE file in the root directory of this source tree. */ -'use strict';var aa=require("util"),ba=require("crypto"),fa=require("async_hooks"),ha=require("next/dist/compiled/react-experimental"),ka=require("react-dom"),la=require("stream"),ma=Symbol.for("react.element"),qa=Symbol.for("react.portal"),ra=Symbol.for("react.fragment"),sa=Symbol.for("react.strict_mode"),ta=Symbol.for("react.profiler"),xa=Symbol.for("react.provider"),ya=Symbol.for("react.consumer"),za=Symbol.for("react.context"),Aa=Symbol.for("react.forward_ref"),Ja=Symbol.for("react.suspense"),Ka=Symbol.for("react.suspense_list"), +'use strict';var aa=require("util"),ba=require("crypto"),fa=require("async_hooks"),ha=require("next/dist/compiled/react-experimental"),ka=require("next/dist/compiled/react-dom-experimental"),la=require("stream"),ma=Symbol.for("react.element"),qa=Symbol.for("react.portal"),ra=Symbol.for("react.fragment"),sa=Symbol.for("react.strict_mode"),ta=Symbol.for("react.profiler"),xa=Symbol.for("react.provider"),ya=Symbol.for("react.consumer"),za=Symbol.for("react.context"),Aa=Symbol.for("react.forward_ref"),Ja=Symbol.for("react.suspense"),Ka=Symbol.for("react.suspense_list"), La=Symbol.for("react.memo"),Ma=Symbol.for("react.lazy"),Na=Symbol.for("react.scope"),Oa=Symbol.for("react.debug_trace_mode"),Pa=Symbol.for("react.offscreen"),Qa=Symbol.for("react.legacy_hidden"),Ra=Symbol.for("react.cache"),Sa=Symbol.for("react.memo_cache_sentinel"),Ya=Symbol.for("react.postpone"),Za=Symbol.iterator,$a=Array.isArray;function ab(a){"function"===typeof a.flush&&a.flush()}var m=null,p=0,bb=!0; function u(a,b){if("string"===typeof b){if(0!==b.length)if(2048<3*b.length)0>>16)&65535)<<16)&4294967295;f=f<<15|f>>>17;f=461845907*(f&65535)+((461845907*(f>>>16)&65535)<<16)&4294967295;e^=f;e=e<<13|e>>>19;e=5*(e&65535)+((5*(e>>>16)&65535)<<16)&4294967295;e=(e&65535)+27492+(((e>>>16)+58964&65535)<<16)}f=0;switch(c){case 3:f^=(a.charCodeAt(b+2)&255)<< diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.node.development.js b/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.node.development.js index b26d4696a403f..c5d01853904e5 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.node.development.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.node.development.js @@ -15,7 +15,7 @@ if (process.env.NODE_ENV !== "production") { 'use strict'; var React = require("next/dist/compiled/react"); -var ReactDOM = require('react-dom'); +var ReactDOM = require("next/dist/compiled/react-dom"); var stream = require('stream'); var ReactVersion = '18.3.0-canary-c3048aab4-20240326'; diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.node.production.js b/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.node.production.js index eb814baba5d86..aee3838f063a9 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.node.production.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.node.production.js @@ -11,7 +11,7 @@ 'use strict'; var React = require("next/dist/compiled/react"); -var ReactDOM = require('react-dom'); +var ReactDOM = require("next/dist/compiled/react-dom"); var stream = require('stream'); var ReactVersion = '18.3.0-canary-c3048aab4-20240326'; diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.node.production.min.js b/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.node.production.min.js index 6d3ae716c3b4c..990017bbea22f 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.node.production.min.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.node.production.min.js @@ -29,7 +29,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -'use strict';var da=require("next/dist/compiled/react"),ea=require("react-dom"),ja=require("stream"),ka=Symbol.for("react.element"),la=Symbol.for("react.portal"),ma=Symbol.for("react.fragment"),ya=Symbol.for("react.strict_mode"),za=Symbol.for("react.profiler"),Aa=Symbol.for("react.provider"),Ba=Symbol.for("react.consumer"),Ca=Symbol.for("react.context"),Ia=Symbol.for("react.forward_ref"),Ja=Symbol.for("react.suspense"),Ka=Symbol.for("react.suspense_list"),La=Symbol.for("react.memo"),Ma=Symbol.for("react.lazy"),Za=Symbol.for("react.scope"), +'use strict';var da=require("next/dist/compiled/react"),ea=require("next/dist/compiled/react-dom"),ja=require("stream"),ka=Symbol.for("react.element"),la=Symbol.for("react.portal"),ma=Symbol.for("react.fragment"),ya=Symbol.for("react.strict_mode"),za=Symbol.for("react.profiler"),Aa=Symbol.for("react.provider"),Ba=Symbol.for("react.consumer"),Ca=Symbol.for("react.context"),Ia=Symbol.for("react.forward_ref"),Ja=Symbol.for("react.suspense"),Ka=Symbol.for("react.suspense_list"),La=Symbol.for("react.memo"),Ma=Symbol.for("react.lazy"),Za=Symbol.for("react.scope"), fb=Symbol.for("react.debug_trace_mode"),gb=Symbol.for("react.offscreen"),hb=Symbol.for("react.legacy_hidden"),ib=Symbol.for("react.cache"),jb=Symbol.iterator,kb=Array.isArray; function lb(a,b){var c=a.length&3;var d=a.length-c;var e=b;for(b=0;b>>16)&65535)<<16)&4294967295;f=f<<15|f>>>17;f=461845907*(f&65535)+((461845907*(f>>>16)&65535)<<16)&4294967295;e^=f;e=e<<13|e>>>19;e=5*(e&65535)+((5*(e>>>16)&65535)<<16)&4294967295;e=(e&65535)+27492+(((e>>>16)+58964&65535)<<16)}f=0;switch(c){case 3:f^=(a.charCodeAt(b+2)&255)<< 16;case 2:f^=(a.charCodeAt(b+1)&255)<<8;case 1:f^=a.charCodeAt(b)&255,f=3432918353*(f&65535)+((3432918353*(f>>>16)&65535)<<16)&4294967295,f=f<<15|f>>>17,e^=461845907*(f&65535)+((461845907*(f>>>16)&65535)<<16)&4294967295}e^=a.length;e^=e>>>16;e=2246822507*(e&65535)+((2246822507*(e>>>16)&65535)<<16)&4294967295;e^=e>>>13;e=3266489909*(e&65535)+((3266489909*(e>>>16)&65535)<<16)&4294967295;return(e^e>>>16)>>>0} diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom-server.browser.development.js b/packages/next/src/compiled/react-dom/cjs/react-dom-server.browser.development.js index f4013647566b0..d249c28079ce4 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom-server.browser.development.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom-server.browser.development.js @@ -15,7 +15,7 @@ if (process.env.NODE_ENV !== "production") { 'use strict'; var React = require("next/dist/compiled/react"); -var ReactDOM = require('react-dom'); +var ReactDOM = require("next/dist/compiled/react-dom"); var ReactVersion = '18.3.0-canary-c3048aab4-20240326'; diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom-server.browser.production.js b/packages/next/src/compiled/react-dom/cjs/react-dom-server.browser.production.js index 792682f8a6ecb..2d63ed51e2cbb 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom-server.browser.production.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom-server.browser.production.js @@ -11,7 +11,7 @@ 'use strict'; var React = require("next/dist/compiled/react"); -var ReactDOM = require('react-dom'); +var ReactDOM = require("next/dist/compiled/react-dom"); var ReactVersion = '18.3.0-canary-c3048aab4-20240326'; diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom-server.browser.production.min.js b/packages/next/src/compiled/react-dom/cjs/react-dom-server.browser.production.min.js index 1f8c3e591a854..ca84387feef89 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom-server.browser.production.min.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom-server.browser.production.min.js @@ -29,7 +29,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -'use strict';var aa=require("next/dist/compiled/react"),ba=require("react-dom");function k(a){var b="https://react.dev/errors/"+a;if(1>>16)&65535)<<16)&4294967295;f=f<<15|f>>>17;f=461845907*(f&65535)+((461845907*(f>>>16)&65535)<<16)&4294967295;e^=f;e=e<<13|e>>>19;e=5*(e&65535)+((5*(e>>>16)&65535)<<16)&4294967295;e=(e&65535)+27492+(((e>>>16)+58964&65535)<<16)}f=0;switch(c){case 3:f^=(a.charCodeAt(b+2)&255)<< diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom-server.bun.production.js b/packages/next/src/compiled/react-dom/cjs/react-dom-server.bun.production.js index ea426296d54dc..9bb18c871c28d 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom-server.bun.production.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom-server.bun.production.js @@ -11,7 +11,7 @@ 'use strict'; var React = require("next/dist/compiled/react"); -var ReactDOM = require('react-dom'); +var ReactDOM = require("next/dist/compiled/react-dom"); var ReactVersion = '18.3.0-canary-c3048aab4-20240326'; diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom-server.edge.development.js b/packages/next/src/compiled/react-dom/cjs/react-dom-server.edge.development.js index 33615e9c84ead..78fcc2bb075a1 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom-server.edge.development.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom-server.edge.development.js @@ -15,7 +15,7 @@ if (process.env.NODE_ENV !== "production") { 'use strict'; var React = require("next/dist/compiled/react"); -var ReactDOM = require('react-dom'); +var ReactDOM = require("next/dist/compiled/react-dom"); var ReactVersion = '18.3.0-canary-c3048aab4-20240326'; diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom-server.edge.production.js b/packages/next/src/compiled/react-dom/cjs/react-dom-server.edge.production.js index 1218dce963dc0..e33028e13aedb 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom-server.edge.production.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom-server.edge.production.js @@ -11,7 +11,7 @@ 'use strict'; var React = require("next/dist/compiled/react"); -var ReactDOM = require('react-dom'); +var ReactDOM = require("next/dist/compiled/react-dom"); var ReactVersion = '18.3.0-canary-c3048aab4-20240326'; diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom-server.edge.production.min.js b/packages/next/src/compiled/react-dom/cjs/react-dom-server.edge.production.min.js index af0a4a5916ee1..7df93860353fc 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom-server.edge.production.min.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom-server.edge.production.min.js @@ -29,7 +29,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -'use strict';var ba=require("next/dist/compiled/react"),da=require("react-dom"),ea=Symbol.for("react.element"),ha=Symbol.for("react.portal"),ka=Symbol.for("react.fragment"),la=Symbol.for("react.strict_mode"),ma=Symbol.for("react.profiler"),ra=Symbol.for("react.provider"),sa=Symbol.for("react.consumer"),ta=Symbol.for("react.context"),ua=Symbol.for("react.forward_ref"),Fa=Symbol.for("react.suspense"),Ga=Symbol.for("react.suspense_list"),Ha=Symbol.for("react.memo"),Ia=Symbol.for("react.lazy"),Ja=Symbol.for("react.scope"), +'use strict';var ba=require("next/dist/compiled/react"),da=require("next/dist/compiled/react-dom"),ea=Symbol.for("react.element"),ha=Symbol.for("react.portal"),ka=Symbol.for("react.fragment"),la=Symbol.for("react.strict_mode"),ma=Symbol.for("react.profiler"),ra=Symbol.for("react.provider"),sa=Symbol.for("react.consumer"),ta=Symbol.for("react.context"),ua=Symbol.for("react.forward_ref"),Fa=Symbol.for("react.suspense"),Ga=Symbol.for("react.suspense_list"),Ha=Symbol.for("react.memo"),Ia=Symbol.for("react.lazy"),Ja=Symbol.for("react.scope"), Ka=Symbol.for("react.debug_trace_mode"),La=Symbol.for("react.offscreen"),Ta=Symbol.for("react.legacy_hidden"),Ua=Symbol.for("react.cache"),Va=Symbol.iterator,Wa=Array.isArray; function Xa(a,b){var c=a.length&3;var d=a.length-c;var e=b;for(b=0;b>>16)&65535)<<16)&4294967295;f=f<<15|f>>>17;f=461845907*(f&65535)+((461845907*(f>>>16)&65535)<<16)&4294967295;e^=f;e=e<<13|e>>>19;e=5*(e&65535)+((5*(e>>>16)&65535)<<16)&4294967295;e=(e&65535)+27492+(((e>>>16)+58964&65535)<<16)}f=0;switch(c){case 3:f^=(a.charCodeAt(b+2)&255)<< 16;case 2:f^=(a.charCodeAt(b+1)&255)<<8;case 1:f^=a.charCodeAt(b)&255,f=3432918353*(f&65535)+((3432918353*(f>>>16)&65535)<<16)&4294967295,f=f<<15|f>>>17,e^=461845907*(f&65535)+((461845907*(f>>>16)&65535)<<16)&4294967295}e^=a.length;e^=e>>>16;e=2246822507*(e&65535)+((2246822507*(e>>>16)&65535)<<16)&4294967295;e^=e>>>13;e=3266489909*(e&65535)+((3266489909*(e>>>16)&65535)<<16)&4294967295;return(e^e>>>16)>>>0}var k=null,n=0; diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom-server.node.development.js b/packages/next/src/compiled/react-dom/cjs/react-dom-server.node.development.js index 33d77b3a58113..fe575ea12b55a 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom-server.node.development.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom-server.node.development.js @@ -18,7 +18,7 @@ var React = require("next/dist/compiled/react"); var util = require('util'); var crypto = require('crypto'); var async_hooks = require('async_hooks'); -var ReactDOM = require('react-dom'); +var ReactDOM = require("next/dist/compiled/react-dom"); var ReactVersion = '18.3.0-canary-c3048aab4-20240326'; diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom-server.node.production.js b/packages/next/src/compiled/react-dom/cjs/react-dom-server.node.production.js index 9081c2117ff02..6b6a7236bad8b 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom-server.node.production.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom-server.node.production.js @@ -14,7 +14,7 @@ var util = require('util'); var crypto = require('crypto'); var async_hooks = require('async_hooks'); var React = require("next/dist/compiled/react"); -var ReactDOM = require('react-dom'); +var ReactDOM = require("next/dist/compiled/react-dom"); var ReactVersion = '18.3.0-canary-c3048aab4-20240326'; diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom-server.node.production.min.js b/packages/next/src/compiled/react-dom/cjs/react-dom-server.node.production.min.js index 5925cd3ab66ae..1028dc6ffe33e 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom-server.node.production.min.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom-server.node.production.min.js @@ -7,7 +7,7 @@ This source code is licensed under the MIT license found in the LICENSE file in the root directory of this source tree. */ -'use strict';var aa=require("util"),ca=require("crypto"),da=require("async_hooks"),fa=require("next/dist/compiled/react"),ha=require("react-dom"),ka=Symbol.for("react.element"),la=Symbol.for("react.portal"),ma=Symbol.for("react.fragment"),ra=Symbol.for("react.strict_mode"),sa=Symbol.for("react.profiler"),ta=Symbol.for("react.provider"),ua=Symbol.for("react.consumer"),Fa=Symbol.for("react.context"),Ga=Symbol.for("react.forward_ref"),Ha=Symbol.for("react.suspense"),Ia=Symbol.for("react.suspense_list"),Ja=Symbol.for("react.memo"), +'use strict';var aa=require("util"),ca=require("crypto"),da=require("async_hooks"),fa=require("next/dist/compiled/react"),ha=require("next/dist/compiled/react-dom"),ka=Symbol.for("react.element"),la=Symbol.for("react.portal"),ma=Symbol.for("react.fragment"),ra=Symbol.for("react.strict_mode"),sa=Symbol.for("react.profiler"),ta=Symbol.for("react.provider"),ua=Symbol.for("react.consumer"),Fa=Symbol.for("react.context"),Ga=Symbol.for("react.forward_ref"),Ha=Symbol.for("react.suspense"),Ia=Symbol.for("react.suspense_list"),Ja=Symbol.for("react.memo"), Ka=Symbol.for("react.lazy"),La=Symbol.for("react.scope"),Ma=Symbol.for("react.debug_trace_mode"),Ua=Symbol.for("react.offscreen"),Va=Symbol.for("react.legacy_hidden"),Wa=Symbol.for("react.cache"),Xa=Symbol.iterator,Ya=Array.isArray;function Za(a){"function"===typeof a.flush&&a.flush()}var k=null,n=0,$a=!0; function u(a,b){if("string"===typeof b){if(0!==b.length)if(2048<3*b.length)0 { 'next/dist/compiled/react$': `next/dist/compiled/react${ experimental ? '-experimental' : '' }/react.react-server`, + 'next/dist/compiled/react-experimental$': `next/dist/compiled/react-experimental/react.react-server`, 'react-dom$': `next/dist/compiled/react-dom${ experimental ? '-experimental' : '' }/react-dom.react-server`, 'next/dist/compiled/react-dom$': `next/dist/compiled/react-dom${ experimental ? '-experimental' : '' }/react-dom.react-server`, + 'next/dist/compiled/react-dom-experimental$': `next/dist/compiled/react-dom-experimental/react-dom.react-server`, }, }, layer: 'react-server', @@ -261,12 +264,14 @@ module.exports = ({ dev, turbo, bundleType, experimental }) => { 'next/dist/compiled/react$': `next/dist/compiled/react${ experimental ? '-experimental' : '' }/react.react-server`, + 'next/dist/compiled/react-experimental$': `next/dist/compiled/react-experimental/react.react-server`, 'react-dom$': `next/dist/compiled/react-dom${ experimental ? '-experimental' : '' }/react-dom.react-server`, 'next/dist/compiled/react-dom$': `next/dist/compiled/react-dom${ experimental ? '-experimental' : '' }/react-dom.react-server`, + 'next/dist/compiled/react-dom-experimental$': `next/dist/compiled/react-dom-experimental/react-dom.react-server`, }, }, },