disallow function for output.hotUpdateChunkFilename

This commit is contained in:
Tobias Koppers 2020-02-17 08:59:03 +01:00
parent 95409bda85
commit d46ddc2b84
2 changed files with 3 additions and 11 deletions

View File

@ -1118,7 +1118,7 @@ export interface OutputOptions {
/**
* The filename of the Hot Update Chunks. They are inside the output.path directory.
*/
hotUpdateChunkFilename?: string | Function;
hotUpdateChunkFilename?: string;
/**
* The JSONP function used by webpack for async loading of hot update chunks.
*/

View File

@ -940,16 +940,8 @@
},
"hotUpdateChunkFilename": {
"description": "The filename of the Hot Update Chunks. They are inside the output.path directory.",
"anyOf": [
{
"type": "string",
"absolutePath": false
},
{
"instanceof": "Function",
"tsType": "Function"
}
]
"type": "string",
"absolutePath": false
},
"hotUpdateFunction": {
"description": "The JSONP function used by webpack for async loading of hot update chunks.",