@rspack/core 1.1.0-beta.0 → 1.1.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.
@@ -88,10 +88,13 @@ export declare const rspackOptions: z.ZodObject<{
88
88
  layer: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
89
89
  }, "strict", z.ZodTypeAny, {
90
90
  import: string | string[];
91
+ layer?: string | null | undefined;
91
92
  filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
92
93
  publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
93
- layer?: string | null | undefined;
94
94
  runtime?: string | false | undefined;
95
+ chunkLoading?: string | false | undefined;
96
+ asyncChunks?: boolean | undefined;
97
+ baseUri?: string | undefined;
95
98
  library?: {
96
99
  type: string;
97
100
  name?: string | string[] | {
@@ -109,17 +112,17 @@ export declare const rspackOptions: z.ZodObject<{
109
112
  export?: string | string[] | undefined;
110
113
  umdNamedDefine?: boolean | undefined;
111
114
  } | undefined;
112
- dependOn?: string | string[] | undefined;
113
- chunkLoading?: string | false | undefined;
114
- asyncChunks?: boolean | undefined;
115
- baseUri?: string | undefined;
116
115
  wasmLoading?: string | false | undefined;
116
+ dependOn?: string | string[] | undefined;
117
117
  }, {
118
118
  import: string | string[];
119
+ layer?: string | null | undefined;
119
120
  filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
120
121
  publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
121
- layer?: string | null | undefined;
122
122
  runtime?: string | false | undefined;
123
+ chunkLoading?: string | false | undefined;
124
+ asyncChunks?: boolean | undefined;
125
+ baseUri?: string | undefined;
123
126
  library?: {
124
127
  type: string;
125
128
  name?: string | string[] | {
@@ -137,11 +140,8 @@ export declare const rspackOptions: z.ZodObject<{
137
140
  export?: string | string[] | undefined;
138
141
  umdNamedDefine?: boolean | undefined;
139
142
  } | undefined;
140
- dependOn?: string | string[] | undefined;
141
- chunkLoading?: string | false | undefined;
142
- asyncChunks?: boolean | undefined;
143
- baseUri?: string | undefined;
144
143
  wasmLoading?: string | false | undefined;
144
+ dependOn?: string | string[] | undefined;
145
145
  }>]>>, 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
146
  import: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
147
147
  runtime: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodString]>>;
@@ -222,10 +222,13 @@ export declare const rspackOptions: z.ZodObject<{
222
222
  layer: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
223
223
  }, "strict", z.ZodTypeAny, {
224
224
  import: string | string[];
225
+ layer?: string | null | undefined;
225
226
  filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
226
227
  publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
227
- layer?: string | null | undefined;
228
228
  runtime?: string | false | undefined;
229
+ chunkLoading?: string | false | undefined;
230
+ asyncChunks?: boolean | undefined;
231
+ baseUri?: string | undefined;
229
232
  library?: {
230
233
  type: string;
231
234
  name?: string | string[] | {
@@ -243,17 +246,17 @@ export declare const rspackOptions: z.ZodObject<{
243
246
  export?: string | string[] | undefined;
244
247
  umdNamedDefine?: boolean | undefined;
245
248
  } | undefined;
246
- dependOn?: string | string[] | undefined;
247
- chunkLoading?: string | false | undefined;
248
- asyncChunks?: boolean | undefined;
249
- baseUri?: string | undefined;
250
249
  wasmLoading?: string | false | undefined;
250
+ dependOn?: string | string[] | undefined;
251
251
  }, {
252
252
  import: string | string[];
253
+ layer?: string | null | undefined;
253
254
  filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
254
255
  publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
255
- layer?: string | null | undefined;
256
256
  runtime?: string | false | undefined;
257
+ chunkLoading?: string | false | undefined;
258
+ asyncChunks?: boolean | undefined;
259
+ baseUri?: string | undefined;
257
260
  library?: {
258
261
  type: string;
259
262
  name?: string | string[] | {
@@ -271,11 +274,8 @@ export declare const rspackOptions: z.ZodObject<{
271
274
  export?: string | string[] | undefined;
272
275
  umdNamedDefine?: boolean | undefined;
273
276
  } | undefined;
274
- dependOn?: string | string[] | undefined;
275
- chunkLoading?: string | false | undefined;
276
- asyncChunks?: boolean | undefined;
277
- baseUri?: string | undefined;
278
277
  wasmLoading?: string | false | undefined;
278
+ dependOn?: string | string[] | undefined;
279
279
  }>]>>, 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
280
  import: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
281
281
  runtime: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodString]>>;
@@ -356,10 +356,13 @@ export declare const rspackOptions: z.ZodObject<{
356
356
  layer: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
357
357
  }, "strict", z.ZodTypeAny, {
358
358
  import: string | string[];
359
+ layer?: string | null | undefined;
359
360
  filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
360
361
  publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
361
- layer?: string | null | undefined;
362
362
  runtime?: string | false | undefined;
363
+ chunkLoading?: string | false | undefined;
364
+ asyncChunks?: boolean | undefined;
365
+ baseUri?: string | undefined;
363
366
  library?: {
364
367
  type: string;
365
368
  name?: string | string[] | {
@@ -377,17 +380,17 @@ export declare const rspackOptions: z.ZodObject<{
377
380
  export?: string | string[] | undefined;
378
381
  umdNamedDefine?: boolean | undefined;
379
382
  } | undefined;
380
- dependOn?: string | string[] | undefined;
381
- chunkLoading?: string | false | undefined;
382
- asyncChunks?: boolean | undefined;
383
- baseUri?: string | undefined;
384
383
  wasmLoading?: string | false | undefined;
384
+ dependOn?: string | string[] | undefined;
385
385
  }, {
386
386
  import: string | string[];
387
+ layer?: string | null | undefined;
387
388
  filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
388
389
  publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
389
- layer?: string | null | undefined;
390
390
  runtime?: string | false | undefined;
391
+ chunkLoading?: string | false | undefined;
392
+ asyncChunks?: boolean | undefined;
393
+ baseUri?: string | undefined;
391
394
  library?: {
392
395
  type: string;
393
396
  name?: string | string[] | {
@@ -405,11 +408,8 @@ export declare const rspackOptions: z.ZodObject<{
405
408
  export?: string | string[] | undefined;
406
409
  umdNamedDefine?: boolean | undefined;
407
410
  } | undefined;
408
- dependOn?: string | string[] | undefined;
409
- chunkLoading?: string | false | undefined;
410
- asyncChunks?: boolean | undefined;
411
- baseUri?: string | undefined;
412
411
  wasmLoading?: string | false | undefined;
412
+ dependOn?: string | string[] | undefined;
413
413
  }>]>>, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>]>>]>>]>>;
414
414
  output: z.ZodOptional<z.ZodObject<{
415
415
  path: z.ZodOptional<z.ZodString>;
@@ -631,6 +631,8 @@ export declare const rspackOptions: z.ZodObject<{
631
631
  } | undefined;
632
632
  chunkFilename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
633
633
  path?: string | undefined;
634
+ chunkLoading?: string | false | undefined;
635
+ asyncChunks?: boolean | undefined;
634
636
  library?: string | string[] | {
635
637
  root?: string | string[] | undefined;
636
638
  commonjs?: string | undefined;
@@ -652,6 +654,7 @@ export declare const rspackOptions: z.ZodObject<{
652
654
  export?: string | string[] | undefined;
653
655
  umdNamedDefine?: boolean | undefined;
654
656
  } | undefined;
657
+ wasmLoading?: string | false | undefined;
655
658
  auxiliaryComment?: string | {
656
659
  root?: string | undefined;
657
660
  commonjs?: string | undefined;
@@ -660,8 +663,6 @@ export declare const rspackOptions: z.ZodObject<{
660
663
  } | undefined;
661
664
  umdNamedDefine?: boolean | undefined;
662
665
  crossOriginLoading?: false | "anonymous" | "use-credentials" | undefined;
663
- chunkLoading?: string | false | undefined;
664
- asyncChunks?: boolean | undefined;
665
666
  uniqueName?: string | undefined;
666
667
  pathinfo?: boolean | "verbose" | undefined;
667
668
  clean?: boolean | undefined;
@@ -678,7 +679,6 @@ export declare const rspackOptions: z.ZodObject<{
678
679
  importFunctionName?: string | undefined;
679
680
  importMetaName?: string | undefined;
680
681
  iife?: boolean | undefined;
681
- wasmLoading?: string | false | undefined;
682
682
  enabledWasmLoadingTypes?: string[] | undefined;
683
683
  webassemblyModuleFilename?: string | undefined;
684
684
  chunkFormat?: string | false | undefined;
@@ -727,6 +727,8 @@ export declare const rspackOptions: z.ZodObject<{
727
727
  } | undefined;
728
728
  chunkFilename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
729
729
  path?: string | undefined;
730
+ chunkLoading?: string | false | undefined;
731
+ asyncChunks?: boolean | undefined;
730
732
  library?: string | string[] | {
731
733
  root?: string | string[] | undefined;
732
734
  commonjs?: string | undefined;
@@ -748,6 +750,7 @@ export declare const rspackOptions: z.ZodObject<{
748
750
  export?: string | string[] | undefined;
749
751
  umdNamedDefine?: boolean | undefined;
750
752
  } | undefined;
753
+ wasmLoading?: string | false | undefined;
751
754
  auxiliaryComment?: string | {
752
755
  root?: string | undefined;
753
756
  commonjs?: string | undefined;
@@ -756,8 +759,6 @@ export declare const rspackOptions: z.ZodObject<{
756
759
  } | undefined;
757
760
  umdNamedDefine?: boolean | undefined;
758
761
  crossOriginLoading?: false | "anonymous" | "use-credentials" | undefined;
759
- chunkLoading?: string | false | undefined;
760
- asyncChunks?: boolean | undefined;
761
762
  uniqueName?: string | undefined;
762
763
  pathinfo?: boolean | "verbose" | undefined;
763
764
  clean?: boolean | undefined;
@@ -774,7 +775,6 @@ export declare const rspackOptions: z.ZodObject<{
774
775
  importFunctionName?: string | undefined;
775
776
  importMetaName?: string | undefined;
776
777
  iife?: boolean | undefined;
777
- wasmLoading?: string | false | undefined;
778
778
  enabledWasmLoadingTypes?: string[] | undefined;
779
779
  webassemblyModuleFilename?: string | undefined;
780
780
  chunkFormat?: string | false | undefined;
@@ -1057,7 +1057,22 @@ export declare const rspackOptions: z.ZodObject<{
1057
1057
  } | undefined;
1058
1058
  } | undefined;
1059
1059
  }>>;
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<{
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.ZodObject<{
1061
+ root: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
1062
+ commonjs: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
1063
+ commonjs2: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
1064
+ amd: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
1065
+ }, "strict", z.ZodTypeAny, {
1066
+ root: string | string[];
1067
+ commonjs: string | string[];
1068
+ commonjs2: string | string[];
1069
+ amd?: string | string[] | undefined;
1070
+ }, {
1071
+ root: string | string[];
1072
+ commonjs: string | string[];
1073
+ commonjs2: string | string[];
1074
+ amd?: string | string[] | undefined;
1075
+ }>]>>]>, z.ZodFunction<z.ZodTuple<[z.ZodObject<{
1061
1076
  context: z.ZodOptional<z.ZodString>;
1062
1077
  dependencyType: z.ZodOptional<z.ZodString>;
1063
1078
  request: z.ZodOptional<z.ZodString>;
@@ -1082,7 +1097,22 @@ export declare const rspackOptions: z.ZodObject<{
1082
1097
  contextInfo?: {
1083
1098
  issuer: string;
1084
1099
  } | 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<{
1100
+ }>, 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.ZodObject<{
1101
+ root: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
1102
+ commonjs: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
1103
+ commonjs2: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
1104
+ amd: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
1105
+ }, "strict", z.ZodTypeAny, {
1106
+ root: string | string[];
1107
+ commonjs: string | string[];
1108
+ commonjs2: string | string[];
1109
+ amd?: string | string[] | undefined;
1110
+ }, {
1111
+ root: string | string[];
1112
+ commonjs: string | string[];
1113
+ commonjs2: string | string[];
1114
+ amd?: string | string[] | undefined;
1115
+ }>]>>, 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
1116
  context: z.ZodOptional<z.ZodString>;
1087
1117
  dependencyType: z.ZodOptional<z.ZodString>;
1088
1118
  request: z.ZodOptional<z.ZodString>;
@@ -1107,7 +1137,37 @@ export declare const rspackOptions: z.ZodObject<{
1107
1137
  contextInfo?: {
1108
1138
  issuer: string;
1109
1139
  } | 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<{
1140
+ }>], z.ZodUnknown>, z.ZodPromise<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBoolean]>, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
1141
+ root: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
1142
+ commonjs: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
1143
+ commonjs2: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
1144
+ amd: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
1145
+ }, "strict", z.ZodTypeAny, {
1146
+ root: string | string[];
1147
+ commonjs: string | string[];
1148
+ commonjs2: string | string[];
1149
+ amd?: string | string[] | undefined;
1150
+ }, {
1151
+ root: string | string[];
1152
+ commonjs: string | string[];
1153
+ commonjs2: string | string[];
1154
+ amd?: string | string[] | undefined;
1155
+ }>]>>>]>, "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.ZodObject<{
1156
+ root: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
1157
+ commonjs: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
1158
+ commonjs2: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
1159
+ amd: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
1160
+ }, "strict", z.ZodTypeAny, {
1161
+ root: string | string[];
1162
+ commonjs: string | string[];
1163
+ commonjs2: string | string[];
1164
+ amd?: string | string[] | undefined;
1165
+ }, {
1166
+ root: string | string[];
1167
+ commonjs: string | string[];
1168
+ commonjs2: string | string[];
1169
+ amd?: string | string[] | undefined;
1170
+ }>]>>]>, z.ZodFunction<z.ZodTuple<[z.ZodObject<{
1111
1171
  context: z.ZodOptional<z.ZodString>;
1112
1172
  dependencyType: z.ZodOptional<z.ZodString>;
1113
1173
  request: z.ZodOptional<z.ZodString>;
@@ -1132,7 +1192,22 @@ export declare const rspackOptions: z.ZodObject<{
1132
1192
  contextInfo?: {
1133
1193
  issuer: string;
1134
1194
  } | 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<{
1195
+ }>, 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.ZodObject<{
1196
+ root: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
1197
+ commonjs: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
1198
+ commonjs2: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
1199
+ amd: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
1200
+ }, "strict", z.ZodTypeAny, {
1201
+ root: string | string[];
1202
+ commonjs: string | string[];
1203
+ commonjs2: string | string[];
1204
+ amd?: string | string[] | undefined;
1205
+ }, {
1206
+ root: string | string[];
1207
+ commonjs: string | string[];
1208
+ commonjs2: string | string[];
1209
+ amd?: string | string[] | undefined;
1210
+ }>]>>, 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
1211
  context: z.ZodOptional<z.ZodString>;
1137
1212
  dependencyType: z.ZodOptional<z.ZodString>;
1138
1213
  request: z.ZodOptional<z.ZodString>;
@@ -1157,7 +1232,22 @@ export declare const rspackOptions: z.ZodObject<{
1157
1232
  contextInfo?: {
1158
1233
  issuer: string;
1159
1234
  } | 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">]>>]>>>]>]>>;
1235
+ }>], z.ZodUnknown>, z.ZodPromise<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBoolean]>, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
1236
+ root: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
1237
+ commonjs: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
1238
+ commonjs2: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
1239
+ amd: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
1240
+ }, "strict", z.ZodTypeAny, {
1241
+ root: string | string[];
1242
+ commonjs: string | string[];
1243
+ commonjs2: string | string[];
1244
+ amd?: string | string[] | undefined;
1245
+ }, {
1246
+ root: string | string[];
1247
+ commonjs: string | string[];
1248
+ commonjs2: string | string[];
1249
+ amd?: string | string[] | undefined;
1250
+ }>]>>>]>]>>;
1161
1251
  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
