webpack 5.76.2 → 5.77.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of webpack might be problematic. Click here for more details.

@@ -3241,6 +3241,9 @@
3241
3241
  "workerChunkLoading": {
3242
3242
  "$ref": "#/definitions/ChunkLoading"
3243
3243
  },
3244
+ "workerPublicPath": {
3245
+ "$ref": "#/definitions/WorkerPublicPath"
3246
+ },
3244
3247
  "workerWasmLoading": {
3245
3248
  "$ref": "#/definitions/WasmLoading"
3246
3249
  }
@@ -3397,6 +3400,9 @@
3397
3400
  "workerChunkLoading": {
3398
3401
  "$ref": "#/definitions/ChunkLoading"
3399
3402
  },
3403
+ "workerPublicPath": {
3404
+ "$ref": "#/definitions/WorkerPublicPath"
3405
+ },
3400
3406
  "workerWasmLoading": {
3401
3407
  "$ref": "#/definitions/WasmLoading"
3402
3408
  }
@@ -5271,6 +5277,10 @@
5271
5277
  }
5272
5278
  },
5273
5279
  "required": ["apply"]
5280
+ },
5281
+ "WorkerPublicPath": {
5282
+ "description": "Worker public path. Much like the public path, this sets the location where the worker script file is intended to be found. 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.",
5283
+ "type": "string"
5274
5284
  }
5275
5285
  },
5276
5286
  "title": "WebpackOptions",
package/types.d.ts CHANGED
@@ -8680,6 +8680,11 @@ declare interface Output {
8680
8680
  */
8681
8681
  workerChunkLoading?: string | false;
8682
8682
 
8683
+ /**
8684
+ * Worker public path. Much like the public path, this sets the location where the worker script file is intended to be found. 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.
8685
+ */
8686
+ workerPublicPath?: string;
8687
+
8683
8688
  /**
8684
8689
  * The method of loading WebAssembly Modules (methods included by default are 'fetch' (web/WebWorker), 'async-node' (node.js), but others might be added by plugins).
8685
8690
  */
@@ -8974,6 +8979,11 @@ declare interface OutputNormalized {
8974
8979
  */
8975
8980
  workerChunkLoading?: string | false;
8976
8981
 
8982
+ /**
8983
+ * Worker public path. Much like the public path, this sets the location where the worker script file is intended to be found. 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.
8984
+ */
8985
+ workerPublicPath?: string;
8986
+
8977
8987
  /**
8978
8988
  * The method of loading WebAssembly Modules (methods included by default are 'fetch' (web/WebWorker), 'async-node' (node.js), but others might be added by plugins).
8979
8989
  */