File tree Expand file tree Collapse file tree 1 file changed +2
-11
lines changed
packages/angular_devkit/build_angular/src/webpack/utils Expand file tree Collapse file tree 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';
1212import * as textTable from 'text-table' ;
1313import { Configuration , StatsCompilation } from 'webpack' ;
1414import { colors as ansiColors , removeColor } from '../../utils/color' ;
15+ import { getWebpackStatsConfig } from '../configs/stats' ;
1516
1617export function formatSize ( size : number ) : string {
1718 if ( size <= 0 ) {
@@ -332,17 +333,7 @@ export function createWebpackLoggingCallback(
332333 logger . info ( stats . toString ( config . stats ) ) ;
333334 }
334335
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 ) ;
346337 } ;
347338}
348339
You can’t perform that action at this time.
0 commit comments