File tree 1 file changed +2
-11
lines changed
packages/angular_devkit/build_angular/src/webpack/utils
1 file changed +2
-11
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ import * as path from 'path';
12
12
import * as textTable from 'text-table' ;
13
13
import { Configuration , StatsCompilation } from 'webpack' ;
14
14
import { colors as ansiColors , removeColor } from '../../utils/color' ;
15
+ import { getWebpackStatsConfig } from '../configs/stats' ;
15
16
16
17
export function formatSize ( size : number ) : string {
17
18
if ( size <= 0 ) {
@@ -332,17 +333,7 @@ export function createWebpackLoggingCallback(
332
333
logger . info ( stats . toString ( config . stats ) ) ;
333
334
}
334
335
335
- webpackStatsLogger (
336
- logger ,
337
- stats . toJson ( {
338
- errors : true ,
339
- warnings : true ,
340
- builtAt : true ,
341
- assets : true ,
342
- chunks : true ,
343
- } ) ,
344
- config ,
345
- ) ;
336
+ webpackStatsLogger ( logger , stats . toJson ( getWebpackStatsConfig ( false ) ) , config ) ;
346
337
} ;
347
338
}
348
339
You can’t perform that action at this time.
0 commit comments