I originally asked this as a question on StackOverflow but the lack of response and some digging has lead me to believe that this is not possible. Here’s the original question (copy/paste):
I would like to know if there’s a configuration option to tell webpack to only log the “important information” to the terminal. Pretty much just errors and warnings, not all of this:
There’s just so much output! Would love to suppress the common stuff and only have webpack output the warnings/errors. Would like a solution for
Note: I tried
quiet: truebut that didn’t seem to do the trick.
I’ve dug around the code a bit and I don’t think that there’s anything in
webpack-core to silence the output based on the config I give it (though it looks like
webpack-dev-server does support this). I would really like to silence output for my tests so I can keep noise to a minimum.
webpack: bundle is now VALID or
INVALID I think would still be valuable. It’s just the info about everything that was built is noisy.