mirror of https://github.com/webpack/webpack.git
Preset option for errors & warnings only
This commit is contained in:
parent
5ca4a3f559
commit
cb3e6f3cf6
|
|
@ -1408,6 +1408,12 @@ class Stats {
|
|||
errors: true,
|
||||
moduleTrace: true
|
||||
};
|
||||
case "errors-warnings":
|
||||
return {
|
||||
all: false,
|
||||
errors: true,
|
||||
warnings: true
|
||||
};
|
||||
default:
|
||||
return {};
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue