Presently, the users are required to provide information concerning his local environment as per the ISSUE_TEMPLATE. IMO, it would be good to have a dedicated flag which would show up the respective information webpack-bundle-analyzer --info (just as we've webpack-cli info)
Yeah I agree that the issue template could be improved and that it asks for lots of information that might be difficult to gather.
I'm not sure though how much an effort adding a new flag for debug information would be. I'd be reluctant to have to maintain that code if it would be complicated and prone to breakage itself.
One of the most important parts for bug debugging is the generated stats.json, ideally with the bundled output files. I'm not sure if it's realistic to automate generating them for issue template purposes, given people have such different webpack configurations.
So all in all, I think this is a neat idea but I'm not sure if it's possible to implement it (at least not easily). I'd be happy to be proven wrong :relaxed:
@valscion I shall shoot up a PR :+1:
Feel free to do so — however, please be aware that we might not merge a PR for this even if it would work. I'd be curious to see what a proof of concept looks like but I make no promises on it being something we would want to maintain.
💞
I shall shoot up a PR
What info do you want to collect and show? Version numbers and OS?
* Webpack Bundle Analyzer version:
* Webpack version:
* Node.js version:
* npm/yarn version:
* OS: