File tree Expand file tree Collapse file tree 2 files changed +1
-36
lines changed
packages/webpack-cli/lib/utils Expand file tree Collapse file tree 2 files changed +1
-36
lines changed Original file line number Diff line number Diff line change @@ -3,11 +3,9 @@ const webpack = packageExists('webpack') ? require('webpack') : undefined;
33const logger = require ( './logger' ) ;
44const { writeFileSync } = require ( 'fs' ) ;
55const bailAndWatchWarning = require ( './warnings/bailAndWatchWarning' ) ;
6- const { CompilerOutput } = require ( './CompilerOutput' ) ;
76
87class Compiler {
98 constructor ( ) {
10- this . output = new CompilerOutput ( ) ;
119 this . compilerOptions = { } ;
1210 }
1311 setUpHookForCompilation ( compilation , outputOptions , options ) {
@@ -37,8 +35,7 @@ class Compiler {
3735 }
3836
3937 generateOutput ( outputOptions , stats ) {
40- this . output . generateRawOutput ( stats , this . compilerOptions ) ;
41- process . stdout . write ( '\n' ) ;
38+ logger . raw ( `${ stats . toString ( this . compilerOptions . stats ) } \n` ) ;
4239 if ( outputOptions . watch ) {
4340 logger . info ( 'watching files for updates...' ) ;
4441 }
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments