-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
API - Document MultiStats #480
Comments
@webpack/documentation-team any idea what's involved to get this documented? It seems the stats configuration page may need to updated and something would have to be added in the API docs? This is a part of webpack I'm not too familiar with but I'd be happy to help push this forward however I can. @donaldpipowitch where do you think would be an appropriate place (or places) to add this documentation? Is there anywhere specific you were looking when you were trying to debug that issue? |
There's also this small section on the |
The |
The Stats object interface has only these methods: toJson(opt)
toString(opt)
hasErrors()
hasWarnings() The webpack either returns a |
Ok and those methods are all documented here. I'll just add a note about the |
Good to know, thank you all. |
Is the |
@kevinphelps good question, @sokra? It seems maybe the private methods should be prefixed by an |
A |
"By accident" I found out about
MultiStats
today. Looks like neither the old nor the new docs mentionMultiStats
.This actually broke my code when I switched from a normal compiler config to the multi compiler config, because I tried to access
stats.compilation
which isundefined
onMultiStats
(but not a normalStats
).The text was updated successfully, but these errors were encountered: