Filtering assets within the stats, like modules

Do you want to request a feature or report a bug?
feature

What is the current behavior?
Within the stats the assets can not be filtered, only enabled or disabled.

If the current behavior is a bug, please provide the steps to reproduce.
not a bug

What is the expected behavior?
Being able to filter assets from stats, like modules and chunks.

If this is a feature request, what is motivation or use case for changing the behavior?
Copy-Webpack-Plugin makes use of assets, which can result in heavy output. Filtering the stats.assets would enable users or the plugin-maintainer to disable verbosity. Maybe stats.exclude can be used, it already allows string[], RegExp[] and function[], while function[] seems to not be documented. I am referring to Is it possible to tell copy-webpack-plugin to be less verbose ?

Please mention other relevant information such as the browser version, Node.js version, webpack version and Operating System.
webpack 3.3.0

Author: Fantashit

1 thought on “Filtering assets within the stats, like modules

Comments are closed.