I am using the webpack extract text plugin to extract styles into a css file. It prints a lot of stuff like this:
Child extract-text-webpack-plugin: + 2 hidden modules
Child extract-text-webpack-plugin: + 7 hidden modules
Child extract-text-webpack-plugin: + 7 hidden modules
Child extract-text-webpack-plugin: + 2 hidden modules
Child extract-text-webpack-plugin: + 2 hidden modules
Child extract-text-webpack-plugin: + 4 hidden modules
Is there any way to surpress it via config? It's pretty useless and cramps the terminal window.
Yes, it is possible to suppress messages from child plugins by adding { stats: { children: false } }
option to your webpack config.
module.exports = {
stats: {
children: false
}
};
There is an issue reported upstream regarding chatty behavior.
The answer using stats
suppresses output from all children, including everything if the config is an array.
Call webpack
with --hide-modules
at the command line instead.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With