while the default stats object presented by webpack is mostly sufficient, some people might like to modify it directly, or changing the preset, or just turn them off and replace the reporting with a custom plugin (that's me).
While webpack allows to configure this behavior, this configuration value has to be forwarded explicitly when using the compiler API.
This PR adds forwarding of webpackconfig.stats to the relevant calls to stats.to{X}.
Hey guys,
while the default stats object presented by
webpack
is mostly sufficient, some people might like to modify it directly, or changing the preset, or just turn them off and replace the reporting with a custom plugin (that's me). Whilewebpack
allows to configure this behavior, this configuration value has to be forwarded explicitly when using the compiler API.This PR adds forwarding of
webpackconfig.stats
to the relevant calls tostats.to{X}
.