@rspack/core 1.1.0-beta.0 → 1.1.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.
Files changed (35) hide show
  1. package/compiled/enhanced-resolve/CachedInputFileSystem.js +267 -80
  2. package/compiled/enhanced-resolve/index.d.ts +849 -236
  3. package/compiled/enhanced-resolve/package.json +1 -1
  4. package/compiled/graceful-fs/index.js +10 -10
  5. package/compiled/graceful-fs/package.json +1 -1
  6. package/compiled/zod/index.d.ts +2 -2
  7. package/dist/Compilation.d.ts +1 -1
  8. package/dist/DependenciesBlock.d.ts +6 -4
  9. package/dist/Module.d.ts +16 -15
  10. package/dist/builtin-plugin/DllEntryPlugin.d.ts +13 -0
  11. package/dist/builtin-plugin/DllReferenceAgencyPlugin.d.ts +11 -0
  12. package/dist/builtin-plugin/EntryPlugin.d.ts +14 -11
  13. package/dist/builtin-plugin/FlagAllModulesAsUsedPlugin.d.ts +10 -0
  14. package/dist/builtin-plugin/FlagDependencyUsagePlugin.d.ts +10 -10
  15. package/dist/builtin-plugin/LibManifestPlugin.d.ts +18 -0
  16. package/dist/builtin-plugin/MangleExportsPlugin.d.ts +10 -10
  17. package/dist/builtin-plugin/ModuleConcatenationPlugin.d.ts +8 -10
  18. package/dist/builtin-plugin/index.d.ts +3 -0
  19. package/dist/builtin-plugin/lazy-compilation/lazyCompilation.d.ts +3 -3
  20. package/dist/builtin-plugin/lazy-compilation/plugin.d.ts +3 -3
  21. package/dist/config/normalization.d.ts +3 -11
  22. package/dist/config/types.d.ts +37 -6
  23. package/dist/config/utils.d.ts +16 -0
  24. package/dist/config/zod.d.ts +94 -93
  25. package/dist/exports.d.ts +4 -2
  26. package/dist/index.js +2201 -1091
  27. package/dist/lib/DllPlugin.d.ts +42 -0
  28. package/dist/lib/DllReferencePlugin.d.ts +119 -0
  29. package/package.json +6 -6
  30. package/dist/lib/Dependency.d.ts +0 -23
  31. package/dist/lib/formatLocation.d.ts +0 -16
  32. package/dist/logging/runtime.d.ts +0 -16
  33. package/dist/util/IterableHelpers.d.ts +0 -12
  34. package/dist/util/scheme.d.ts +0 -6
  35. package/dist/util/webpack.d.ts +0 -4
@@ -4,6 +4,7 @@ import { Chunk } from "../Chunk";
4
4
  import type { Compilation, PathData } from "../Compilation";
5
5
  import { Module } from "../Module";
6
6
  import type * as t from "./types";
7
+ import { ZodRspackCrossChecker } from "./utils";
7
8
  export declare const externalsType: z.ZodEnum<["var", "module", "assign", "this", "window", "self", "global", "commonjs", "commonjs2", "commonjs-module", "commonjs-static", "amd", "amd-require", "umd", "umd2", "jsonp", "system", "promise", "import", "module-import", "script", "node-commonjs"]>;
