new Stats(compilation): StatsAttributes
compilation:
<Compilation>webpack compilation
Returns:
<Stats>Attributes
hasErrors(): booleanReturns:
<boolean>true if the compilation encountered an error
hasWarnings(): booleanReturns:
<boolean>true if the compilation had a warning
toJson(options?): StatsCompilationAttributes
options:
<boolean>
|
<StatsOptions>stats options
Returns:
<StatsCompilation>json output
toString(options?): stringAttributes
options:
<boolean>
|
<StatsOptions>stats options
Returns:
<string>string output