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;
3
3
const logger = require ( './logger' ) ;
4
4
const { writeFileSync } = require ( 'fs' ) ;
5
5
const bailAndWatchWarning = require ( './warnings/bailAndWatchWarning' ) ;
6
- const { CompilerOutput } = require ( './CompilerOutput' ) ;
7
6
8
7
class Compiler {
9
8
constructor ( ) {
10
- this . output = new CompilerOutput ( ) ;
11
9
this . compilerOptions = { } ;
12
10
}
13
11
setUpHookForCompilation ( compilation , outputOptions , options ) {
@@ -37,8 +35,7 @@ class Compiler {
37
35
}
38
36
39
37
generateOutput ( outputOptions , stats ) {
40
- this . output . generateRawOutput ( stats , this . compilerOptions ) ;
41
- process . stdout . write ( '\n' ) ;
38
+ logger . raw ( `${ stats . toString ( this . compilerOptions . stats ) } \n` ) ;
42
39
if ( outputOptions . watch ) {
43
40
logger . info ( 'watching files for updates...' ) ;
44
41
}
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments