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

Preset option for errors & warnings only #8919

Merged
merged 5 commits into from May 9, 2019
Merged

Preset option for errors & warnings only #8919

merged 5 commits into from May 9, 2019

Conversation

bring-shrubbery
Copy link
Contributor

@bring-shrubbery bring-shrubbery commented Mar 15, 2019

I've noticed that I often need just see warnings and errors since during rapid development I don't really need to see the modules stats. So I tend to write the same code every time and it would be nice to be able to just provide an "errors-warnings" preset to save space and improve readability.

What kind of change does this PR introduce?

Extension to the existing stats preset.

Did you add tests for your changes?

Tests added.

Does this PR introduce a breaking change?

No, this is a just an extension which will not break anything

What needs to be documented once your changes are merged?

The following page will need to be updated with additional stats preset option: https://webpack.js.org/configuration/stats/

@jsf-clabot
Copy link

jsf-clabot commented Mar 15, 2019

CLA assistant check
Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.

@webpack-bot
Copy link
Contributor

webpack-bot commented Mar 15, 2019

For maintainers only:

  • This need to be documented (issue in webpack/webpack.js.org will be filed when merged)

@webpack-bot
Copy link
Contributor

Thank you for your pull request! The most important CI builds succeeded, we’ll review the pull request soon.

@webpack-bot
Copy link
Contributor

The minimum test ratio has been reached. Thanks!

@sokra sokra merged commit b17543e into webpack:master May 9, 2019
@sokra
Copy link
Member

sokra commented May 9, 2019

Thanks

@webpack-bot
Copy link
Contributor

I've created an issue to document this in webpack/webpack.js.org.

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

Successfully merging this pull request may close these issues.

None yet

4 participants