new Stats(compilation): voidcompilation{Compilation} webpack compilation- Returns: {Stats}
webpack.Stats.hasErrors(): booleanReturns:
<boolean>true if the compilation encountered an error
webpack.Stats.hasWarnings(): booleanReturns:
<boolean>true if the compilation had a warning
webpack.Stats.toJson(options?): StatsCompilationAttributes
options:
<boolean>stats options
Returns:
{StatsCompilation} json output
webpack.Stats.toString(options?): stringAttributes
options:
<boolean>stats options
Returns:
<string>string output