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
48d0172a
Commit
48d0172a
authored
Mar 28, 2026
by
Luke Sandberg
Committed by
Luke Sandberg
Mar 31, 2026
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
simplify patch
parent
9b561e80
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
4 additions
and
5 deletions
+4
-5
react-server-dom-turbopack-client.node.development.js
...cjs/react-server-dom-turbopack-client.node.development.js
+0
-1
react-server-dom-turbopack-client.node.production.js
.../cjs/react-server-dom-turbopack-client.node.production.js
+0
-1
react-server-dom-turbopack-client.node.development.js
...cjs/react-server-dom-turbopack-client.node.development.js
+0
-1
react-server-dom-turbopack-client.node.production.js
.../cjs/react-server-dom-turbopack-client.node.production.js
+0
-1
taskfile.js
packages/next/taskfile.js
+4
-1
No files found.
packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.node.development.js
View file @
48d0172a
...
...
@@ -88,7 +88,6 @@
i
++
)
{
var
thenable
=
globalThis
.
__next_chunk_load__
(
chunks
[
i
]);
if
(
!
thenable
)
continue
;
loadedChunks
.
has
(
thenable
)
||
promises
.
push
(
thenable
);
if
(
!
instrumentedChunks
.
has
(
thenable
))
{
var
resolve
=
loadedChunks
.
add
.
bind
(
loadedChunks
,
thenable
);
...
...
packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.node.production.js
View file @
48d0172a
...
...
@@ -76,7 +76,6 @@ function ignoreReject() {}
function
preloadModule
(
metadata
)
{
for
(
var
chunks
=
metadata
[
1
],
promises
=
[],
i
=
0
;
i
<
chunks
.
length
;
i
++
)
{
var
thenable
=
globalThis
.
__next_chunk_load__
(
chunks
[
i
]);
if
(
!
thenable
)
continue
;
loadedChunks
.
has
(
thenable
)
||
promises
.
push
(
thenable
);
if
(
!
instrumentedChunks
.
has
(
thenable
))
{
var
resolve
=
loadedChunks
.
add
.
bind
(
loadedChunks
,
thenable
);
...
...
packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-client.node.development.js
View file @
48d0172a
...
...
@@ -88,7 +88,6 @@
i
++
)
{
var
thenable
=
globalThis
.
__next_chunk_load__
(
chunks
[
i
]);
if
(
!
thenable
)
continue
;
loadedChunks
.
has
(
thenable
)
||
promises
.
push
(
thenable
);
if
(
!
instrumentedChunks
.
has
(
thenable
))
{
var
resolve
=
loadedChunks
.
add
.
bind
(
loadedChunks
,
thenable
);
...
...
packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-client.node.production.js
View file @
48d0172a
...
...
@@ -76,7 +76,6 @@ function ignoreReject() {}
function
preloadModule
(
metadata
)
{
for
(
var
chunks
=
metadata
[
1
],
promises
=
[],
i
=
0
;
i
<
chunks
.
length
;
i
++
)
{
var
thenable
=
globalThis
.
__next_chunk_load__
(
chunks
[
i
]);
if
(
!
thenable
)
continue
;
loadedChunks
.
has
(
thenable
)
||
promises
.
push
(
thenable
);
if
(
!
instrumentedChunks
.
has
(
thenable
))
{
var
resolve
=
loadedChunks
.
add
.
bind
(
loadedChunks
,
thenable
);
...
...
packages/next/taskfile.js
View file @
48d0172a
...
...
@@ -1744,7 +1744,10 @@ export async function copy_vendor_react(task_) {
// loading is synchronous (Turbopack on Node.js uses require()). Patch
// preloadModule to skip promise tracking for sync loads so we avoid
// calling .then() on undefined.
if
(
file
.
base
.
includes
(
'.node.'
))
{
if
(
file
.
base
.
startsWith
(
'react-server-dom-turbopack-server'
)
&&
file
.
base
.
includes
(
'.node.'
)
)
{
code
=
code
.
replace
(
/^
([
\t]
*
)(
var thenable = globalThis
\.
__next_chunk_load__
\(
chunks
\[
i
\]\)
;
)
/gm
,
'$1$2
\
n$1if (!thenable) continue;'
...
...
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