Skip to content

Commit

Permalink
fix(stats): add errors-warnings preset (#1895)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
niedzielski authored and hiroppy committed May 17, 2019
1 parent ce3792c commit 2a81ad2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
9 changes: 8 additions & 1 deletion lib/options.json
Expand Up @@ -325,7 +325,14 @@
"type": "boolean"
},
{
"enum": ["none", "errors-only", "minimal", "normal", "verbose"]
"enum": [
"none",
"errors-only",
"errors-warnings",
"minimal",
"normal",
"verbose"
]
}
]
},
Expand Down
1 change: 1 addition & 0 deletions test/options.test.js
Expand Up @@ -359,6 +359,7 @@ describe('options', () => {
{},
'none',
'errors-only',
'errors-warnings',
'minimal',
'normal',
'verbose',
Expand Down

0 comments on commit 2a81ad2

Please sign in to comment.