Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
N
next.js
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alex
next.js
Commits
04b54734
Commit
04b54734
authored
Mar 29, 2026
by
Luke Sandberg
Committed by
Luke Sandberg
Mar 31, 2026
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
so many copies of the react server runtime
parent
ce6731ea
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
31 additions
and
166 deletions
+31
-166
react-server-dom-turbopack-client.edge.development.js
...cjs/react-server-dom-turbopack-client.edge.development.js
+4
-23
react-server-dom-turbopack-client.edge.production.js
.../cjs/react-server-dom-turbopack-client.edge.production.js
+3
-18
react-server-dom-turbopack-client.node.development.js
...cjs/react-server-dom-turbopack-client.node.development.js
+4
-23
react-server-dom-turbopack-client.node.production.js
.../cjs/react-server-dom-turbopack-client.node.production.js
+3
-18
react-server-dom-turbopack-client.edge.development.js
...cjs/react-server-dom-turbopack-client.edge.development.js
+4
-23
react-server-dom-turbopack-client.edge.production.js
.../cjs/react-server-dom-turbopack-client.edge.production.js
+3
-18
react-server-dom-turbopack-client.node.development.js
...cjs/react-server-dom-turbopack-client.node.development.js
+4
-23
react-server-dom-turbopack-client.node.production.js
.../cjs/react-server-dom-turbopack-client.node.production.js
+3
-18
taskfile.js
packages/next/taskfile.js
+2
-1
runtime-base.ts
...-ecmascript-runtime/js/src/nodejs/runtime/runtime-base.ts
+1
-1
No files found.
packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.edge.development.js
View file @
04b54734
...
@@ -82,29 +82,10 @@
...
@@ -82,29 +82,10 @@
}
}
function
ignoreReject
()
{}
function
ignoreReject
()
{}
function
preloadModule
(
metadata
)
{
function
preloadModule
(
metadata
)
{
for
(
for
(
var
chunks
=
metadata
[
1
],
i
=
0
;
i
<
chunks
.
length
;
i
++
)
var
chunks
=
metadata
[
1
],
promises
=
[],
i
=
0
;
globalThis
.
__next_chunk_load__
(
chunks
[
i
]);
i
<
chunks
.
length
;
return
4
===
metadata
.
length
?
requireAsyncModule
(
metadata
[
0
])
:
null
;
i
++
}
)
{
var
thenable
=
globalThis
.
__next_chunk_load__
(
chunks
[
i
]);
loadedChunks
.
has
(
thenable
)
||
promises
.
push
(
thenable
);
if
(
!
instrumentedChunks
.
has
(
thenable
))
{
var
resolve
=
loadedChunks
.
add
.
bind
(
loadedChunks
,
thenable
);
thenable
.
then
(
resolve
,
ignoreReject
);
instrumentedChunks
.
add
(
thenable
);
}
}
return
4
===
metadata
.
length
?
0
===
promises
.
length
?
requireAsyncModule
(
metadata
[
0
])
:
Promise
.
all
(
promises
).
then
(
function
()
{
return
requireAsyncModule
(
metadata
[
0
]);
})
:
0
<
promises
.
length
?
Promise
.
all
(
promises
)
:
null
;
}
function
requireModule
(
metadata
)
{
function
requireModule
(
metadata
)
{
var
moduleExports
=
globalThis
.
__next_require__
(
metadata
[
0
]);
var
moduleExports
=
globalThis
.
__next_require__
(
metadata
[
0
]);
if
(
4
===
metadata
.
length
&&
"function"
===
typeof
moduleExports
.
then
)
if
(
4
===
metadata
.
length
&&
"function"
===
typeof
moduleExports
.
then
)
...
...
packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.edge.production.js
View file @
04b54734
...
@@ -73,24 +73,9 @@ var instrumentedChunks = new WeakSet(),
...
@@ -73,24 +73,9 @@ var instrumentedChunks = new WeakSet(),
loadedChunks
=
new
WeakSet
();
loadedChunks
=
new
WeakSet
();
function
ignoreReject
()
{}
function
ignoreReject
()
{}
function
preloadModule
(
metadata
)
{
function
preloadModule
(
metadata
)
{
for
(
var
chunks
=
metadata
[
1
],
promises
=
[],
i
=
0
;
i
<
chunks
.
length
;
i
++
)
{
for
(
var
chunks
=
metadata
[
1
],
i
=
0
;
i
<
chunks
.
length
;
i
++
)
var
thenable
=
globalThis
.
__next_chunk_load__
(
chunks
[
i
]);
globalThis
.
__next_chunk_load__
(
chunks
[
i
]);
loadedChunks
.
has
(
thenable
)
||
promises
.
push
(
thenable
);
return
4
===
metadata
.
length
?
requireAsyncModule
(
metadata
[
0
])
:
null
;
if
(
!
instrumentedChunks
.
has
(
thenable
))
{
var
resolve
=
loadedChunks
.
add
.
bind
(
loadedChunks
,
thenable
);
thenable
.
then
(
resolve
,
ignoreReject
);
instrumentedChunks
.
add
(
thenable
);
}
}
return
4
===
metadata
.
length
?
0
===
promises
.
length
?
requireAsyncModule
(
metadata
[
0
])
:
Promise
.
all
(
promises
).
then
(
function
()
{
return
requireAsyncModule
(
metadata
[
0
]);
})
:
0
<
promises
.
length
?
Promise
.
all
(
promises
)
:
null
;
}
}
function
requireModule
(
metadata
)
{
function
requireModule
(
metadata
)
{
var
moduleExports
=
globalThis
.
__next_require__
(
metadata
[
0
]);
var
moduleExports
=
globalThis
.
__next_require__
(
metadata
[
0
]);
...
...
packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.node.development.js
View file @
04b54734
...
@@ -82,29 +82,10 @@
...
@@ -82,29 +82,10 @@
}
}
function
ignoreReject
()
{}
function
ignoreReject
()
{}
function
preloadModule
(
metadata
)
{
function
preloadModule
(
metadata
)
{
for
(
for
(
var
chunks
=
metadata
[
1
],
i
=
0
;
i
<
chunks
.
length
;
i
++
)
var
chunks
=
metadata
[
1
],
promises
=
[],
i
=
0
;
globalThis
.
__next_chunk_load__
(
chunks
[
i
]);
i
<
chunks
.
length
;
return
4
===
metadata
.
length
?
requireAsyncModule
(
metadata
[
0
])
:
null
;
i
++
}
)
{
var
thenable
=
globalThis
.
__next_chunk_load__
(
chunks
[
i
]);
loadedChunks
.
has
(
thenable
)
||
promises
.
push
(
thenable
);
if
(
!
instrumentedChunks
.
has
(
thenable
))
{
var
resolve
=
loadedChunks
.
add
.
bind
(
loadedChunks
,
thenable
);
thenable
.
then
(
resolve
,
ignoreReject
);
instrumentedChunks
.
add
(
thenable
);
}
}
return
4
===
metadata
.
length
?
0
===
promises
.
length
?
requireAsyncModule
(
metadata
[
0
])
:
Promise
.
all
(
promises
).
then
(
function
()
{
return
requireAsyncModule
(
metadata
[
0
]);
})
:
0
<
promises
.
length
?
Promise
.
all
(
promises
)
:
null
;
}
function
requireModule
(
metadata
)
{
function
requireModule
(
metadata
)
{
var
moduleExports
=
globalThis
.
__next_require__
(
metadata
[
0
]);
var
moduleExports
=
globalThis
.
__next_require__
(
metadata
[
0
]);
if
(
4
===
metadata
.
length
&&
"function"
===
typeof
moduleExports
.
then
)
if
(
4
===
metadata
.
length
&&
"function"
===
typeof
moduleExports
.
then
)
...
...
packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.node.production.js
View file @
04b54734
...
@@ -74,24 +74,9 @@ var instrumentedChunks = new WeakSet(),
...
@@ -74,24 +74,9 @@ var instrumentedChunks = new WeakSet(),
loadedChunks
=
new
WeakSet
();
loadedChunks
=
new
WeakSet
();
function
ignoreReject
()
{}
function
ignoreReject
()
{}
function
preloadModule
(
metadata
)
{
function
preloadModule
(
metadata
)
{
for
(
var
chunks
=
metadata
[
1
],
promises
=
[],
i
=
0
;
i
<
chunks
.
length
;
i
++
)
{
for
(
var
chunks
=
metadata
[
1
],
i
=
0
;
i
<
chunks
.
length
;
i
++
)
var
thenable
=
globalThis
.
__next_chunk_load__
(
chunks
[
i
]);
globalThis
.
__next_chunk_load__
(
chunks
[
i
]);
loadedChunks
.
has
(
thenable
)
||
promises
.
push
(
thenable
);
return
4
===
metadata
.
length
?
requireAsyncModule
(
metadata
[
0
])
:
null
;
if
(
!
instrumentedChunks
.
has
(
thenable
))
{
var
resolve
=
loadedChunks
.
add
.
bind
(
loadedChunks
,
thenable
);
thenable
.
then
(
resolve
,
ignoreReject
);
instrumentedChunks
.
add
(
thenable
);
}
}
return
4
===
metadata
.
length
?
0
===
promises
.
length
?
requireAsyncModule
(
metadata
[
0
])
:
Promise
.
all
(
promises
).
then
(
function
()
{
return
requireAsyncModule
(
metadata
[
0
]);
})
:
0
<
promises
.
length
?
Promise
.
all
(
promises
)
:
null
;
}
}
function
requireModule
(
metadata
)
{
function
requireModule
(
metadata
)
{
var
moduleExports
=
globalThis
.
__next_require__
(
metadata
[
0
]);
var
moduleExports
=
globalThis
.
__next_require__
(
metadata
[
0
]);
...
...
packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-client.edge.development.js
View file @
04b54734
...
@@ -82,29 +82,10 @@
...
@@ -82,29 +82,10 @@
}
}
function
ignoreReject
()
{}
function
ignoreReject
()
{}
function
preloadModule
(
metadata
)
{
function
preloadModule
(
metadata
)
{
for
(
for
(
var
chunks
=
metadata
[
1
],
i
=
0
;
i
<
chunks
.
length
;
i
++
)
var
chunks
=
metadata
[
1
],
promises
=
[],
i
=
0
;
globalThis
.
__next_chunk_load__
(
chunks
[
i
]);
i
<
chunks
.
length
;
return
4
===
metadata
.
length
?
requireAsyncModule
(
metadata
[
0
])
:
null
;
i
++
}
)
{
var
thenable
=
globalThis
.
__next_chunk_load__
(
chunks
[
i
]);
loadedChunks
.
has
(
thenable
)
||
promises
.
push
(
thenable
);
if
(
!
instrumentedChunks
.
has
(
thenable
))
{
var
resolve
=
loadedChunks
.
add
.
bind
(
loadedChunks
,
thenable
);
thenable
.
then
(
resolve
,
ignoreReject
);
instrumentedChunks
.
add
(
thenable
);
}
}
return
4
===
metadata
.
length
?
0
===
promises
.
length
?
requireAsyncModule
(
metadata
[
0
])
:
Promise
.
all
(
promises
).
then
(
function
()
{
return
requireAsyncModule
(
metadata
[
0
]);
})
:
0
<
promises
.
length
?
Promise
.
all
(
promises
)
:
null
;
}
function
requireModule
(
metadata
)
{
function
requireModule
(
metadata
)
{
var
moduleExports
=
globalThis
.
__next_require__
(
metadata
[
0
]);
var
moduleExports
=
globalThis
.
__next_require__
(
metadata
[
0
]);
if
(
4
===
metadata
.
length
&&
"function"
===
typeof
moduleExports
.
then
)
if
(
4
===
metadata
.
length
&&
"function"
===
typeof
moduleExports
.
then
)
...
...
packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-client.edge.production.js
View file @
04b54734
...
@@ -73,24 +73,9 @@ var instrumentedChunks = new WeakSet(),
...
@@ -73,24 +73,9 @@ var instrumentedChunks = new WeakSet(),
loadedChunks
=
new
WeakSet
();
loadedChunks
=
new
WeakSet
();
function
ignoreReject
()
{}
function
ignoreReject
()
{}
function
preloadModule
(
metadata
)
{
function
preloadModule
(
metadata
)
{
for
(
var
chunks
=
metadata
[
1
],
promises
=
[],
i
=
0
;
i
<
chunks
.
length
;
i
++
)
{
for
(
var
chunks
=
metadata
[
1
],
i
=
0
;
i
<
chunks
.
length
;
i
++
)
var
thenable
=
globalThis
.
__next_chunk_load__
(
chunks
[
i
]);
globalThis
.
__next_chunk_load__
(
chunks
[
i
]);
loadedChunks
.
has
(
thenable
)
||
promises
.
push
(
thenable
);
return
4
===
metadata
.
length
?
requireAsyncModule
(
metadata
[
0
])
:
null
;
if
(
!
instrumentedChunks
.
has
(
thenable
))
{
var
resolve
=
loadedChunks
.
add
.
bind
(
loadedChunks
,
thenable
);
thenable
.
then
(
resolve
,
ignoreReject
);
instrumentedChunks
.
add
(
thenable
);
}
}
return
4
===
metadata
.
length
?
0
===
promises
.
length
?
requireAsyncModule
(
metadata
[
0
])
:
Promise
.
all
(
promises
).
then
(
function
()
{
return
requireAsyncModule
(
metadata
[
0
]);
})
:
0
<
promises
.
length
?
Promise
.
all
(
promises
)
:
null
;
}
}
function
requireModule
(
metadata
)
{
function
requireModule
(
metadata
)
{
var
moduleExports
=
globalThis
.
__next_require__
(
metadata
[
0
]);
var
moduleExports
=
globalThis
.
__next_require__
(
metadata
[
0
]);
...
...
packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-client.node.development.js
View file @
04b54734
...
@@ -82,29 +82,10 @@
...
@@ -82,29 +82,10 @@
}
}
function
ignoreReject
()
{}
function
ignoreReject
()
{}
function
preloadModule
(
metadata
)
{
function
preloadModule
(
metadata
)
{
for
(
for
(
var
chunks
=
metadata
[
1
],
i
=
0
;
i
<
chunks
.
length
;
i
++
)
var
chunks
=
metadata
[
1
],
promises
=
[],
i
=
0
;
globalThis
.
__next_chunk_load__
(
chunks
[
i
]);
i
<
chunks
.
length
;
return
4
===
metadata
.
length
?
requireAsyncModule
(
metadata
[
0
])
:
null
;
i
++
}
)
{
var
thenable
=
globalThis
.
__next_chunk_load__
(
chunks
[
i
]);
loadedChunks
.
has
(
thenable
)
||
promises
.
push
(
thenable
);
if
(
!
instrumentedChunks
.
has
(
thenable
))
{
var
resolve
=
loadedChunks
.
add
.
bind
(
loadedChunks
,
thenable
);
thenable
.
then
(
resolve
,
ignoreReject
);
instrumentedChunks
.
add
(
thenable
);
}
}
return
4
===
metadata
.
length
?
0
===
promises
.
length
?
requireAsyncModule
(
metadata
[
0
])
:
Promise
.
all
(
promises
).
then
(
function
()
{
return
requireAsyncModule
(
metadata
[
0
]);
})
:
0
<
promises
.
length
?
Promise
.
all
(
promises
)
:
null
;
}
function
requireModule
(
metadata
)
{
function
requireModule
(
metadata
)
{
var
moduleExports
=
globalThis
.
__next_require__
(
metadata
[
0
]);
var
moduleExports
=
globalThis
.
__next_require__
(
metadata
[
0
]);
if
(
4
===
metadata
.
length
&&
"function"
===
typeof
moduleExports
.
then
)
if
(
4
===
metadata
.
length
&&
"function"
===
typeof
moduleExports
.
then
)
...
...
packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-client.node.production.js
View file @
04b54734
...
@@ -74,24 +74,9 @@ var instrumentedChunks = new WeakSet(),
...
@@ -74,24 +74,9 @@ var instrumentedChunks = new WeakSet(),
loadedChunks
=
new
WeakSet
();
loadedChunks
=
new
WeakSet
();
function
ignoreReject
()
{}
function
ignoreReject
()
{}
function
preloadModule
(
metadata
)
{
function
preloadModule
(
metadata
)
{
for
(
var
chunks
=
metadata
[
1
],
promises
=
[],
i
=
0
;
i
<
chunks
.
length
;
i
++
)
{
for
(
var
chunks
=
metadata
[
1
],
i
=
0
;
i
<
chunks
.
length
;
i
++
)
var
thenable
=
globalThis
.
__next_chunk_load__
(
chunks
[
i
]);
globalThis
.
__next_chunk_load__
(
chunks
[
i
]);
loadedChunks
.
has
(
thenable
)
||
promises
.
push
(
thenable
);
return
4
===
metadata
.
length
?
requireAsyncModule
(
metadata
[
0
])
:
null
;
if
(
!
instrumentedChunks
.
has
(
thenable
))
{
var
resolve
=
loadedChunks
.
add
.
bind
(
loadedChunks
,
thenable
);
thenable
.
then
(
resolve
,
ignoreReject
);
instrumentedChunks
.
add
(
thenable
);
}
}
return
4
===
metadata
.
length
?
0
===
promises
.
length
?
requireAsyncModule
(
metadata
[
0
])
:
Promise
.
all
(
promises
).
then
(
function
()
{
return
requireAsyncModule
(
metadata
[
0
]);
})
:
0
<
promises
.
length
?
Promise
.
all
(
promises
)
:
null
;
}
}
function
requireModule
(
metadata
)
{
function
requireModule
(
metadata
)
{
var
moduleExports
=
globalThis
.
__next_require__
(
metadata
[
0
]);
var
moduleExports
=
globalThis
.
__next_require__
(
metadata
[
0
]);
...
...
packages/next/taskfile.js
View file @
04b54734
...
@@ -1783,7 +1783,8 @@ export async function copy_vendor_react(task_) {
...
@@ -1783,7 +1783,8 @@ export async function copy_vendor_react(task_) {
// already loaded synchronously, so we just need to call
// already loaded synchronously, so we just need to call
// __next_chunk_load__ for side effects and handle async modules.
// __next_chunk_load__ for side effects and handle async modules.
if
(
if
(
file
.
base
.
startsWith
(
'react-server-dom-turbopack-server'
)
&&
(
file
.
base
.
startsWith
(
'react-server-dom-turbopack-server'
)
||
file
.
base
.
startsWith
(
'react-server-dom-turbopack-client'
))
&&
(
file
.
base
.
includes
(
'.node.'
)
||
file
.
base
.
includes
(
'.edge.'
))
(
file
.
base
.
includes
(
'.node.'
)
||
file
.
base
.
includes
(
'.edge.'
))
)
{
)
{
code
=
replaceFunctionBody
(
code
=
replaceFunctionBody
(
...
...
turbopack/crates/turbopack-ecmascript-runtime/js/src/nodejs/runtime/runtime-base.ts
View file @
04b54734
...
@@ -161,7 +161,7 @@ function loadChunkSyncByUrl<TModule extends Module>(
...
@@ -161,7 +161,7 @@ function loadChunkSyncByUrl<TModule extends Module>(
const
chunkPath
=
url
.
fileURLToPath
(
const
chunkPath
=
url
.
fileURLToPath
(
new
URL
(
chunkUrl
,
RUNTIME_ROOT
)
new
URL
(
chunkUrl
,
RUNTIME_ROOT
)
)
as
ChunkPath
)
as
ChunkPath
return
loadChunkSync
.
call
(
this
,
chunkPath
)
loadChunkSync
.
call
(
this
,
chunkPath
)
}
}
contextPrototype
.
L
=
loadChunkSyncByUrl
contextPrototype
.
L
=
loadChunkSyncByUrl
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment