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

new option to terminate with non-zero code if builded with warnings #3315

Closed
vankop opened this issue Jun 28, 2022 · 5 comments · Fixed by #3317
Closed

new option to terminate with non-zero code if builded with warnings #3315

vankop opened this issue Jun 28, 2022 · 5 comments · Fixed by #3317

Comments

@vankop
Copy link
Member

vankop commented Jun 28, 2022

Is your feature request related to a problem? Please describe.

related to webpack/webpack#15960 (comment)

Describe the solution you'd like

One possible solution could be - add an option to terminate process with non-zero code if any warning exist. e.g. --strict option ( false by default )

Describe alternatives you've considered

Additional context

@vankop
Copy link
Member Author

vankop commented Jun 28, 2022

@alexander-akait any other "naming" ideas?

@sokra
Copy link
Member

sokra commented Jun 28, 2022

--disallow-warnings --strict-warnings --fail-on-warnings?

@snitin315
Copy link
Member

I like --fail-on-warnings

@alexander-akait
Copy link
Member

--fail-on-warnings 👍

@rishabh3112
Copy link
Member

rishabh3112 commented Jun 29, 2022

Yeah, --fail-on-warnings sounds good.

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

Successfully merging a pull request may close this issue.

5 participants