File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -27,15 +27,15 @@ module.exports = function(compiler, options) {
27
27
// check if still in valid state
28
28
if ( ! state ) return ;
29
29
// print webpack output
30
- var displayStats = ! options . quiet ;
30
+ var displayStats = ( ! options . quiet && ! options . minimalOutput ) ;
31
31
if ( displayStats &&
32
32
! ( stats . hasErrors ( ) || stats . hasWarnings ( ) ) &&
33
33
options . noInfo )
34
34
displayStats = false ;
35
35
if ( displayStats ) {
36
36
console . log ( stats . toString ( options . stats ) ) ;
37
37
}
38
- if ( ! options . noInfo && ! options . quiet )
38
+ if ( ( ! options . noInfo && ! options . quiet ) || options . minimalOutput )
39
39
console . info ( "webpack: bundle is now VALID." ) ;
40
40
41
41
// execute callback that are delayed
@@ -55,8 +55,8 @@ module.exports = function(compiler, options) {
55
55
56
56
// on compiling
57
57
function invalidPlugin ( ) {
58
- if ( state && ( ! options . noInfo && ! options . quiet ) )
59
- console . info ( "webpack: bundle is now invalid ." ) ;
58
+ if ( state && ( ( ! options . noInfo && ! options . quiet ) || options . minimalOutput ) )
59
+ console . info ( "webpack: bundle is now INVALID ." ) ;
60
60
// We are now in invalid state
61
61
state = false ;
62
62
}
You can’t perform that action at this time.
0 commit comments