-
Notifications
You must be signed in to change notification settings - Fork 292
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
Add option --stats-out
to emit webpack statistics output
#516
Conversation
src/cli.js
Outdated
@@ -29,6 +29,7 @@ Options: | |||
-w, --watch Start a watched build | |||
-t, --transpile-only Use transpileOnly option with the ts-loader | |||
--v8-cache Emit a build using the v8 compile cache | |||
--stats-out [file] Write stats to the file |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
--stats-out [file] Write stats to the file | |
--stats-out [file] Emit webpack stats as json to the specified output file |
Can this be more descriptive?
--stats-out
to emit webpack statistics output
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR!
Please update the README.md as well with the new option.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Thank you! Will this be released soon? |
Released in https://github.com/zeit/ncc/releases/tag/0.22.0 |
Add options to output Webpack statistics JSON to enable further analysis.