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