Introducing Webpack Dashboard
formidable.com
formidable.com
Of course we got some fatigue in the ecosystem, but things like Webpack Dashboard strengthens my belief the fatigue is a tradeoff worth to pay.
BTW. if you like Blessed, certainly check out react-blessed: https://github.com/Yomguithereal/react-blessed
I like larger projects to be typed and my favorite language at the moment is definitely kotlin, but for quick prototyping I really like hacking things together in JS.
Still JS is somehow more pleasurable, but I guess it's a matter of taste.
And the GitHub Repo: https://github.com/FormidableLabs/webpack-dashboard
My workflow consists of running a Webpack dev server watchinf for changes and hot reloadings them in my browser/phone.
I watch build statuses. A lot of them. Eager to try this dashboard!
The client in webpack-hot-middleware will show build errors in a full screen overlay by default.
It may also be nice to have an idea of the relative weight of each of your dependencies. Of course, since its in dev mode, what Dashboard shows probably isn't the same as the final bundle size.
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.
When I disable it it works great, would be nice if I could use it with it.
However, the "blessed" library that Webpack Dashboard uses _is_ impressive: https://github.com/chjj/blessed
That's an ncurses-like library with some really nice features. I will be using it.
For you, but not others.
https://github.com/FormidableLabs/webpack-dashboard
It replaces the endlessly scrolling output of webpack-dev-server with a dashboard, providing at-a-glance info.
And I appreciate the aesthetics, nice looking things motivate me to work, so that's a bonus too. Anybody who says this is superficial doesn't know how humans think, and shouldn't be allowed to do UI/UX design.
I wouldn't be using blessed to replace "noisy and scrolly" but rather to replace Qt for some simple-but-not-trivial scripts.