8
9
  export declare const rspackOptions: z.ZodObject<{
9
10
  name: z.ZodOptional<z.ZodString>;
@@ -88,10 +89,13 @@ export declare const rspackOptions: z.ZodObject<{
88
89
  layer: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
89
90
  }, "strict", z.ZodTypeAny, {
90
91
  import: string | string[];
92
+ layer?: string | null | undefined;
91
93
  filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
92
94
  publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
93
- layer?: string | null | undefined;
94
95
  runtime?: string | false | undefined;
96
+ chunkLoading?: string | false | undefined;
97
+ asyncChunks?: boolean | undefined;
98
+ baseUri?: string | undefined;
95
99
  library?: {
96
100
  type: string;
97
101
  name?: string | string[] | {
@@ -109,17 +113,17 @@ export declare const rspackOptions: z.ZodObject<{
109
113
  export?: string | string[] | undefined;
110
114
  umdNamedDefine?: boolean | undefined;
111
115
  } | undefined;
112
- dependOn?: string | string[] | undefined;
113
- chunkLoading?: string | false | undefined;
114
- asyncChunks?: boolean | undefined;
115
- baseUri?: string | undefined;
116
116
  wasmLoading?: string | false | undefined;
117
+ dependOn?: string | string[] | undefined;
117
118
  }, {
118
119
  import: string | string[];
120
+ layer?: string | null | undefined;
119
121
  filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
120
122
  publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
121
- layer?: string | null | undefined;
122
123
  runtime?: string | false | undefined;
124
+ chunkLoading?: string | false | undefined;
125
+ asyncChunks?: boolean | undefined;
126
+ baseUri?: string | undefined;
123
127
  library?: {
124
128
  type: string;
125
129
  name?: string | string[] | {
@@ -137,11 +141,8 @@ export declare const rspackOptions: z.ZodObject<{
137
141
  export?: string | string[] | undefined;
138
142
  umdNamedDefine?: boolean | undefined;
139
143
  } | undefined;
140
- dependOn?: string | string[] | undefined;
141
- chunkLoading?: string | false | undefined;
142
- asyncChunks?: boolean | undefined;
143
- baseUri?: string | undefined;
144
144
  wasmLoading?: string | false | undefined;
145
+ dependOn?: string | string[] | undefined;
145
146
  }>]>>, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>]>, z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodUnion<[z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
146
147
  import: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
147
148
  runtime: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodString]>>;
@@ -222,10 +223,13 @@ export declare const rspackOptions: z.ZodObject<{
222
223
  layer: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
223
224
  }, "strict", z.ZodTypeAny, {
224
225
  import: string | string[];
226
+ layer?: string | null | undefined;
225
227
  filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
226
228
  publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
227
- layer?: string | null | undefined;
228
229
  runtime?: string | false | undefined;
230
+ chunkLoading?: string | false | undefined;
231
+ asyncChunks?: boolean | undefined;
232
+ baseUri?: string | undefined;
229
233
  library?: {
230
234
  type: string;
231
235
  name?: string | string[] | {
@@ -243,17 +247,17 @@ export declare const rspackOptions: z.ZodObject<{
243
247
  export?: string | string[] | undefined;
244
248
  umdNamedDefine?: boolean | undefined;
245
249
  } | undefined;
246
- dependOn?: string | string[] | undefined;
247
- chunkLoading?: string | false | undefined;
248
- asyncChunks?: boolean | undefined;
249
- baseUri?: string | undefined;
250
250
  wasmLoading?: string | false | undefined;
251
+ dependOn?: string | string[] | undefined;
251
252
  }, {
252
253
  import: string | string[];
254
+ layer?: string | null | undefined;
253
255
  filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
254
256
  publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
255
- layer?: string | null | undefined;
256
257
  runtime?: string | false | undefined;
258
+ chunkLoading?: string | false | undefined;
259
+ asyncChunks?: boolean | undefined;
260
+ baseUri?: string | undefined;
257
261
  library?: {
258
262
  type: string;
259
263
  name?: string | string[] | {
@@ -271,11 +275,8 @@ export declare const rspackOptions: z.ZodObject<{
271
275
  export?: string | string[] | undefined;
272
276
  umdNamedDefine?: boolean | undefined;
273
277
  } | undefined;
274
- dependOn?: string | string[] | undefined;
275
- chunkLoading?: string | false | undefined;
276
- asyncChunks?: boolean | undefined;
277
- baseUri?: string | undefined;
278
278
  wasmLoading?: string | false | undefined;
279
+ dependOn?: string | string[] | undefined;
279
280
  }>]>>, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>]>, z.ZodPromise<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
280
281
  import: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
281
282
  runtime: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodString]>>;
@@ -356,10 +357,13 @@ export declare const rspackOptions: z.ZodObject<{
356
357
  layer: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
357
358
  }, "strict", z.ZodTypeAny, {
358
359
  import: string | string[];
360
+ layer?: string | null | undefined;
359
361
  filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
360
362
  publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
361
- layer?: string | null | undefined;
362
363
  runtime?: string | false | undefined;
364
+ chunkLoading?: string | false | undefined;
365
+ asyncChunks?: boolean | undefined;
366
+ baseUri?: string | undefined;
363
367
  library?: {
364
368
  type: string;
365
369
  name?: string | string[] | {
@@ -377,17 +381,17 @@ export declare const rspackOptions: z.ZodObject<{
377
381
  export?: string | string[] | undefined;
378
382
  umdNamedDefine?: boolean | undefined;
379
383
  } | undefined;
380
- dependOn?: string | string[] | undefined;
381
- chunkLoading?: string | false | undefined;
382
- asyncChunks?: boolean | undefined;
383
- baseUri?: string | undefined;
384
384
  wasmLoading?: string | false | undefined;
385
+ dependOn?: string | string[] | undefined;
385
386
  }, {
386
387
  import: string | string[];
388
+ layer?: string | null | undefined;
387
389
  filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
388
390
  publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
389
- layer?: string | null | undefined;
390
391
  runtime?: string | false | undefined;
392
+ chunkLoading?: string | false | undefined;
393
+ asyncChunks?: boolean | undefined;
394
+ baseUri?: string | undefined;
391
395
  library?: {
392
396
  type: string;
393
397
  name?: string | string[] | {
@@ -405,11 +409,8 @@ export declare const rspackOptions: z.ZodObject<{
405
409
  export?: string | string[] | undefined;
406
410
  umdNamedDefine?: boolean | undefined;
407
411
  } | undefined;
408
- dependOn?: string | string[] | undefined;
409
- chunkLoading?: string | false | undefined;
410
- asyncChunks?: boolean | undefined;
411
- baseUri?: string | undefined;
412
412
  wasmLoading?: string | false | undefined;
413
+ dependOn?: string | string[] | undefined;
413
414
  }>]>>, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>]>>]>>]>>;
414
415
  output: z.ZodOptional<z.ZodObject<{
415
416
  path: z.ZodOptional<z.ZodString>;
@@ -631,6 +632,8 @@ export declare const rspackOptions: z.ZodObject<{
631
632
  } | undefined;
632
633
  chunkFilename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
633
634
  path?: string | undefined;
635
+ chunkLoading?: string | false | undefined;
636
+ asyncChunks?: boolean | undefined;
634
637
  library?: string | string[] | {
635
638
  root?: string | string[] | undefined;
636
639
  commonjs?: string | undefined;
@@ -652,6 +655,7 @@ export declare const rspackOptions: z.ZodObject<{
652
655
  export?: string | string[] | undefined;
653
656
  umdNamedDefine?: boolean | undefined;
654
657
  } | undefined;
658
+ wasmLoading?: string | false | undefined;
655
659
  auxiliaryComment?: string | {
656
660
  root?: string | undefined;
657
661
  commonjs?: string | undefined;
@@ -660,8 +664,6 @@ export declare const rspackOptions: z.ZodObject<{
660
664
  } | undefined;
661
665
  umdNamedDefine?: boolean | undefined;
662
666
  crossOriginLoading?: false | "anonymous" | "use-credentials" | undefined;
663
- chunkLoading?: string | false | undefined;
664
- asyncChunks?: boolean | undefined;
665
667
  uniqueName?: string | undefined;
666
668
  pathinfo?: boolean | "verbose" | undefined;
667
669
  clean?: boolean | undefined;
@@ -678,7 +680,6 @@ export declare const rspackOptions: z.ZodObject<{
678
680
  importFunctionName?: string | undefined;
679
681
  importMetaName?: string | undefined;
680
682
  iife?: boolean | undefined;
681
- wasmLoading?: string | false | undefined;
682
683
  enabledWasmLoadingTypes?: string[] | undefined;
683
684
  webassemblyModuleFilename?: string | undefined;
684
685
  chunkFormat?: string | false | undefined;
@@ -727,6 +728,8 @@ export declare const rspackOptions: z.ZodObject<{
727
728
  } | undefined;
728
729
  chunkFilename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
729
730
  path?: string | undefined;
731
+ chunkLoading?: string | false | undefined;
732
+ asyncChunks?: boolean | undefined;
730
733
  library?: string | string[] | {
731
734
  root?: string | string[] | undefined;
732
735
  commonjs?: string | undefined;
@@ -748,6 +751,7 @@ export declare const rspackOptions: z.ZodObject<{
748
751
  export?: string | string[] | undefined;
749
752
  umdNamedDefine?: boolean | undefined;
750
753
  } | undefined;
754
+ wasmLoading?: string | false | undefined;
751
755
  auxiliaryComment?: string | {
752
756
  root?: string | undefined;
753
757
  commonjs?: string | undefined;
@@ -756,8 +760,6 @@ export declare const rspackOptions: z.ZodObject<{
756
760
  } | undefined;
757
761
  umdNamedDefine?: boolean | undefined;
758
762
  crossOriginLoading?: false | "anonymous" | "use-credentials" | undefined;
759
- chunkLoading?: string | false | undefined;
760
- asyncChunks?: boolean | undefined;
761
763
  uniqueName?: string | undefined;
762
764
  pathinfo?: boolean | "verbose" | undefined;
763
765
  clean?: boolean | undefined;
@@ -774,7 +776,6 @@ export declare const rspackOptions: z.ZodObject<{
774
776
  importFunctionName?: string | undefined;
775
777
  importMetaName?: string | undefined;
776
778
  iife?: boolean | undefined;
777
- wasmLoading?: string | false | undefined;
778
779
  enabledWasmLoadingTypes?: string[] | undefined;
779
780
  webassemblyModuleFilename?: string | undefined;
780
781
  chunkFormat?: string | false | undefined;
@@ -1057,7 +1058,7 @@ export declare const rspackOptions: z.ZodObject<{
1057
1058
  } | undefined;
1058
1059
  } | undefined;
1059
1060
  }>>;
1060
- externals: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBoolean]>, z.ZodArray<z.ZodString, "many">]>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>]>>]>, z.ZodFunction<z.ZodTuple<[z.ZodObject<{
1061
+ externals: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBoolean]>, z.ZodArray<z.ZodString, "many">]>, ZodRspackCrossChecker<t.ExternalItemUmdValue | t.ExternalItemObjectValue>]>>]>, z.ZodFunction<z.ZodTuple<[z.ZodObject<{
1061
1062
  context: z.ZodOptional<z.ZodString>;
1062
1063
  dependencyType: z.ZodOptional<z.ZodString>;
1063
1064
  request: z.ZodOptional<z.ZodString>;
@@ -1082,7 +1083,7 @@ export declare const rspackOptions: z.ZodObject<{
1082
1083
  contextInfo?: {
1083
1084
  issuer: string;
1084
1085
  } | undefined;
1085
- }>, z.ZodFunction<z.ZodTuple<[z.ZodOptional<z.ZodType<Error, z.ZodTypeDef, Error>>, z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBoolean]>, z.ZodArray<z.ZodString, "many">]>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>]>>, z.ZodOptional<z.ZodEnum<["var", "module", "assign", "this", "window", "self", "global", "commonjs", "commonjs2", "commonjs-module", "commonjs-static", "amd", "amd-require", "umd", "umd2", "jsonp", "system", "promise", "import", "module-import", "script", "node-commonjs"]>>], z.ZodUnknown>, z.ZodVoid>], z.ZodUnknown>, z.ZodUnknown>]>, z.ZodFunction<z.ZodTuple<[z.ZodObject<{
1086
+ }>, z.ZodFunction<z.ZodTuple<[z.ZodOptional<z.ZodType<Error, z.ZodTypeDef, Error>>, z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBoolean]>, z.ZodArray<z.ZodString, "many">]>, ZodRspackCrossChecker<t.ExternalItemUmdValue | t.ExternalItemObjectValue>]>>, z.ZodOptional<z.ZodEnum<["var", "module", "assign", "this", "window", "self", "global", "commonjs", "commonjs2", "commonjs-module", "commonjs-static", "amd", "amd-require", "umd", "umd2", "jsonp", "system", "promise", "import", "module-import", "script", "node-commonjs"]>>], z.ZodUnknown>, z.ZodVoid>], z.ZodUnknown>, z.ZodUnknown>]>, z.ZodFunction<z.ZodTuple<[z.ZodObject<{
1086
1087
  context: z.ZodOptional<z.ZodString>;
1087
1088
  dependencyType: z.ZodOptional<z.ZodString>;
1088
1089
  request: z.ZodOptional<z.ZodString>;
@@ -1107,7 +1108,7 @@ export declare const rspackOptions: z.ZodObject<{
1107
1108
  contextInfo?: {
1108
1109
  issuer: string;
1109
1110
  } | undefined;
1110
- }>], z.ZodUnknown>, z.ZodPromise<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBoolean]>, z.ZodArray<z.ZodString, "many">]>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>]>>>]>, "many">, z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBoolean]>, z.ZodArray<z.ZodString, "many">]>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>]>>]>, z.ZodFunction<z.ZodTuple<[z.ZodObject<{
1111
+ }>], z.ZodUnknown>, z.ZodPromise<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBoolean]>, z.ZodArray<z.ZodString, "many">]>, ZodRspackCrossChecker<t.ExternalItemUmdValue | t.ExternalItemObjectValue>]>>>]>, "many">, z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBoolean]>, z.ZodArray<z.ZodString, "many">]>, ZodRspackCrossChecker<t.ExternalItemUmdValue | t.ExternalItemObjectValue>]>>]>, z.ZodFunction<z.ZodTuple<[z.ZodObject<{
1111
1112
  context: z.ZodOptional<z.ZodString>;
1112
1113
  dependencyType: z.ZodOptional<z.ZodString>;
1113
1114
  request: z.ZodOptional<z.ZodString>;
@@ -1132,7 +1133,7 @@ export declare const rspackOptions: z.ZodObject<{
1132
1133
  contextInfo?: {
1133
1134
  issuer: string;
1134
1135
  } | undefined;
1135
- }>, z.ZodFunction<z.ZodTuple<[z.ZodOptional<z.ZodType<Error, z.ZodTypeDef, Error>>, z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBoolean]>, z.ZodArray<z.ZodString, "many">]>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>]>>, z.ZodOptional<z.ZodEnum<["var", "module", "assign", "this", "window", "self", "global", "commonjs", "commonjs2", "commonjs-module", "commonjs-static", "amd", "amd-require", "umd", "umd2", "jsonp", "system", "promise", "import", "module-import", "script", "node-commonjs"]>>], z.ZodUnknown>, z.ZodVoid>], z.ZodUnknown>, z.ZodUnknown>]>, z.ZodFunction<z.ZodTuple<[z.ZodObject<{
1136
+ }>, z.ZodFunction<z.ZodTuple<[z.ZodOptional<z.ZodType<Error, z.ZodTypeDef, Error>>, z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBoolean]>, z.ZodArray<z.ZodString, "many">]>, ZodRspackCrossChecker<t.ExternalItemUmdValue | t.ExternalItemObjectValue>]>>, z.ZodOptional<z.ZodEnum<["var", "module", "assign", "this", "window", "self", "global", "commonjs", "commonjs2", "commonjs-module", "commonjs-static", "amd", "amd-require", "umd", "umd2", "jsonp", "system", "promise", "import", "module-import", "script", "node-commonjs"]>>], z.ZodUnknown>, z.ZodVoid>], z.ZodUnknown>, z.ZodUnknown>]>, z.ZodFunction<z.ZodTuple<[z.ZodObject<{
1136
1137
  context: z.ZodOptional<z.ZodString>;
1137
1138
  dependencyType: z.ZodOptional<z.ZodString>;
1138
1139
  request: z.ZodOptional<z.ZodString>;
@@ -1157,7 +1158,7 @@ export declare const rspackOptions: z.ZodObject<{
1157
1158
  contextInfo?: {
1158
1159
  issuer: string;
1159
1160
  } | undefined;
1160
- }>], z.ZodUnknown>, z.ZodPromise<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBoolean]>, z.ZodArray<z.ZodString, "many">]>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>]>>>]>]>>;
1161
+ }>], z.ZodUnknown>, z.ZodPromise<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBoolean]>, z.ZodArray<z.ZodString, "many">]>, ZodRspackCrossChecker<t.ExternalItemUmdValue | t.ExternalItemObjectValue>]>>>]>]>>;
1161
1162
  externalsType: z.ZodOptional<z.ZodEnum<["var", "module", "assign", "this", "window", "self", "global", "commonjs", "commonjs2", "commonjs-module", "commonjs-static", "amd", "amd-require", "umd", "umd2", "jsonp", "system", "promise", "import", "module-import", "script", "node-commonjs"]>>;
