Skip to content

Commit 7a1ccea

Browse files
committed
change json schema description
1 parent 0df564b commit 7a1ccea

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

schemas/WebpackOptions.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5276,7 +5276,7 @@
52765276
"required": ["apply"]
52775277
},
52785278
"WorkerPublicPath": {
5279-
"description": "Worker public path.",
5279+
"description": "Worker public path. Much like the public path, this sets the location that the worker script file is intended to be found at. If not set, Webpack will use the publicPath. Don't set this option unless your worker scripts are located at a different path from your other script files.",
52805280
"type": "string"
52815281
}
52825282
},

types.d.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6543,6 +6543,7 @@ declare interface LoaderRunnerLoaderContext<OptionsType> {
65436543
/**
65446544
* An array of all the loaders. It is writeable in the pitch phase.
65456545
* loaders = [{request: string, path: string, query: string, module: function}]
6546+
*
65466547
* In the example:
65476548
* [
65486549
* { request: "/abc/loader1.js?xyz",
@@ -8675,7 +8676,7 @@ declare interface Output {
86758676
workerChunkLoading?: string | false;
86768677

86778678
/**
8678-
* Worker public path.
8679+
* Worker public path. Much like the public path, this sets the location that the worker script file is intended to be found at. If not set, Webpack will use the publicPath. Don't set this option unless your worker scripts are located at a different path from your other script files.
86798680
*/
86808681
workerPublicPath?: string;
86818682

0 commit comments

Comments
 (0)