Skip to content

Commit 2a81ad2

Browse files
niedzielskihiroppy
authored andcommittedMay 17, 2019
fix(stats): add errors-warnings preset (#1895)
Add the new errors-warnings preset shipped in v4.31.0. Keeping webpack-dev-server presets supported consistent with Webpack will make both tools easier to use. https://github.com/webpack/webpack/releases/tag/v4.31.0 https://github.com/webpack/webpack/pull/8919/files#diff-baf371f5446dc9bc4b41022587e05b48
1 parent ce3792c commit 2a81ad2

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed
 

‎lib/options.json

+8-1
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,14 @@
325325
"type": "boolean"
326326
},
327327
{
328-
"enum": ["none", "errors-only", "minimal", "normal", "verbose"]
328+
"enum": [
329+
"none",
330+
"errors-only",
331+
"errors-warnings",
332+
"minimal",
333+
"normal",
334+
"verbose"
335+
]
329336
}
330337
]
331338
},

‎test/options.test.js

+1
Original file line numberDiff line numberDiff line change
@@ -359,6 +359,7 @@ describe('options', () => {
359359
{},
360360
'none',
361361
'errors-only',
362+
'errors-warnings',
362363
'minimal',
363364
'normal',
364365
'verbose',

0 commit comments

Comments
 (0)
Please sign in to comment.