1162
1163
  externalsPresets: z.ZodOptional<z.ZodObject<{
1163
1164
  node: z.ZodOptional<z.ZodBoolean>;
@@ -1326,7 +1327,6 @@ export declare const rspackOptions: z.ZodObject<{
1326
1327
  warningsSpace: z.ZodOptional<z.ZodNumber>;
1327
1328
  }, "strict", z.ZodTypeAny, {
1328
1329
  modules?: boolean | undefined;
1329
- source?: boolean | undefined;
1330
1330
  publicPath?: boolean | undefined;
1331
1331
  all?: boolean | undefined;
1332
1332
  preset?: boolean | "verbose" | "normal" | "none" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | undefined;
@@ -1350,6 +1350,7 @@ export declare const rspackOptions: z.ZodObject<{
1350
1350
  builtAt?: boolean | undefined;
1351
1351
  moduleAssets?: boolean | undefined;
1352
1352
  nestedModules?: boolean | undefined;
1353
+ source?: boolean | undefined;
1353
1354
  logging?: boolean | "log" | "info" | "verbose" | "none" | "error" | "warn" | undefined;
1354
1355
  loggingDebug?: string | boolean | RegExp | ((args_0: string, ...args: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args: unknown[]) => boolean))[] | undefined;
1355
1356
  loggingTrace?: boolean | undefined;
@@ -1403,7 +1404,6 @@ export declare const rspackOptions: z.ZodObject<{
1403
1404
  warningsSpace?: number | undefined;
1404
1405
  }, {
1405
1406
  modules?: boolean | undefined;
1406
- source?: boolean | undefined;
1407
1407
  publicPath?: boolean | undefined;
1408
1408
  all?: boolean | undefined;
1409
1409
  preset?: boolean | "verbose" | "normal" | "none" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | undefined;
@@ -1427,6 +1427,7 @@ export declare const rspackOptions: z.ZodObject<{
1427
1427
  builtAt?: boolean | undefined;
1428
1428
  moduleAssets?: boolean | undefined;
1429
1429
  nestedModules?: boolean | undefined;
1430
+ source?: boolean | undefined;
1430
1431
  logging?: boolean | "log" | "info" | "verbose" | "none" | "error" | "warn" | undefined;
1431
1432
  loggingDebug?: string | boolean | RegExp | ((args_0: string, ...args: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args: unknown[]) => boolean))[] | undefined;
1432
1433
  loggingTrace?: boolean | undefined;
@@ -2864,8 +2865,8 @@ export declare const rspackOptions: z.ZodObject<{
2864
2865
  maxEntrypointSize?: number | undefined;
2865
2866
  }>, z.ZodLiteral<false>]>>;
2866
2867
  }, "strict", z.ZodTypeAny, {
2867
- context?: string | undefined;
2868
2868
  dependencies?: string[] | undefined;
2869
+ context?: string | undefined;
2869
2870
  module?: {
2870
2871
  generator?: Record<string, Record<string, any>> | {
2871
2872
  css?: {
@@ -3024,10 +3025,13 @@ export declare const rspackOptions: z.ZodObject<{
3024
3025
  } | undefined;
3025
3026
  entry?: string | string[] | Record<string, string | string[] | {
3026
3027
  import: string | string[];
3028
+ layer?: string | null | undefined;
3027
3029
  filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
3028
3030
  publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
3029
- layer?: string | null | undefined;
3030
3031
  runtime?: string | false | undefined;
3032
+ chunkLoading?: string | false | undefined;
3033
+ asyncChunks?: boolean | undefined;
3034
+ baseUri?: string | undefined;
3031
3035
  library?: {
3032
3036
  type: string;
3033
3037
  name?: string | string[] | {
@@ -3045,17 +3049,17 @@ export declare const rspackOptions: z.ZodObject<{
3045
3049
  export?: string | string[] | undefined;
3046
3050
  umdNamedDefine?: boolean | undefined;
3047
3051
  } | undefined;
3048
- dependOn?: string | string[] | undefined;
3049
- chunkLoading?: string | false | undefined;
3050
- asyncChunks?: boolean | undefined;
3051
- baseUri?: string | undefined;
3052
3052
  wasmLoading?: string | false | undefined;
3053
+ dependOn?: string | string[] | undefined;
3053
3054
  }> | ((...args: unknown[]) => string | string[] | Record<string, string | string[] | {
3054
3055
  import: string | string[];
3056
+ layer?: string | null | undefined;
3055
3057
  filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
3056
3058
  publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
3057
- layer?: string | null | undefined;
3058
3059
  runtime?: string | false | undefined;
3060
+ chunkLoading?: string | false | undefined;
3061
+ asyncChunks?: boolean | undefined;
3062
+ baseUri?: string | undefined;
3059
3063
  library?: {
3060
3064
  type: string;
3061
3065
  name?: string | string[] | {
@@ -3073,17 +3077,17 @@ export declare const rspackOptions: z.ZodObject<{
3073
3077
  export?: string | string[] | undefined;
3074
3078
  umdNamedDefine?: boolean | undefined;
3075
3079
  } | undefined;
3076
- dependOn?: string | string[] | undefined;
3077
- chunkLoading?: string | false | undefined;
3078
- asyncChunks?: boolean | undefined;
3079
- baseUri?: string | undefined;
3080
3080
  wasmLoading?: string | false | undefined;
3081
+ dependOn?: string | string[] | undefined;
3081
3082
  }> | Promise<string | string[] | Record<string, string | string[] | {
3082
3083
  import: string | string[];
3084
+ layer?: string | null | undefined;
3083
3085
  filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
3084
3086
  publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
3085
- layer?: string | null | undefined;
3086
3087
  runtime?: string | false | undefined;
3088
+ chunkLoading?: string | false | undefined;
3089
+ asyncChunks?: boolean | undefined;
3090
+ baseUri?: string | undefined;
3087
3091
  library?: {
3088
3092
  type: string;
3089
3093
  name?: string | string[] | {
@@ -3101,11 +3105,8 @@ export declare const rspackOptions: z.ZodObject<{
3101
3105
  export?: string | string[] | undefined;
3102
3106
  umdNamedDefine?: boolean | undefined;
3103
3107
  } | undefined;
3104
- dependOn?: string | string[] | undefined;
3105
- chunkLoading?: string | false | undefined;
3106
- asyncChunks?: boolean | undefined;
3107
- baseUri?: string | undefined;
3108
3108
  wasmLoading?: string | false | undefined;
3109
+ dependOn?: string | string[] | undefined;
3109
3110
  }>>) | undefined;
3110
3111
  node?: false | {
3111
3112
  global?: boolean | "warn" | undefined;
@@ -3185,6 +3186,8 @@ export declare const rspackOptions: z.ZodObject<{
3185
3186
  } | undefined;
3186
3187
  chunkFilename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
3187
3188
  path?: string | undefined;
3189
+ chunkLoading?: string | false | undefined;
3190
+ asyncChunks?: boolean | undefined;
3188
3191
  library?: string | string[] | {
3189
3192
  root?: string | string[] | undefined;
3190
3193
  commonjs?: string | undefined;
@@ -3206,6 +3209,7 @@ export declare const rspackOptions: z.ZodObject<{
3206
3209
  export?: string | string[] | undefined;
3207
3210
  umdNamedDefine?: boolean | undefined;
3208
3211
  } | undefined;
3212
+ wasmLoading?: string | false | undefined;
3209
3213
  auxiliaryComment?: string | {
3210
3214
  root?: string | undefined;
3211
3215
  commonjs?: string | undefined;
@@ -3214,8 +3218,6 @@ export declare const rspackOptions: z.ZodObject<{
3214
3218
  } | undefined;
3215
3219
  umdNamedDefine?: boolean | undefined;
3216
3220
  crossOriginLoading?: false | "anonymous" | "use-credentials" | undefined;
3217
- chunkLoading?: string | false | undefined;
3218
- asyncChunks?: boolean | undefined;
3219
3221
  uniqueName?: string | undefined;
3220
3222
  pathinfo?: boolean | "verbose" | undefined;
3221
3223
  clean?: boolean | undefined;
@@ -3232,7 +3234,6 @@ export declare const rspackOptions: z.ZodObject<{
3232
3234
  importFunctionName?: string | undefined;
3233
3235
  importMetaName?: string | undefined;
3234
3236
  iife?: boolean | undefined;
3235
- wasmLoading?: string | false | undefined;
3236
3237
  enabledWasmLoadingTypes?: string[] | undefined;
3237
3238
  webassemblyModuleFilename?: string | undefined;
3238
3239
  chunkFormat?: string | false | undefined;
@@ -3330,7 +3331,6 @@ export declare const rspackOptions: z.ZodObject<{
3330
3331
  snapshot?: {} | undefined;
3331
3332
  stats?: boolean | "verbose" | "normal" | "none" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | {
3332
3333
  modules?: boolean | undefined;
3333
- source?: boolean | undefined;
3334
3334
  publicPath?: boolean | undefined;
3335
3335
  all?: boolean | undefined;
3336
3336
  preset?: boolean | "verbose" | "normal" | "none" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | undefined;
@@ -3354,6 +3354,7 @@ export declare const rspackOptions: z.ZodObject<{
3354
3354
  builtAt?: boolean | undefined;
3355
3355
  moduleAssets?: boolean | undefined;
3356
3356
  nestedModules?: boolean | undefined;
3357
+ source?: boolean | undefined;
3357
3358
  logging?: boolean | "log" | "info" | "verbose" | "none" | "error" | "warn" | undefined;
3358
3359
  loggingDebug?: string | boolean | RegExp | ((args_0: string, ...args: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args: unknown[]) => boolean))[] | undefined;
3359
3360
  loggingTrace?: boolean | undefined;
@@ -3408,35 +3409,35 @@ export declare const rspackOptions: z.ZodObject<{
3408
3409
  } | undefined;
3409
3410
  loader?: Record<string, any> | undefined;
3410
3411
  resolveLoader?: t.ResolveOptions | undefined;
3411
- externals?: string | RegExp | Record<string, string | boolean | string[] | Record<string, string | string[]>> | ((args_0: {
3412
+ externals?: string | RegExp | Record<string, string | boolean | string[] | t.ExternalItemUmdValue | t.ExternalItemObjectValue> | ((args_0: {
3412
3413
  request?: string | undefined;
3413
3414
  context?: string | undefined;
3414
3415
  dependencyType?: string | undefined;
3415
3416
  contextInfo?: {
3416
3417
  issuer: string;
3417
3418
  } | undefined;
3418
- }, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | Record<string, string | string[]> | undefined, args_2: "module" | "global" | "system" | "script" | "commonjs" | "umd" | "amd" | "var" | "jsonp" | "import" | "assign" | "this" | "window" | "self" | "commonjs2" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd2" | "promise" | "module-import" | "node-commonjs" | undefined, ...args: unknown[]) => void, ...args: unknown[]) => unknown) | ((args_0: {
3419
+ }, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | t.ExternalItemUmdValue | t.ExternalItemObjectValue | undefined, args_2: "module" | "global" | "system" | "script" | "commonjs" | "umd" | "amd" | "var" | "jsonp" | "import" | "assign" | "this" | "window" | "self" | "commonjs2" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd2" | "promise" | "module-import" | "node-commonjs" | undefined, ...args: unknown[]) => void, ...args: unknown[]) => unknown) | ((args_0: {
3419
3420
  request?: string | undefined;
3420
3421
  context?: string | undefined;
3421
3422
  dependencyType?: string | undefined;
3422
3423
  contextInfo?: {
3423
3424
  issuer: string;
3424
3425
  } | undefined;
3425
- }, ...args: unknown[]) => Promise<string | boolean | string[] | Record<string, string | string[]>>) | (string | RegExp | Record<string, string | boolean | string[] | Record<string, string | string[]>> | ((args_0: {
3426
+ }, ...args: unknown[]) => Promise<string | boolean | string[] | t.ExternalItemUmdValue | t.ExternalItemObjectValue>) | (string | RegExp | Record<string, string | boolean | string[] | t.ExternalItemUmdValue | t.ExternalItemObjectValue> | ((args_0: {
3426
3427
  request?: string | undefined;
3427
3428
  context?: string | undefined;
3428
3429
  dependencyType?: string | undefined;
3429
3430
  contextInfo?: {
3430
3431
  issuer: string;
3431
3432
  } | undefined;
3432
- }, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | Record<string, string | string[]> | undefined, args_2: "module" | "global" | "system" | "script" | "commonjs" | "umd" | "amd" | "var" | "jsonp" | "import" | "assign" | "this" | "window" | "self" | "commonjs2" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd2" | "promise" | "module-import" | "node-commonjs" | undefined, ...args: unknown[]) => void, ...args: unknown[]) => unknown) | ((args_0: {
3433
+ }, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | t.ExternalItemUmdValue | t.ExternalItemObjectValue | undefined, args_2: "module" | "global" | "system" | "script" | "commonjs" | "umd" | "amd" | "var" | "jsonp" | "import" | "assign" | "this" | "window" | "self" | "commonjs2" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd2" | "promise" | "module-import" | "node-commonjs" | undefined, ...args: unknown[]) => void, ...args: unknown[]) => unknown) | ((args_0: {
3433
3434
  request?: string | undefined;
3434
3435
  context?: string | undefined;
3435
3436
  dependencyType?: string | undefined;
3436
3437
  contextInfo?: {
3437
3438
  issuer: string;
3438
3439
  } | undefined;
3439
- }, ...args: unknown[]) => Promise<string | boolean | string[] | Record<string, string | string[]>>))[] | undefined;
3440
+ }, ...args: unknown[]) => Promise<string | boolean | string[] | t.ExternalItemUmdValue | t.ExternalItemObjectValue>))[] | undefined;
3440
3441
  externalsType?: "module" | "global" | "system" | "script" | "commonjs" | "umd" | "amd" | "var" | "jsonp" | "import" | "assign" | "this" | "window" | "self" | "commonjs2" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd2" | "promise" | "module-import" | "node-commonjs" | undefined;
3441
3442
  externalsPresets?: {
3442
3443
  node?: boolean | undefined;
@@ -3469,8 +3470,8 @@ export declare const rspackOptions: z.ZodObject<{
3469
3470
  ignoreWarnings?: (RegExp | ((args_0: Error, args_1: Compilation, ...args: unknown[]) => boolean))[] | undefined;
3470
3471
  bail?: boolean | undefined;
3471
3472
  }, {
3472
- context?: string | undefined;
3473
3473
  dependencies?: string[] | undefined;
3474
+ context?: string | undefined;
3474
3475
  module?: {
3475
3476
  generator?: Record<string, Record<string, any>> | {
3476
3477
  css?: {
@@ -3629,10 +3630,13 @@ export declare const rspackOptions: z.ZodObject<{
3629
3630
  } | undefined;
3630
3631
  entry?: string | string[] | Record<string, string | string[] | {
3631
3632
  import: string | string[];
3633
+ layer?: string | null | undefined;
3632
3634
  filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
3633
3635
  publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
3634
- layer?: string | null | undefined;
3635
3636
  runtime?: string | false | undefined;
3637
+ chunkLoading?: string | false | undefined;
3638
+ asyncChunks?: boolean | undefined;
3639
+ baseUri?: string | undefined;
3636
3640
  library?: {
3637
3641
  type: string;
3638
3642
  name?: string | string[] | {
@@ -3650,17 +3654,17 @@ export declare const rspackOptions: z.ZodObject<{
3650
3654
  export?: string | string[] | undefined;
3651
3655
  umdNamedDefine?: boolean | undefined;
3652
3656
  } | undefined;
3653
- dependOn?: string | string[] | undefined;
3654
- chunkLoading?: string | false | undefined;
3655
- asyncChunks?: boolean | undefined;
3656
- baseUri?: string | undefined;
3657
3657
  wasmLoading?: string | false | undefined;
3658
+ dependOn?: string | string[] | undefined;
3658
3659
  }> | ((...args: unknown[]) => string | string[] | Record<string, string | string[] | {
3659
3660
  import: string | string[];
3661
+ layer?: string | null | undefined;
3660
3662
  filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
3661
3663
  publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
3662
- layer?: string | null | undefined;
3663
3664
  runtime?: string | false | undefined;
3665
+ chunkLoading?: string | false | undefined;
3666
+ asyncChunks?: boolean | undefined;
3667
+ baseUri?: string | undefined;
3664
3668
  library?: {
3665
3669
  type: string;
3666
3670
  name?: string | string[] | {
@@ -3678,17 +3682,17 @@ export declare const rspackOptions: z.ZodObject<{
3678
3682
  export?: string | string[] | undefined;
3679
3683
  umdNamedDefine?: boolean | undefined;
3680
3684
  } | undefined;
3681
- dependOn?: string | string[] | undefined;
3682
- chunkLoading?: string | false | undefined;
3683
- asyncChunks?: boolean | undefined;
3684
- baseUri?: string | undefined;
3685
3685
  wasmLoading?: string | false | undefined;
3686
+ dependOn?: string | string[] | undefined;
3686
3687
  }> | Promise<string | string[] | Record<string, string | string[] | {
3687
3688
  import: string | string[];
3689
+ layer?: string | null | undefined;
3688
3690
  filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
3689
3691
  publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
3690
- layer?: string | null | undefined;
3691
3692
  runtime?: string | false | undefined;
3693
+ chunkLoading?: string | false | undefined;
3694
+ asyncChunks?: boolean | undefined;
3695
+ baseUri?: string | undefined;
3692
3696
  library?: {
3693
3697
  type: string;
3694
3698
  name?: string | string[] | {
@@ -3706,11 +3710,8 @@ export declare const rspackOptions: z.ZodObject<{
3706
3710
  export?: string | string[] | undefined;
3707
3711
  umdNamedDefine?: boolean | undefined;
3708
3712
  } | undefined;
3709
- dependOn?: string | string[] | undefined;
3710
- chunkLoading?: string | false | undefined;
3711
- asyncChunks?: boolean | undefined;
3712
- baseUri?: string | undefined;
3713
3713
  wasmLoading?: string | false | undefined;
3714
+ dependOn?: string | string[] | undefined;
3714
3715
  }>>) | undefined;
3715
3716
  node?: false | {
3716
3717
  global?: boolean | "warn" | undefined;
@@ -3790,6 +3791,8 @@ export declare const rspackOptions: z.ZodObject<{
3790
3791
  } | undefined;
3791
3792
  chunkFilename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
3792
3793
  path?: string | undefined;
3794
+ chunkLoading?: string | false | undefined;
3795
+ asyncChunks?: boolean | undefined;
3793
3796
  library?: string | string[] | {
3794
3797
  root?: string | string[] | undefined;
3795
3798
  commonjs?: string | undefined;
@@ -3811,6 +3814,7 @@ export declare const rspackOptions: z.ZodObject<{
3811
3814
  export?: string | string[] | undefined;
3812
3815
  umdNamedDefine?: boolean | undefined;
3813
3816
  } | undefined;
3817
+ wasmLoading?: string | false | undefined;
3814
3818
  auxiliaryComment?: string | {
3815
3819
  root?: string | undefined;
3816
3820
  commonjs?: string | undefined;
@@ -3819,8 +3823,6 @@ export declare const rspackOptions: z.ZodObject<{
3819
3823
  } | undefined;
3820
3824
  umdNamedDefine?: boolean | undefined;
3821
3825
  crossOriginLoading?: false | "anonymous" | "use-credentials" | undefined;
3822
- chunkLoading?: string | false | undefined;
3823
- asyncChunks?: boolean | undefined;
3824
3826
  uniqueName?: string | undefined;
3825
3827
  pathinfo?: boolean | "verbose" | undefined;
3826
3828
  clean?: boolean | undefined;
@@ -3837,7 +3839,6 @@ export declare const rspackOptions: z.ZodObject<{
3837
3839
  importFunctionName?: string | undefined;
3838
3840
  importMetaName?: string | undefined;
3839
3841
  iife?: boolean | undefined;
3840
- wasmLoading?: string | false | undefined;
3841
3842
  enabledWasmLoadingTypes?: string[] | undefined;
3842
3843
  webassemblyModuleFilename?: string | undefined;
3843
3844
  chunkFormat?: string | false | undefined;
@@ -3935,7 +3936,6 @@ export declare const rspackOptions: z.ZodObject<{
3935
3936
  snapshot?: {} | undefined;
3936
3937
  stats?: boolean | "verbose" | "normal" | "none" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | {
3937
3938
  modules?: boolean | undefined;
3938
- source?: boolean | undefined;
3939
3939
  publicPath?: boolean | undefined;
3940
3940
  all?: boolean | undefined;
3941
3941
  preset?: boolean | "verbose" | "normal" | "none" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | undefined;
@@ -3959,6 +3959,7 @@ export declare const rspackOptions: z.ZodObject<{
3959
3959
  builtAt?: boolean | undefined;
3960
3960
  moduleAssets?: boolean | undefined;
3961
3961
  nestedModules?: boolean | undefined;
3962
+ source?: boolean | undefined;
3962
3963
  logging?: boolean | "log" | "info" | "verbose" | "none" | "error" | "warn" | undefined;
3963
3964
  loggingDebug?: string | boolean | RegExp | ((args_0: string, ...args: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args: unknown[]) => boolean))[] | undefined;
3964
3965
  loggingTrace?: boolean | undefined;
@@ -4013,35 +4014,35 @@ export declare const rspackOptions: z.ZodObject<{
4013
4014
  } | undefined;
4014
4015
  loader?: Record<string, any> | undefined;
4015
4016
  resolveLoader?: t.ResolveOptions | undefined;
4016
- externals?: string | RegExp | Record<string, string | boolean | string[] | Record<string, string | string[]>> | ((args_0: {
4017
+ externals?: string | RegExp | Record<string, string | boolean | string[] | t.ExternalItemUmdValue | t.ExternalItemObjectValue> | ((args_0: {
4017
4018
  request?: string | undefined;
4018
4019
  context?: string | undefined;
4019
4020
  dependencyType?: string | undefined;
4020
4021
  contextInfo?: {
4021
4022
  issuer: string;
4022
4023
  } | undefined;
4023
- }, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | Record<string, string | string[]> | undefined, args_2: "module" | "global" | "system" | "script" | "commonjs" | "umd" | "amd" | "var" | "jsonp" | "import" | "assign" | "this" | "window" | "self" | "commonjs2" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd2" | "promise" | "module-import" | "node-commonjs" | undefined, ...args: unknown[]) => void, ...args: unknown[]) => unknown) | ((args_0: {
4024
+ }, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | t.ExternalItemUmdValue | t.ExternalItemObjectValue | undefined, args_2: "module" | "global" | "system" | "script" | "commonjs" | "umd" | "amd" | "var" | "jsonp" | "import" | "assign" | "this" | "window" | "self" | "commonjs2" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd2" | "promise" | "module-import" | "node-commonjs" | undefined, ...args: unknown[]) => void, ...args: unknown[]) => unknown) | ((args_0: {
4024
4025
  request?: string | undefined;
4025
4026
  context?: string | undefined;
4026
4027
  dependencyType?: string | undefined;
4027
4028
  contextInfo?: {
4028
4029
  issuer: string;
4029
4030
  } | undefined;
4030
- }, ...args: unknown[]) => Promise<string | boolean | string[] | Record<string, string | string[]>>) | (string | RegExp | Record<string, string | boolean | string[] | Record<string, string | string[]>> | ((args_0: {
4031
+ }, ...args: unknown[]) => Promise<string | boolean | string[] | t.ExternalItemUmdValue | t.ExternalItemObjectValue>) | (string | RegExp | Record<string, string | boolean | string[] | t.ExternalItemUmdValue | t.ExternalItemObjectValue> | ((args_0: {
4031
4032
  request?: string | undefined;
4032
4033
  context?: string | undefined;
4033
4034
  dependencyType?: string | undefined;
4034
4035
  contextInfo?: {
4035
4036
  issuer: string;
4036
4037
  } | undefined;
4037
- }, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | Record<string, string | string[]> | undefined, args_2: "module" | "global" | "system" | "script" | "commonjs" | "umd" | "amd" | "var" | "jsonp" | "import" | "assign" | "this" | "window" | "self" | "commonjs2" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd2" | "promise" | "module-import" | "node-commonjs" | undefined, ...args: unknown[]) => void, ...args: unknown[]) => unknown) | ((args_0: {
4038
+ }, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | t.ExternalItemUmdValue | t.ExternalItemObjectValue | undefined, args_2: "module" | "global" | "system" | "script" | "commonjs" | "umd" | "amd" | "var" | "jsonp" | "import" | "assign" | "this" | "window" | "self" | "commonjs2" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd2" | "promise" | "module-import" | "node-commonjs" | undefined, ...args: unknown[]) => void, ...args: unknown[]) => unknown) | ((args_0: {
4038
4039
  request?: string | undefined;
4039
4040
  context?: string | undefined;
4040
4041
  dependencyType?: string | undefined;
4041
4042
  contextInfo?: {
4042
4043
  issuer: string;
4043
4044
  } | undefined;
4044
- }, ...args: unknown[]) => Promise<string | boolean | string[] | Record<string, string | string[]>>))[] | undefined;
4045
+ }, ...args: unknown[]) => Promise<string | boolean | string[] | t.ExternalItemUmdValue | t.ExternalItemObjectValue>))[] | undefined;
4045
4046
  externalsType?: "module" | "global" | "system" | "script" | "commonjs" | "umd" | "amd" | "var" | "jsonp" | "import" | "assign" | "this" | "window" | "self" | "commonjs2" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd2" | "promise" | "module-import" | "node-commonjs" | undefined;
4046
4047
  externalsPresets?: {
4047
4048
  node?: boolean | undefined;