We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89e4977 commit 8bef662Copy full SHA for 8bef662
packages/vite/src/node/optimizer/index.ts
@@ -437,18 +437,7 @@ export function toDiscoveredDependencies(
437
}
438
439
export function depsLogString(qualifiedIds: string[]): string {
440
- if (debug) {
441
- return colors.yellow(qualifiedIds.join(`, `))
442
- } else {
443
- const total = qualifiedIds.length
444
- const maxListed = 5
445
- const listed = Math.min(total, maxListed)
446
- const extra = Math.max(0, total - maxListed)
447
- return colors.yellow(
448
- qualifiedIds.slice(0, listed).join(`, `) +
449
- (extra > 0 ? `, ...and ${extra} more` : ``),
450
- )
451
- }
+ return colors.yellow(qualifiedIds.join(`, `))
452
453
454
/**
0 commit comments