new Stats(compilation): StatsAttributes
compilation:
<Compilation>webpack compilation
Returns:
<Stats>Attributes
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>
|
<StatsOptions>stats options
Returns:
<StatsCompilation>json output
webpack.Stats.toString(options?): stringAttributes
options:
<boolean>
|
<StatsOptions>stats options
Returns:
<string>string output