Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
options.color
1 parent 927a2b3 commit 55398b5Copy full SHA for 55398b5
1 file changed
bin/options.js
@@ -57,7 +57,9 @@ const options = {
57
type: 'boolean',
58
alias: 'colors',
59
default: function supportsColor() {
60
- return require('supports-color');
+ // Use `require('supports-color').stdout` for supports-color >= 5.0.0.
61
+ // See https://github.com/webpack/webpack-dev-server/pull/1555.
62
+ return require('supports-color').stdout;
63
},
64
group: DISPLAY_GROUP,
65
describe: 'Enables/Disables colors on the console'
0 commit comments