Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Use stats option to overwrite console.log behaviour #260
This is a Feature Proposal
Currently, the stats options in webpack.config.js seems to be ignored. No matter what I put in my webpack.config.js, the console output is the same, which I find them too verbose and annoying, especially when developing & watch. E.g:
I think it would be good if we can allow webpack stats config to overwrite the default behaviour.
I can make a PR if you're ok with this.
Similar or dependent issue(s):
Hi @dangcuuson , thanks for the thoughts.
you're absolutely right that the stats output currently is not configurable and the two locations are the right place to have a possible configuration in (there is a 3rd one at run/watch that is used on
I think we can let the default be as it is now (i.e. print the whole data if nothing else is specified), but if overridden in the config, that should be used.
The approach to let the stats config option override our defaults sounds good to me. I'm happy if you do a PR for the issue