-
Notifications
You must be signed in to change notification settings - Fork 110
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
kyt build and webpack json output #438
Comments
If we all agree that this would be a good product feature we could look into support for passing webpack cli options into the |
I think it's not just build artifacts, but also the Webpack build log itself that is useful, e.g. #349 |
@AlgoTrader what are you specifically looking for in the stats? How do you plan on parsing/using the data? |
The webpack json output is used by plenty of bundle analyzers/visualuzers. It seems, there are plugins for webpack that generate json log, so patching kyt is not a must. But I certainly want more control on output options |
@AlgoTrader - Have you tried webpack-stats-plugin or stats-webpack-plugin? They will emit a file and have a lot of options for configuring output. You can add them as plugins via the kyt.config.js callback, I'm going to close this for now. Let me know if my suggestion is unhelpful. |
webpack has --json option. KYT has no. I have to add those two lines to 'actions/build.js':
to get webpack results in json. Is it possible to add
kyt build --json filename
option?Are there any other ways to enable json output? I need it to analyze webpack bundle.
The text was updated successfully, but these errors were encountered: