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
e5faab34
Commit
e5faab34
authored
Sep 12, 2025
by
Luke Sandberg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
whups
parent
819243aa
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
utils.ts
packages/next/src/build/utils.ts
+2
-5
No files found.
packages/next/src/build/utils.ts
View file @
e5faab34
...
@@ -618,10 +618,7 @@ export async function printTreeView(
...
@@ -618,10 +618,7 @@ export async function printTreeView(
const
contSymbol
=
i
===
arr
.
length
-
1
?
' '
:
'├'
const
contSymbol
=
i
===
arr
.
length
-
1
?
' '
:
'├'
let
routes
:
{
route
:
string
;
duration
:
number
;
avgDuration
?:
number
}[]
let
routes
:
{
route
:
string
;
duration
:
number
;
avgDuration
?:
number
}[]
if
(
if
(
pageInfo
.
ssgPageDurations
?.
some
((
d
)
=>
d
>
MIN_DURATION
))
{
pageInfo
.
ssgPageDurations
&&
pageInfo
.
ssgPageDurations
.
some
((
d
)
=>
d
>
MIN_DURATION
)
)
{
const
previewPages
=
totalRoutes
===
8
?
8
:
Math
.
min
(
totalRoutes
,
7
)
const
previewPages
=
totalRoutes
===
8
?
8
:
Math
.
min
(
totalRoutes
,
7
)
const
routesWithDuration
=
pageInfo
.
ssgPageRoutes
const
routesWithDuration
=
pageInfo
.
ssgPageRoutes
.
map
((
route
,
idx
)
=>
({
.
map
((
route
,
idx
)
=>
({
...
@@ -723,7 +720,7 @@ export async function printTreeView(
...
@@ -723,7 +720,7 @@ export async function printTreeView(
]
]
// if some chunks are less than 10kb or we don't show it, we only show the total size of the rest
// if some chunks are less than 10kb or we don't show it, we only show the total size of the rest
const
tenKbLimit
=
0
const
tenKbLimit
=
10
*
100
0
let
restChunkSize
=
0
let
restChunkSize
=
0
let
restChunkCount
=
0
let
restChunkCount
=
0
sharedChunks
.
forEach
((
fileName
,
index
,
{
length
})
=>
{
sharedChunks
.
forEach
((
fileName
,
index
,
{
length
})
=>
{
...
...
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