Re:Introducing Webpack Dashboard
by smac8 on Monday August 15, 2016 @01:51PM
(#12292089)
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?
[ Parent
| on HN ]
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
Re:Introducing Webpack Dashboard
by thekenwheeler on Monday August 15, 2016 @01:55PM
(#12292119)
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.