Closed
Description
Hi,
the stats
config in webpack could not be configured, because it's hardcoded in the code:
console.log(stats.toString({ color: true }));
For example, I would like to remove some noisy warnings with the following config, but it's not possible:
stats: {
warningsFilter: [
/Critical dependency: the request of a dependency is an expression/,
/Critical dependency: require function is used in a way in which dependencies cannot be statically extracted/
],
},
Thanks.
[edit]: Here is the list of all parameters of the toString(...) function.