Skip to content

Commit

Permalink
disallow function for output.hotUpdateChunkFilename
Browse files Browse the repository at this point in the history
  • Loading branch information
sokra committed Feb 17, 2020
1 parent 95409bd commit d46ddc2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
2 changes: 1 addition & 1 deletion declarations/WebpackOptions.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand Down
12 changes: 2 additions & 10 deletions schemas/WebpackOptions.json
Original file line number Diff line number Diff line change
Expand Up @@ -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.",
Expand Down

0 comments on commit d46ddc2

Please sign in to comment.