webpack 5.62.1 → 5.64.1

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.

@@ -434,6 +434,10 @@
434
434
  "type": "object",
435
435
  "additionalProperties": false,
436
436
  "properties": {
437
+ "asyncChunks": {
438
+ "description": "Enable/disable creating async chunks that are loaded on demand.",
439
+ "type": "boolean"
440
+ },
437
441
  "chunkLoading": {
438
442
  "$ref": "#/definitions/ChunkLoading"
439
443
  },
@@ -487,6 +491,10 @@
487
491
  "type": "object",
488
492
  "additionalProperties": false,
489
493
  "properties": {
494
+ "asyncChunks": {
495
+ "description": "Enable/disable creating async chunks that are loaded on demand.",
496
+ "type": "boolean"
497
+ },
490
498
  "chunkLoading": {
491
499
  "$ref": "#/definitions/ChunkLoading"
492
500
  },
@@ -2891,6 +2899,10 @@
2891
2899
  "assetModuleFilename": {
2892
2900
  "$ref": "#/definitions/AssetModuleFilename"
2893
2901
  },
2902
+ "asyncChunks": {
2903
+ "description": "Enable/disable creating async chunks that are loaded on demand.",
2904
+ "type": "boolean"
2905
+ },
2894
2906
  "auxiliaryComment": {
2895
2907
  "cli": {
2896
2908
  "exclude": true
@@ -3090,6 +3102,10 @@
3090
3102
  "assetModuleFilename": {
3091
3103
  "$ref": "#/definitions/AssetModuleFilename"
3092
3104
  },
3105
+ "asyncChunks": {
3106
+ "description": "Enable/disable creating async chunks that are loaded on demand.",
3107
+ "type": "boolean"
3108
+ },
3093
3109
  "charset": {
3094
3110
  "$ref": "#/definitions/Charset"
3095
3111
  },
package/types.d.ts CHANGED
@@ -3024,6 +3024,11 @@ declare abstract class EntryDependency extends ModuleDependency {}
3024
3024
  * An object with entry point description.
3025
3025
  */
3026
3026
  declare interface EntryDescription {
3027
+ /**
3028
+ * Enable/disable creating async chunks that are loaded on demand.
3029
+ */
3030
+ asyncChunks?: boolean;
3031
+
3027
3032
  /**
3028
3033
  * The method of loading chunks (methods included by default are 'jsonp' (web), 'import' (ESM), 'importScripts' (WebWorker), 'require' (sync node.js), 'async-node' (async node.js), but others might be added by plugins).
3029
3034
  */
@@ -3074,6 +3079,11 @@ declare interface EntryDescription {
3074
3079
  * An object with entry point description.
3075
3080
  */
3076
3081
  declare interface EntryDescriptionNormalized {
3082
+ /**
3083
+ * Enable/disable creating async chunks that are loaded on demand.
3084
+ */
3085
+ asyncChunks?: boolean;
3086
+
3077
3087
  /**
3078
3088
  * The method of loading chunks (methods included by default are 'jsonp' (web), 'import' (ESM), 'importScripts' (WebWorker), 'require' (sync node.js), 'async-node' (async node.js), but others might be added by plugins).
3079
3089
  */
@@ -8062,6 +8072,11 @@ declare interface Output {
8062
8072
  | string
8063
8073
  | ((pathData: PathData, assetInfo?: AssetInfo) => string);
8064
8074
 
8075
+ /**
8076
+ * Enable/disable creating async chunks that are loaded on demand.
8077
+ */
8078
+ asyncChunks?: boolean;
8079
+
8065
8080
  /**
8066
8081
  * Add a comment in the UMD wrapper.
8067
8082
  */
@@ -8333,6 +8348,10 @@ declare interface OutputFileSystem {
8333
8348
  arg0: string,
8334
8349
  arg1: (arg0?: null | NodeJS.ErrnoException, arg1?: IStats) => void
8335
8350
  ) => void;
8351
+ lstat?: (
8352
+ arg0: string,
8353
+ arg1: (arg0?: null | NodeJS.ErrnoException, arg1?: IStats) => void
8354
+ ) => void;
8336
8355
  readFile: (
8337
8356
  arg0: string,
8338
8357
  arg1: (arg0?: null | NodeJS.ErrnoException, arg1?: string | Buffer) => void
@@ -8353,6 +8372,11 @@ declare interface OutputNormalized {
8353
8372
  | string
8354
8373
  | ((pathData: PathData, assetInfo?: AssetInfo) => string);
8355
8374
 
8375
+ /**
8376
+ * Enable/disable creating async chunks that are loaded on demand.
8377
+ */
8378
+ asyncChunks?: boolean;
8379
+
8356
8380
  /**
8357
8381
  * Add charset attribute for script tag.
8358
8382
  */