webpack-dashboard
webpack-dashboard copied to clipboard
Modules with Long Names break formatting
Please provide a description of the bug / issue, and provide the details below:
Long module names throw off module list formatting. If you expand out the width of the terminal to the longest name, everything goes back to normal. Unfortunately this only happens for me at about 1500 pixels.
I'd suggest a truncation strategy such as ...
or something if the name gets too long.
If the issue is visual, please provide screenshots here
Steps to reproduce the problem
Include a module with a long name. I think Webpack Dedupe is the culprit here, it creates modules that appear to be links to other modules such as fpjs/lib/containsNode.js|/<pathToSourceFolder>
More Details
- What operating system are you on?
OSX 10.11
- What terminal application are you using?
Terminal App
- What version of webpack-dashboard are you using?
0.1.8
- What is the output of running
echo $TERM
?
xterm-256color
formatting keeps breaking. Need to resize the terminal to make it look pretty agin 🍶
The question is, what should the max be?
Thats a good question...could be a config option? The best case scenario would be a percentage of the width of the terminal window, but Im not sure you have access to that number.