On this page

new Stats(compilation): Stats
Attributes
compilation:<Compilation>
Returns:<Stats>

Creates an instance of Stats.

Attributes
compilation:<Compilation>
endTime:<number>
startTime:<number>
hasErrors(): boolean
Returns:<boolean>

Checks whether this stats has errors.


hasWarnings(): boolean
Returns:<boolean>

Checks whether this stats has warnings.


toJson(options?): StatsCompilation
Attributes

Returns json output.


toString(options?): string
Attributes
Returns:<string>

Returns a string representation.