File tree Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -374,7 +374,9 @@ var Project = function () {
374
374
errorDetails : false
375
375
} ) ;
376
376
377
- process . stdout . write ( "\x1b[90m" + '-------------------------- YKIT PACKED ASSETS -------------------------- ' + "\x1b[0m \n\n" ) ;
377
+ process . stdout . write (
378
+ // clear bundle log
379
+ ' \n' + '\x1b[90m' + '-------------------------- YKIT PACKED ASSETS -------------------------- ' + '\x1b[0m \n\n' ) ;
378
380
379
381
if ( statsInfo . errors . length > 0 ) {
380
382
statsInfo . errors . map ( function ( err ) {
@@ -391,7 +393,7 @@ var Project = function () {
391
393
statsInfo . assets . map ( function ( asset ) {
392
394
var size = asset . size > 1024 ? ( asset . size / 1024 ) . toFixed ( 2 ) + ' kB' : asset . size + ' bytes' ;
393
395
if ( ! / \. c a c h e $ / . test ( asset . name ) ) {
394
- log ( 'packed asset: ' . gray + asset . name + ' - ' + size ) ;
396
+ log ( '- ' . gray + asset . name + ' - ' + size ) ;
395
397
}
396
398
} ) ;
397
399
info ( ) ;
Original file line number Diff line number Diff line change @@ -340,9 +340,11 @@ class Project {
340
340
} ) ;
341
341
342
342
process . stdout . write (
343
- "\x1b[90m"
343
+ // clear bundle log
344
+ ' \n'
345
+ + '\x1b[90m'
344
346
+ '-------------------------- YKIT PACKED ASSETS -------------------------- '
345
- + " \x1b[0m \n\n"
347
+ + ' \x1b[0m \n\n'
346
348
)
347
349
348
350
if ( statsInfo . errors . length > 0 ) {
@@ -362,7 +364,7 @@ class Project {
362
364
( asset . size / 1024 ) . toFixed ( 2 ) + ' kB' :
363
365
asset . size + ' bytes' ;
364
366
if ( ! / \. c a c h e $ / . test ( asset . name ) ) {
365
- log ( 'packed asset: ' . gray + asset . name + ' - ' + size ) ;
367
+ log ( '- ' . gray + asset . name + ' - ' + size ) ;
366
368
}
367
369
} )
368
370
info ( ) ;
You can’t perform that action at this time.
0 commit comments