Skip to content

Commit a168b81

Browse files
evilebottnawishellscape
authored andcommitted
feat: reportTime option (#1209)
1 parent 32c3ceb commit a168b81

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

lib/optionsSchema.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -303,6 +303,10 @@
303303
"description": "Customize what the console displays when compiling.",
304304
"instanceof": "Function"
305305
},
306+
"reportTime": {
307+
"description": "Report time before and after compiling in console displays.",
308+
"type": "boolean"
309+
},
306310
"noInfo": {
307311
"description": "Hide all info messages on console.",
308312
"type": "boolean"

test/Validation.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ describe('Validation', () => {
5151
' object { hot?, hotOnly?, lazy?, bonjour?, host?, allowedHosts?, filename?, publicPath?, port?, socket?, ' +
5252
'watchOptions?, headers?, clientLogLevel?, overlay?, progress?, key?, cert?, ca?, pfx?, pfxPassphrase?, requestCert?, ' +
5353
'inline?, disableHostCheck?, public?, https?, contentBase?, watchContentBase?, open?, useLocalIp?, openPage?, features?, ' +
54-
'compress?, proxy?, historyApiFallback?, staticOptions?, setup?, before?, after?, stats?, reporter?, ' +
54+
'compress?, proxy?, historyApiFallback?, staticOptions?, setup?, before?, after?, stats?, reporter?, reportTime?, ' +
5555
'noInfo?, quiet?, serverSideRender?, index?, log?, warn? }'
5656
]
5757
}];

0 commit comments

Comments
 (0)