webpack-hot-middleware icon indicating copy to clipboard operation
webpack-hot-middleware copied to clipboard

Feature request: add option for collapsing console messages

Open valsaven opened this issue 7 years ago • 2 comments

It could be more useful if you can use console.groupCollapsed instead of console.group in client.js (lines 187, 188).

valsaven avatar May 17 '18 08:05 valsaven

What’s the browser support like? I’ll take a PR for this, especially if it handles a graceful fallback if the method doesn’t exist

glenjamin avatar May 21 '18 07:05 glenjamin

All major browsers support it: https://developer.mozilla.org/en-US/docs/Web/API/Console/groupCollapsed https://www.w3schools.com/jsref/met_console_groupcollapsed.asp

valsaven avatar May 21 '18 07:05 valsaven