Hacker News new | ask | show | jobs
by smac8 3592 days ago
This is awesome! However, when I add it to my webpack config it does load the dashboard, but afterward still produces all the scrolled output. Anyone now how to remove the scrolled output and just show the dash?
2 comments

I think this will happen if you skip the "Turn off errors" part of the instructions: https://github.com/FormidableLabs/webpack-dashboard#turn-off... – did you catch that part?
Apparently! Thanks for linking
You'll want to set the webpack config option { quiet: true }
Where?

Your (I assume you are the author) instructions say, for the dev server case:

> Ensure you've set quiet: true in your WebpackDevServer constructor:

I don't have a constructor. I just have a "devServer" section in webpack.config.js that contains a contentBase entry.

Note that I am fairly new to webpack and am finding the (non-)documentation for WebpackDevServer unhelpful.

How to you run webpack-dev-server during development? You might have a script in your package.json that runs it - if so, add --quiet to the end of the script there.