Skip to content

Commit f9e49f4

Browse files
committed
docs(api): add note about MultiStats to prevent any confusion
1 parent 083a8c9 commit f9e49f4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

content/api/node.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,11 +148,12 @@ The `stats` object that is passed as a second argument of the [`webpack()`](#web
148148
* Errors and Warnings (if any)
149149
* Timings
150150
* Module and Chunk information
151-
* and much more...
152151

153152
The [webpack CLI](/api/cli) uses this information to display a nicely formatted output in your console.
154153

155-
This object exposes these methods:
154+
T> When using the [`MultiCompiler`](/api/plugins/compiler#multicompiler), a `MultiStats` instance is returned that fulfills the same interface as `stats`, i.e. the methods described below.
155+
156+
This `stats` object exposes the following methods:
156157

157158

158159
### `stats.hasErrors()`

0 commit comments

Comments
 (0)