1252
  externalsPresets: z.ZodOptional<z.ZodObject<{
1163
1253
  node: z.ZodOptional<z.ZodBoolean>;
@@ -1326,7 +1416,6 @@ export declare const rspackOptions: z.ZodObject<{
1326
1416
  warningsSpace: z.ZodOptional<z.ZodNumber>;
1327
1417
  }, "strict", z.ZodTypeAny, {
1328
1418
  modules?: boolean | undefined;
1329
- source?: boolean | undefined;
1330
1419
  publicPath?: boolean | undefined;
1331
1420
  all?: boolean | undefined;
1332
1421
  preset?: boolean | "verbose" | "normal" | "none" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | undefined;
@@ -1350,6 +1439,7 @@ export declare const rspackOptions: z.ZodObject<{
1350
1439
  builtAt?: boolean | undefined;
1351
1440
  moduleAssets?: boolean | undefined;
1352
1441
  nestedModules?: boolean | undefined;
1442
+ source?: boolean | undefined;
1353
1443
  logging?: boolean | "log" | "info" | "verbose" | "none" | "error" | "warn" | undefined;
1354
1444
  loggingDebug?: string | boolean | RegExp | ((args_0: string, ...args: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args: unknown[]) => boolean))[] | undefined;
1355
1445
  loggingTrace?: boolean | undefined;
@@ -1403,7 +1493,6 @@ export declare const rspackOptions: z.ZodObject<{
1403
1493
  warningsSpace?: number | undefined;
1404
1494
  }, {
1405
1495
  modules?: boolean | undefined;
1406
- source?: boolean | undefined;
1407
1496
  publicPath?: boolean | undefined;
1408
1497
  all?: boolean | undefined;
1409
1498
  preset?: boolean | "verbose" | "normal" | "none" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | undefined;
@@ -1427,6 +1516,7 @@ export declare const rspackOptions: z.ZodObject<{
1427
1516
  builtAt?: boolean | undefined;
1428
1517
  moduleAssets?: boolean | undefined;
1429
1518
  nestedModules?: boolean | undefined;
1519
+ source?: boolean | undefined;
1430
1520
  logging?: boolean | "log" | "info" | "verbose" | "none" | "error" | "warn" | undefined;
1431
1521
  loggingDebug?: string | boolean | RegExp | ((args_0: string, ...args: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args: unknown[]) => boolean))[] | undefined;
1432
1522
  loggingTrace?: boolean | undefined;
@@ -2864,8 +2954,8 @@ export declare const rspackOptions: z.ZodObject<{
2864
2954
  maxEntrypointSize?: number | undefined;
2865
2955
  }>, z.ZodLiteral<false>]>>;
2866
2956
  }, "strict", z.ZodTypeAny, {
2867
- context?: string | undefined;
2868
2957
  dependencies?: string[] | undefined;
2958
+ context?: string | undefined;
2869
2959
  module?: {
2870
2960
  generator?: Record<string, Record<string, any>> | {
2871
2961
  css?: {
@@ -3024,10 +3114,13 @@ export declare const rspackOptions: z.ZodObject<{
3024
3114
  } | undefined;
3025
3115
  entry?: string | string[] | Record<string, string | string[] | {
3026
3116
  import: string | string[];
3117
+ layer?: string | null | undefined;
3027
3118
  filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
3028
3119
  publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
3029
- layer?: string | null | undefined;
3030
3120
  runtime?: string | false | undefined;
3121
+ chunkLoading?: string | false | undefined;
3122
+ asyncChunks?: boolean | undefined;
3123
+ baseUri?: string | undefined;
3031
3124
  library?: {
3032
3125
  type: string;
3033
3126
  name?: string | string[] | {
@@ -3045,17 +3138,17 @@ export declare const rspackOptions: z.ZodObject<{
3045
3138
  export?: string | string[] | undefined;
3046
3139
  umdNamedDefine?: boolean | undefined;
3047
3140
  } | undefined;
3048
- dependOn?: string | string[] | undefined;
3049
- chunkLoading?: string | false | undefined;
3050
- asyncChunks?: boolean | undefined;
3051
- baseUri?: string | undefined;
3052
3141
  wasmLoading?: string | false | undefined;
3142
+ dependOn?: string | string[] | undefined;
3053
3143
  }> | ((...args: unknown[]) => string | string[] | Record<string, string | string[] | {
3054
3144
  import: string | string[];
3145
+ layer?: string | null | undefined;
3055
3146
  filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
3056
3147
  publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
3057
- layer?: string | null | undefined;
3058
3148
  runtime?: string | false | undefined;
3149
+ chunkLoading?: string | false | undefined;
3150
+ asyncChunks?: boolean | undefined;
3151
+ baseUri?: string | undefined;
3059
3152
  library?: {
3060
3153
  type: string;
3061
3154
  name?: string | string[] | {
@@ -3073,17 +3166,17 @@ export declare const rspackOptions: z.ZodObject<{
3073
3166
  export?: string | string[] | undefined;
3074
3167
  umdNamedDefine?: boolean | undefined;
3075
3168
  } | undefined;
3076
- dependOn?: string | string[] | undefined;
3077
- chunkLoading?: string | false | undefined;
3078
- asyncChunks?: boolean | undefined;
3079
- baseUri?: string | undefined;
3080
3169
  wasmLoading?: string | false | undefined;
3170
+ dependOn?: string | string[] | undefined;
3081
3171
  }> | Promise<string | string[] | Record<string, string | string[] | {
3082
3172
  import: string | string[];
3173
+ layer?: string | null | undefined;
3083
3174
  filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
3084
3175
  publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
3085
- layer?: string | null | undefined;
3086
3176
  runtime?: string | false | undefined;
3177
+ chunkLoading?: string | false | undefined;
3178
+ asyncChunks?: boolean | undefined;
3179
+ baseUri?: string | undefined;
3087
3180
  library?: {
3088
3181
  type: string;
3089
3182
  name?: string | string[] | {
@@ -3101,11 +3194,8 @@ export declare const rspackOptions: z.ZodObject<{
3101
3194
  export?: string | string[] | undefined;
3102
3195
  umdNamedDefine?: boolean | undefined;
3103
3196
  } | undefined;
3104
- dependOn?: string | string[] | undefined;
3105
- chunkLoading?: string | false | undefined;
3106
- asyncChunks?: boolean | undefined;
3107
- baseUri?: string | undefined;
3108
3197
  wasmLoading?: string | false | undefined;
3198
+ dependOn?: string | string[] | undefined;
3109
3199
  }>>) | undefined;
3110
3200
  node?: false | {
3111
3201
  global?: boolean | "warn" | undefined;
@@ -3185,6 +3275,8 @@ export declare const rspackOptions: z.ZodObject<{
3185
3275
  } | undefined;
3186
3276
  chunkFilename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
3187
3277
  path?: string | undefined;
3278
+ chunkLoading?: string | false | undefined;
3279
+ asyncChunks?: boolean | undefined;
3188
3280
  library?: string | string[] | {
3189
3281
  root?: string | string[] | undefined;
3190
3282
  commonjs?: string | undefined;
@@ -3206,6 +3298,7 @@ export declare const rspackOptions: z.ZodObject<{
3206
3298
  export?: string | string[] | undefined;
3207
3299
  umdNamedDefine?: boolean | undefined;
3208
3300
  } | undefined;
3301
+ wasmLoading?: string | false | undefined;
3209
3302
  auxiliaryComment?: string | {
3210
3303
  root?: string | undefined;
3211
3304
  commonjs?: string | undefined;
@@ -3214,8 +3307,6 @@ export declare const rspackOptions: z.ZodObject<{
3214
3307
  } | undefined;
3215
3308
  umdNamedDefine?: boolean | undefined;
3216
3309
  crossOriginLoading?: false | "anonymous" | "use-credentials" | undefined;
3217
- chunkLoading?: string | false | undefined;
3218
- asyncChunks?: boolean | undefined;
3219
3310
  uniqueName?: string | undefined;
3220
3311
  pathinfo?: boolean | "verbose" | undefined;
3221
3312
  clean?: boolean | undefined;
@@ -3232,7 +3323,6 @@ export declare const rspackOptions: z.ZodObject<{
3232
3323
  importFunctionName?: string | undefined;
3233
3324
  importMetaName?: string | undefined;
3234
3325
  iife?: boolean | undefined;
3235
- wasmLoading?: string | false | undefined;
3236
3326
  enabledWasmLoadingTypes?: string[] | undefined;
3237
3327
  webassemblyModuleFilename?: string | undefined;
3238
3328
  chunkFormat?: string | false | undefined;
@@ -3330,7 +3420,6 @@ export declare const rspackOptions: z.ZodObject<{
3330
3420
  snapshot?: {} | undefined;
3331
3421
  stats?: boolean | "verbose" | "normal" | "none" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | {
3332
3422
  modules?: boolean | undefined;
3333
- source?: boolean | undefined;
3334
3423
  publicPath?: boolean | undefined;
3335
3424
  all?: boolean | undefined;
3336
3425
  preset?: boolean | "verbose" | "normal" | "none" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | undefined;
@@ -3354,6 +3443,7 @@ export declare const rspackOptions: z.ZodObject<{
3354
3443
  builtAt?: boolean | undefined;
3355
3444
  moduleAssets?: boolean | undefined;
3356
3445
  nestedModules?: boolean | undefined;
3446
+ source?: boolean | undefined;
3357
3447
  logging?: boolean | "log" | "info" | "verbose" | "none" | "error" | "warn" | undefined;
3358
3448
  loggingDebug?: string | boolean | RegExp | ((args_0: string, ...args: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args: unknown[]) => boolean))[] | undefined;
3359
3449
  loggingTrace?: boolean | undefined;
@@ -3408,35 +3498,65 @@ export declare const rspackOptions: z.ZodObject<{
3408
3498
  } | undefined;
3409
3499
  loader?: Record<string, any> | undefined;
3410
3500
  resolveLoader?: t.ResolveOptions | undefined;
3411
- externals?: string | RegExp | Record<string, string | boolean | string[] | Record<string, string | string[]>> | ((args_0: {
3501
+ externals?: string | RegExp | Record<string, string | boolean | string[] | {
3502
+ root: string | string[];
3503
+ commonjs: string | string[];
3504
+ commonjs2: string | string[];
3505
+ amd?: string | string[] | undefined;
3506
+ }> | ((args_0: {
3412
3507
  request?: string | undefined;
3413
3508
  context?: string | undefined;
3414
3509
  dependencyType?: string | undefined;
3415
3510
  contextInfo?: {
3416
3511
  issuer: string;
3417
3512
  } | 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: {
3513
+ }, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | {
3514
+ root: string | string[];
3515
+ commonjs: string | string[];
3516
+ commonjs2: string | string[];
3517
+ amd?: string | string[] | undefined;
3518
+ } | 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
3519
  request?: string | undefined;
3420
3520
  context?: string | undefined;
3421
3521
  dependencyType?: string | undefined;
3422
3522
  contextInfo?: {
3423
3523
  issuer: string;
3424
3524
  } | 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: {
3525
+ }, ...args: unknown[]) => Promise<string | boolean | string[] | {
3526
+ root: string | string[];
3527
+ commonjs: string | string[];
3528
+ commonjs2: string | string[];
3529
+ amd?: string | string[] | undefined;
3530
+ }>) | (string | RegExp | Record<string, string | boolean | string[] | {
3531
+ root: string | string[];
3532
+ commonjs: string | string[];
3533
+ commonjs2: string | string[];
3534
+ amd?: string | string[] | undefined;
3535
+ }> | ((args_0: {
3426
3536
  request?: string | undefined;
3427
3537
  context?: string | undefined;
3428
3538
  dependencyType?: string | undefined;
3429
3539
  contextInfo?: {
3430
3540
  issuer: string;
3431
3541
  } | 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: {
3542
+ }, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | {
3543
+ root: string | string[];
3544
+ commonjs: string | string[];
3545
+ commonjs2: string | string[];
3546
+ amd?: string | string[] | undefined;
3547
+ } | 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
3548
  request?: string | undefined;
3434
3549
  context?: string | undefined;
3435
3550
  dependencyType?: string | undefined;
3436
3551
  contextInfo?: {
3437
3552
  issuer: string;
3438
3553
  } | undefined;
3439
- }, ...args: unknown[]) => Promise<string | boolean | string[] | Record<string, string | string[]>>))[] | undefined;
3554
+ }, ...args: unknown[]) => Promise<string | boolean | string[] | {
3555
+ root: string | string[];
3556
+ commonjs: string | string[];
3557
+ commonjs2: string | string[];
3558
+ amd?: string | string[] | undefined;
3559
+ }>))[] | undefined;
3440
3560
  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
3561
  externalsPresets?: {
3442
3562
  node?: boolean | undefined;
@@ -3469,8 +3589,8 @@ export declare const rspackOptions: z.ZodObject<{
3469
3589
  ignoreWarnings?: (RegExp | ((args_0: Error, args_1: Compilation, ...args: unknown[]) => boolean))[] | undefined;
3470
3590
  bail?: boolean | undefined;
3471
3591
  }, {
3472
- context?: string | undefined;
3473
3592
  dependencies?: string[] | undefined;
3593
+ context?: string | undefined;
3474
3594
  module?: {
3475
3595
  generator?: Record<string, Record<string, any>> | {
3476
3596
  css?: {
@@ -3629,10 +3749,13 @@ export declare const rspackOptions: z.ZodObject<{
3629
3749
  } | undefined;
3630
3750
  entry?: string | string[] | Record<string, string | string[] | {
3631
3751
  import: string | string[];
3752
+ layer?: string | null | undefined;
3632
3753
  filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
3633
3754
  publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
3634
- layer?: string | null | undefined;
3635
3755
  runtime?: string | false | undefined;
3756
+ chunkLoading?: string | false | undefined;
3757
+ asyncChunks?: boolean | undefined;
3758
+ baseUri?: string | undefined;
3636
3759
  library?: {
3637
3760
  type: string;
3638
3761
  name?: string | string[] | {
@@ -3650,17 +3773,17 @@ export declare const rspackOptions: z.ZodObject<{
3650
3773
  export?: string | string[] | undefined;
3651
3774
  umdNamedDefine?: boolean | undefined;
3652
3775
  } | undefined;
3653
- dependOn?: string | string[] | undefined;
3654
- chunkLoading?: string | false | undefined;
3655
- asyncChunks?: boolean | undefined;
3656
- baseUri?: string | undefined;
3657
3776
  wasmLoading?: string | false | undefined;
3777
+ dependOn?: string | string[] | undefined;
3658
3778
  }> | ((...args: unknown[]) => string | string[] | Record<string, string | string[] | {
3659
3779
  import: string | string[];
3780
+ layer?: string | null | undefined;
3660
3781
  filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
3661
3782
  publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
3662
- layer?: string | null | undefined;
3663
3783
  runtime?: string | false | undefined;
3784
+ chunkLoading?: string | false | undefined;
3785
+ asyncChunks?: boolean | undefined;
3786
+ baseUri?: string | undefined;
3664
3787
  library?: {
3665
3788
  type: string;
3666
3789
  name?: string | string[] | {
@@ -3678,17 +3801,17 @@ export declare const rspackOptions: z.ZodObject<{
3678
3801
  export?: string | string[] | undefined;
3679
3802
  umdNamedDefine?: boolean | undefined;
3680
3803
  } | undefined;
3681
- dependOn?: string | string[] | undefined;
3682
- chunkLoading?: string | false | undefined;
3683
- asyncChunks?: boolean | undefined;
3684
- baseUri?: string | undefined;
3685
3804
  wasmLoading?: string | false | undefined;
3805
+ dependOn?: string | string[] | undefined;
3686
3806
  }> | Promise<string | string[] | Record<string, string | string[] | {
3687
3807
  import: string | string[];
3808
+ layer?: string | null | undefined;
3688
3809
  filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
3689
3810
  publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
3690
- layer?: string | null | undefined;
3691
3811
  runtime?: string | false | undefined;
3812
+ chunkLoading?: string | false | undefined;
3813
+ asyncChunks?: boolean | undefined;
3814
+ baseUri?: string | undefined;
3692
3815
  library?: {
3693
3816
  type: string;
3694
3817
  name?: string | string[] | {
@@ -3706,11 +3829,8 @@ export declare const rspackOptions: z.ZodObject<{
3706
3829
  export?: string | string[] | undefined;
3707
3830
  umdNamedDefine?: boolean | undefined;
3708
3831
  } | undefined;
3709
- dependOn?: string | string[] | undefined;
3710
- chunkLoading?: string | false | undefined;
3711
- asyncChunks?: boolean | undefined;
3712
- baseUri?: string | undefined;
3713
3832
  wasmLoading?: string | false | undefined;
3833
+ dependOn?: string | string[] | undefined;
3714
3834
  }>>) | undefined;
3715
3835
  node?: false | {
3716
3836
  global?: boolean | "warn" | undefined;
@@ -3790,6 +3910,8 @@ export declare const rspackOptions: z.ZodObject<{
3790
3910
  } | undefined;
3791
3911
  chunkFilename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
3792
3912
  path?: string | undefined;
3913
+ chunkLoading?: string | false | undefined;
3914
+ asyncChunks?: boolean | undefined;
3793
3915
  library?: string | string[] | {
3794
3916
  root?: string | string[] | undefined;
3795
3917
  commonjs?: string | undefined;
@@ -3811,6 +3933,7 @@ export declare const rspackOptions: z.ZodObject<{
3811
3933
  export?: string | string[] | undefined;
3812
3934
  umdNamedDefine?: boolean | undefined;
3813
3935
  } | undefined;
3936
+ wasmLoading?: string | false | undefined;
3814
3937
  auxiliaryComment?: string | {
3815
3938
  root?: string | undefined;
3816
3939
  commonjs?: string | undefined;
@@ -3819,8 +3942,6 @@ export declare const rspackOptions: z.ZodObject<{
3819
3942
  } | undefined;
3820
3943
  umdNamedDefine?: boolean | undefined;
3821
3944
  crossOriginLoading?: false | "anonymous" | "use-credentials" | undefined;
3822
- chunkLoading?: string | false | undefined;
3823
- asyncChunks?: boolean | undefined;
3824
3945
  uniqueName?: string | undefined;
3825
3946
  pathinfo?: boolean | "verbose" | undefined;
3826
3947
  clean?: boolean | undefined;
@@ -3837,7 +3958,6 @@ export declare const rspackOptions: z.ZodObject<{
3837
3958
  importFunctionName?: string | undefined;
3838
3959
  importMetaName?: string | undefined;
3839
3960
  iife?: boolean | undefined;
3840
- wasmLoading?: string | false | undefined;
3841
3961
  enabledWasmLoadingTypes?: string[] | undefined;
3842
3962
  webassemblyModuleFilename?: string | undefined;
3843
3963
  chunkFormat?: string | false | undefined;
@@ -3935,7 +4055,6 @@ export declare const rspackOptions: z.ZodObject<{
3935
4055
  snapshot?: {} | undefined;
3936
4056
  stats?: boolean | "verbose" | "normal" | "none" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | {
3937
4057
  modules?: boolean | undefined;
3938
- source?: boolean | undefined;
3939
4058
  publicPath?: boolean | undefined;
3940
4059
  all?: boolean | undefined;
3941
4060
  preset?: boolean | "verbose" | "normal" | "none" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | undefined;
@@ -3959,6 +4078,7 @@ export declare const rspackOptions: z.ZodObject<{
3959
4078
  builtAt?: boolean | undefined;
3960
4079
  moduleAssets?: boolean | undefined;
3961
4080
  nestedModules?: boolean | undefined;
4081
+ source?: boolean | undefined;
3962
4082
  logging?: boolean | "log" | "info" | "verbose" | "none" | "error" | "warn" | undefined;
3963
4083
  loggingDebug?: string | boolean | RegExp | ((args_0: string, ...args: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args: unknown[]) => boolean))[] | undefined;
3964
4084
  loggingTrace?: boolean | undefined;
@@ -4013,35 +4133,65 @@ export declare const rspackOptions: z.ZodObject<{
4013
4133
  } | undefined;
4014
4134
  loader?: Record<string, any> | undefined;
4015
4135
  resolveLoader?: t.ResolveOptions | undefined;
4016
- externals?: string | RegExp | Record<string, string | boolean | string[] | Record<string, string | string[]>> | ((args_0: {
4136
+ externals?: string | RegExp | Record<string, string | boolean | string[] | {
4137
+ root: string | string[];
4138
+ commonjs: string | string[];
4139
+ commonjs2: string | string[];
4140
+ amd?: string | string[] | undefined;
4141
+ }> | ((args_0: {
4017
4142
  request?: string | undefined;
4018
4143
  context?: string | undefined;
4019
4144
  dependencyType?: string | undefined;
4020
4145
  contextInfo?: {
4021
4146
  issuer: string;
4022
4147
  } | 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: {
4148
+ }, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | {
4149
+ root: string | string[];
4150
+ commonjs: string | string[];
4151
+ commonjs2: string | string[];
4152
+ amd?: string | string[] | undefined;
4153
+ } | 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
4154
  request?: string | undefined;
4025
4155
  context?: string | undefined;
4026
4156
  dependencyType?: string | undefined;
4027
4157
  contextInfo?: {
4028
4158
  issuer: string;
4029
4159
  } | 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: {
4160
+ }, ...args: unknown[]) => Promise<string | boolean | string[] | {
4161
+ root: string | string[];
4162
+ commonjs: string | string[];
4163
+ commonjs2: string | string[];
4164
+ amd?: string | string[] | undefined;
4165
+ }>) | (string | RegExp | Record<string, string | boolean | string[] | {
4166
+ root: string | string[];
4167
+ commonjs: string | string[];
4168
+ commonjs2: string | string[];
4169
+ amd?: string | string[] | undefined;
4170
+ }> | ((args_0: {
4031
4171
  request?: string | undefined;
4032
4172
  context?: string | undefined;
4033
4173
  dependencyType?: string | undefined;
4034
4174
  contextInfo?: {
4035
4175
  issuer: string;
4036
4176
  } | 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: {
4177
+ }, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | {
4178
+ root: string | string[];
4179
+ commonjs: string | string[];
4180
+ commonjs2: string | string[];
4181
+ amd?: string | string[] | undefined;
4182
+ } | 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
4183
  request?: string | undefined;
4039
4184
  context?: string | undefined;
4040
4185
  dependencyType?: string | undefined;
4041
4186
  contextInfo?: {
4042
4187
  issuer: string;
4043
4188
  } | undefined;
4044
- }, ...args: unknown[]) => Promise<string | boolean | string[] | Record<string, string | string[]>>))[] | undefined;
4189
+ }, ...args: unknown[]) => Promise<string | boolean | string[] | {
4190
+ root: string | string[];
4191
+ commonjs: string | string[];
4192
+ commonjs2: string | string[];
4193
+ amd?: string | string[] | undefined;
4194
+ }>))[] | undefined;
4045
4195
  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
4196
  externalsPresets?: {
4047
4197
  node?: boolean | undefined;