File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 192192 type : "string" ,
193193 default : "info" ,
194194 group : DISPLAY_GROUP ,
195- describe : "Controls the output of lifecycle messaging e.g. Started watching files... (verbose, info, none)"
195+ describe :
196+ "Controls the output of lifecycle messaging e.g. Started watching files... (verbose, info, none)"
196197 }
197198 } ) ;
198199
412413
413414 ifArg ( "info-verbosity" , function ( value ) {
414415 if ( ! [ "none" , "info" , "verbose" ] . includes ( value ) )
415- throw new Error ( "Invalid configuration object. \n configuration['info-verbosity'] should be one of these:\n \"none\" | \"info\" | \"verbose\"" ) ;
416+ throw new Error (
417+ "Invalid configuration object. \n configuration['info-verbosity'] should be one of these:\n \"none\" | \"info\" | \"verbose\""
418+ ) ;
416419 outputOptions . infoVerbosity = value ;
417420 } ) ;
418421
446449 }
447450
448451 if ( outputOptions . infoVerbosity === "verbose" ) {
449- compiler . hooks . beforeCompile . tap ( "WebpackInfo" , ( compilation ) => {
452+ compiler . hooks . beforeCompile . tap ( "WebpackInfo" , compilation => {
450453 console . log ( "\nCompilation starting…\n" ) ;
451454 } ) ;
452- compiler . hooks . afterCompile . tap ( "WebpackInfo" , ( compilation ) => {
455+ compiler . hooks . afterCompile . tap ( "WebpackInfo" , compilation => {
453456 console . log ( "\nCompilation finished\n" ) ;
454457 } ) ;
455458 }
You can’t perform that action at this time.
0 commit comments