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

Add option --stats-out to emit webpack statistics output #516

Merged
merged 1 commit into from
Mar 6, 2020

Conversation

legendecas
Copy link
Contributor

Add options to output Webpack statistics JSON to enable further analysis.

@legendecas legendecas requested review from styfle and Timer as code owners March 4, 2020 06:58
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
Copy link
Member

@styfle styfle Mar 6, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
--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?

@styfle styfle changed the title Add statistics output options Add option to emit webpack statistics output Mar 6, 2020
@styfle styfle changed the title Add option to emit webpack statistics output Add option --stats-out to emit webpack statistics output Mar 6, 2020
@styfle styfle added the enhancement New feature or request label Mar 6, 2020
Copy link
Member

@styfle styfle left a 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.

Copy link
Member

@styfle styfle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@styfle styfle merged commit 818848c into vercel:master Mar 6, 2020
@dtinth
Copy link

dtinth commented Mar 20, 2020

Thank you! Will this be released soon?

@legendecas legendecas deleted the stats branch March 21, 2020 16:27
@styfle
Copy link
Member

styfle commented Mar 23, 2020

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

Successfully merging this pull request may close these issues.

3 participants