diff --git a/lib/optionsSchema.json b/lib/optionsSchema.json index 16d2a485bc..32ceb8d7bd 100644 --- a/lib/optionsSchema.json +++ b/lib/optionsSchema.json @@ -303,6 +303,10 @@ "description": "Customize what the console displays when compiling.", "instanceof": "Function" }, + "reportTime": { + "description": "Report time before and after compiling in console displays.", + "type": "boolean" + }, "noInfo": { "description": "Hide all info messages on console.", "type": "boolean" diff --git a/test/Validation.test.js b/test/Validation.test.js index c4f6933c52..b4284a5e59 100644 --- a/test/Validation.test.js +++ b/test/Validation.test.js @@ -51,7 +51,7 @@ describe('Validation', () => { ' object { hot?, hotOnly?, lazy?, bonjour?, host?, allowedHosts?, filename?, publicPath?, port?, socket?, ' + 'watchOptions?, headers?, clientLogLevel?, overlay?, progress?, key?, cert?, ca?, pfx?, pfxPassphrase?, requestCert?, ' + 'inline?, disableHostCheck?, public?, https?, contentBase?, watchContentBase?, open?, useLocalIp?, openPage?, features?, ' + - 'compress?, proxy?, historyApiFallback?, staticOptions?, setup?, before?, after?, stats?, reporter?, ' + + 'compress?, proxy?, historyApiFallback?, staticOptions?, setup?, before?, after?, stats?, reporter?, reportTime?, ' + 'noInfo?, quiet?, serverSideRender?, index?, log?, warn? }' ] }];