new Stats(compilation): StatsAttributes
compilation:
<Compilation>Returns:
<Stats>Creates an instance of Stats.
Attributes
hasErrors(): booleanReturns:
<boolean>Checks whether this stats has errors.
hasWarnings(): booleanReturns:
<boolean>Checks whether this stats has warnings.
toJson(options?): StatsCompilationAttributes
options:
<boolean>
|
<StatsOptions>Returns:
<StatsCompilation>Returns json output.
toString(options?): stringAttributes
options:
<boolean>
|
<StatsOptions>Returns:
<string>Returns a string representation.