Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

webpackmonitor CLI #90

Open
csentis opened this issue Nov 28, 2017 · 2 comments
Open

webpackmonitor CLI #90

csentis opened this issue Nov 28, 2017 · 2 comments

Comments

@csentis
Copy link

csentis commented Nov 28, 2017

Webpackmonitor strikes me as a valuable and good-looking tool.

For users of @angular/cli without an ejected webpack.conf, the use of webpackmonitor is something they still have to long for. The good thing though, is that @angular/cli can be configured to have webpack produce a stats.json.

Would it be thinkable that you further spread this great tool and work on a standard-configurable CLI version of webpackmonitor that would basically pick up the stats-json and do its magic with it just as it does as a webpack-plugin?

@mbehzad
Copy link
Contributor

mbehzad commented Dec 3, 2017

Hi @csentis, i would say Webpack Monitor has two types of features,

  • capturing stats like number of chunks/assets, their sizes, dependency graph, ... and showing their changes over time,
  • optimization information e.g. minification level of js, css coverage ...

the first one can be read and put together from the stats.json data. For the second one, the compilation (the output of webpack + plugins) is needed which stats.json does not provide.

Would a cli version which only provides the first type of information be interesting for you / solve your problem?

@csentis
Copy link
Author

csentis commented Dec 4, 2017

@mbehzad Thank you for clarifying and asking!

Yes, a CLI covering the aspects of your first bullet point would be a most welcome approach!

Let me know if you want me to close this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants