File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -365,8 +365,7 @@ export class Bundler {
365
365
}
366
366
} ,
367
367
async writeBundle ( ) {
368
- logger . success ( title . replace ( 'Bundle' , 'Bundled' ) )
369
- await printAssets ( assets )
368
+ await printAssets ( assets , title . replace ( 'Bundle' , 'Bundled' ) )
370
369
}
371
370
} )
372
371
@@ -616,7 +615,7 @@ interface Asset {
616
615
}
617
616
type Assets = Map < string , Asset >
618
617
619
- async function printAssets ( assets : Assets ) {
618
+ async function printAssets ( assets : Assets , title : string ) {
620
619
const gzipSize = await import ( 'gzip-size' ) . then ( res => res . default )
621
620
const table = await Promise . all (
622
621
[ ...assets . keys ( ) ] . map ( async relative => {
@@ -630,6 +629,7 @@ async function printAssets(assets: Assets) {
630
629
} )
631
630
)
632
631
table . unshift ( [ 'File' , 'Size' , 'Gzipped' ] . map ( v => colors . dim ( v ) ) )
632
+ logger . log ( title )
633
633
logger . log (
634
634
boxen (
635
635
textTable ( table , {
You can’t perform that action at this time.
0 commit comments