File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -618,10 +618,7 @@ export async function printTreeView(
618
618
const contSymbol = i === arr . length - 1 ? ' ' : '├'
619
619
620
620
let routes : { route : string ; duration : number ; avgDuration ?: number } [ ]
621
- if (
622
- pageInfo . ssgPageDurations &&
623
- pageInfo . ssgPageDurations . some ( ( d ) => d > MIN_DURATION )
624
- ) {
621
+ if ( pageInfo . ssgPageDurations ?. some ( ( d ) => d > MIN_DURATION ) ) {
625
622
const previewPages = totalRoutes === 8 ? 8 : Math . min ( totalRoutes , 7 )
626
623
const routesWithDuration = pageInfo . ssgPageRoutes
627
624
. map ( ( route , idx ) => ( {
@@ -723,7 +720,7 @@ export async function printTreeView(
723
720
]
724
721
725
722
// if some chunks are less than 10kb or we don't show it, we only show the total size of the rest
726
- const tenKbLimit = 0
723
+ const tenKbLimit = 10 * 1000
727
724
let restChunkSize = 0
728
725
let restChunkCount = 0
729
726
sharedChunks . forEach ( ( fileName , index , { length } ) => {
You can’t perform that action at this time.
0 commit comments