@rspack/core 1.0.14 → 1.1.0-beta.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.
@@ -1,465 +1,10 @@
1
1
  import type { JsAssetInfo } from "@rspack/binding";
2
- import type * as webpackDevServer from "webpack-dev-server";
3
2
  import { z } from "../../compiled/zod";
4
3
  import { Chunk } from "../Chunk";
5
4
  import type { Compilation, PathData } from "../Compilation";
6
5
  import { Module } from "../Module";
7
6
  import type * as t from "./types";
8
- export type * from "./types";
9
7
  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"]>;
10
- declare const rspackFutureOptions: z.ZodObject<{
11
- bundlerInfo: z.ZodOptional<z.ZodObject<{
12
- version: z.ZodOptional<z.ZodString>;
13
- bundler: z.ZodOptional<z.ZodString>;
14
- force: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodArray<z.ZodEnum<["version", "uniqueId"]>, "many">]>>;
15
- }, "strict", z.ZodTypeAny, {
16
- force?: boolean | ("version" | "uniqueId")[] | undefined;
17
- version?: string | undefined;
18
- bundler?: string | undefined;
19
- }, {
20
- force?: boolean | ("version" | "uniqueId")[] | undefined;
21
- version?: string | undefined;
22
- bundler?: string | undefined;
23
- }>>;
24
- }, "strict", z.ZodTypeAny, {
25
- bundlerInfo?: {
26
- force?: boolean | ("version" | "uniqueId")[] | undefined;
27
- version?: string | undefined;
28
- bundler?: string | undefined;
29
- } | undefined;
30
- }, {
31
- bundlerInfo?: {
32
- force?: boolean | ("version" | "uniqueId")[] | undefined;
33
- version?: string | undefined;
34
- bundler?: string | undefined;
35
- } | undefined;
36
- }>;
37
- export type RspackFutureOptions = z.infer<typeof rspackFutureOptions>;
38
- declare const lazyCompilationOptions: z.ZodObject<{
39
- backend: z.ZodOptional<z.ZodObject<{
40
- client: z.ZodOptional<z.ZodString>;
41
- listen: z.ZodUnion<[z.ZodOptional<z.ZodNumber>, z.ZodObject<{
42
- port: z.ZodOptional<z.ZodNumber>;
43
- host: z.ZodOptional<z.ZodString>;
44
- backlog: z.ZodOptional<z.ZodNumber>;
45
- path: z.ZodOptional<z.ZodString>;
46
- exclusive: z.ZodOptional<z.ZodBoolean>;
47
- readableAll: z.ZodOptional<z.ZodBoolean>;
48
- writableAll: z.ZodOptional<z.ZodBoolean>;
49
- ipv6Only: z.ZodOptional<z.ZodBoolean>;
50
- }, "strip", z.ZodTypeAny, {
51
- path?: string | undefined;
52
- port?: number | undefined;
53
- host?: string | undefined;
54
- backlog?: number | undefined;
55
- exclusive?: boolean | undefined;
56
- readableAll?: boolean | undefined;
57
- writableAll?: boolean | undefined;
58
- ipv6Only?: boolean | undefined;
59
- }, {
60
- path?: string | undefined;
61
- port?: number | undefined;
62
- host?: string | undefined;
63
- backlog?: number | undefined;
64
- exclusive?: boolean | undefined;
65
- readableAll?: boolean | undefined;
66
- writableAll?: boolean | undefined;
67
- ipv6Only?: boolean | undefined;
68
- }>]>;
69
- protocol: z.ZodOptional<z.ZodEnum<["http", "https"]>>;
70
- }, "strip", z.ZodTypeAny, {
71
- client?: string | undefined;
72
- listen?: number | {
73
- path?: string | undefined;
74
- port?: number | undefined;
75
- host?: string | undefined;
76
- backlog?: number | undefined;
77
- exclusive?: boolean | undefined;
78
- readableAll?: boolean | undefined;
79
- writableAll?: boolean | undefined;
80
- ipv6Only?: boolean | undefined;
81
- } | undefined;
82
- protocol?: "http" | "https" | undefined;
83
- }, {
84
- client?: string | undefined;
85
- listen?: number | {
86
- path?: string | undefined;
87
- port?: number | undefined;
88
- host?: string | undefined;
89
- backlog?: number | undefined;
90
- exclusive?: boolean | undefined;
91
- readableAll?: boolean | undefined;
92
- writableAll?: boolean | undefined;
93
- ipv6Only?: boolean | undefined;
94
- } | undefined;
95
- protocol?: "http" | "https" | undefined;
96
- }>>;
97
- imports: z.ZodOptional<z.ZodBoolean>;
98
- entries: z.ZodOptional<z.ZodBoolean>;
99
- test: z.ZodOptional<z.ZodUnion<[z.ZodType<RegExp, z.ZodTypeDef, RegExp>, z.ZodFunction<z.ZodTuple<[z.ZodType<Module, z.ZodTypeDef, Module>], z.ZodUnknown>, z.ZodBoolean>]>>;
100
- }, "strip", z.ZodTypeAny, {
101
- entries?: boolean | undefined;
102
- test?: RegExp | ((args_0: Module, ...args: unknown[]) => boolean) | undefined;
103
- backend?: {
104
- client?: string | undefined;
105
- listen?: number | {
106
- path?: string | undefined;
107
- port?: number | undefined;
108
- host?: string | undefined;
109
- backlog?: number | undefined;
110
- exclusive?: boolean | undefined;
111
- readableAll?: boolean | undefined;
112
- writableAll?: boolean | undefined;
113
- ipv6Only?: boolean | undefined;
114
- } | undefined;
115
- protocol?: "http" | "https" | undefined;
116
- } | undefined;
117
- imports?: boolean | undefined;
118
- }, {
119
- entries?: boolean | undefined;
120
- test?: RegExp | ((args_0: Module, ...args: unknown[]) => boolean) | undefined;
121
- backend?: {
122
- client?: string | undefined;
123
- listen?: number | {
124
- path?: string | undefined;
125
- port?: number | undefined;
126
- host?: string | undefined;
127
- backlog?: number | undefined;
128
- exclusive?: boolean | undefined;
129
- readableAll?: boolean | undefined;
130
- writableAll?: boolean | undefined;
131
- ipv6Only?: boolean | undefined;
132
- } | undefined;
133
- protocol?: "http" | "https" | undefined;
134
- } | undefined;
135
- imports?: boolean | undefined;
136
- }>;
137
- export type LazyCompilationOptions = z.infer<typeof lazyCompilationOptions>;
138
- declare const incremental: z.ZodObject<{
139
- make: z.ZodOptional<z.ZodBoolean>;
140
- emitAssets: z.ZodOptional<z.ZodBoolean>;
141
- inferAsyncModules: z.ZodOptional<z.ZodBoolean>;
142
- providedExports: z.ZodOptional<z.ZodBoolean>;
143
- dependenciesDiagnostics: z.ZodOptional<z.ZodBoolean>;
144
- modulesHashes: z.ZodOptional<z.ZodBoolean>;
145
- modulesCodegen: z.ZodOptional<z.ZodBoolean>;
146
- modulesRuntimeRequirements: z.ZodOptional<z.ZodBoolean>;
147
- }, "strict", z.ZodTypeAny, {
148
- make?: boolean | undefined;
149
- providedExports?: boolean | undefined;
150
- emitAssets?: boolean | undefined;
151
- inferAsyncModules?: boolean | undefined;
152
- dependenciesDiagnostics?: boolean | undefined;
153
- modulesHashes?: boolean | undefined;
154
- modulesCodegen?: boolean | undefined;
155
- modulesRuntimeRequirements?: boolean | undefined;
156
- }, {
157
- make?: boolean | undefined;
158
- providedExports?: boolean | undefined;
159
- emitAssets?: boolean | undefined;
160
- inferAsyncModules?: boolean | undefined;
161
- dependenciesDiagnostics?: boolean | undefined;
162
- modulesHashes?: boolean | undefined;
163
- modulesCodegen?: boolean | undefined;
164
- modulesRuntimeRequirements?: boolean | undefined;
165
- }>;
166
- export type Incremental = z.infer<typeof incremental>;
167
- declare const experiments: z.ZodObject<{
168
- lazyCompilation: z.ZodUnion<[z.ZodOptional<z.ZodBoolean>, z.ZodObject<{
169
- backend: z.ZodOptional<z.ZodObject<{
170
- client: z.ZodOptional<z.ZodString>;
171
- listen: z.ZodUnion<[z.ZodOptional<z.ZodNumber>, z.ZodObject<{
172
- port: z.ZodOptional<z.ZodNumber>;
173
- host: z.ZodOptional<z.ZodString>;
174
- backlog: z.ZodOptional<z.ZodNumber>;
175
- path: z.ZodOptional<z.ZodString>;
176
- exclusive: z.ZodOptional<z.ZodBoolean>;
177
- readableAll: z.ZodOptional<z.ZodBoolean>;
178
- writableAll: z.ZodOptional<z.ZodBoolean>;
179
- ipv6Only: z.ZodOptional<z.ZodBoolean>;
180
- }, "strip", z.ZodTypeAny, {
181
- path?: string | undefined;
182
- port?: number | undefined;
183
- host?: string | undefined;
184
- backlog?: number | undefined;
185
- exclusive?: boolean | undefined;
186
- readableAll?: boolean | undefined;
187
- writableAll?: boolean | undefined;
188
- ipv6Only?: boolean | undefined;
189
- }, {
190
- path?: string | undefined;
191
- port?: number | undefined;
192
- host?: string | undefined;
193
- backlog?: number | undefined;
194
- exclusive?: boolean | undefined;
195
- readableAll?: boolean | undefined;
196
- writableAll?: boolean | undefined;
197
- ipv6Only?: boolean | undefined;
198
- }>]>;
199
- protocol: z.ZodOptional<z.ZodEnum<["http", "https"]>>;
200
- }, "strip", z.ZodTypeAny, {
201
- client?: string | undefined;
202
- listen?: number | {
203
- path?: string | undefined;
204
- port?: number | undefined;
205
- host?: string | undefined;
206
- backlog?: number | undefined;
207
- exclusive?: boolean | undefined;
208
- readableAll?: boolean | undefined;
209
- writableAll?: boolean | undefined;
210
- ipv6Only?: boolean | undefined;
211
- } | undefined;
212
- protocol?: "http" | "https" | undefined;
213
- }, {
214
- client?: string | undefined;
215
- listen?: number | {
216
- path?: string | undefined;
217
- port?: number | undefined;
218
- host?: string | undefined;
219
- backlog?: number | undefined;
220
- exclusive?: boolean | undefined;
221
- readableAll?: boolean | undefined;
222
- writableAll?: boolean | undefined;
223
- ipv6Only?: boolean | undefined;
224
- } | undefined;
225
- protocol?: "http" | "https" | undefined;
226
- }>>;
227
- imports: z.ZodOptional<z.ZodBoolean>;
228
- entries: z.ZodOptional<z.ZodBoolean>;
229
- test: z.ZodOptional<z.ZodUnion<[z.ZodType<RegExp, z.ZodTypeDef, RegExp>, z.ZodFunction<z.ZodTuple<[z.ZodType<Module, z.ZodTypeDef, Module>], z.ZodUnknown>, z.ZodBoolean>]>>;
230
- }, "strip", z.ZodTypeAny, {
231
- entries?: boolean | undefined;
232
- test?: RegExp | ((args_0: Module, ...args: unknown[]) => boolean) | undefined;
233
- backend?: {
234
- client?: string | undefined;
235
- listen?: number | {
236
- path?: string | undefined;
237
- port?: number | undefined;
238
- host?: string | undefined;
239
- backlog?: number | undefined;
240
- exclusive?: boolean | undefined;
241
- readableAll?: boolean | undefined;
242
- writableAll?: boolean | undefined;
243
- ipv6Only?: boolean | undefined;
244
- } | undefined;
245
- protocol?: "http" | "https" | undefined;
246
- } | undefined;
247
- imports?: boolean | undefined;
248
- }, {
249
- entries?: boolean | undefined;
250
- test?: RegExp | ((args_0: Module, ...args: unknown[]) => boolean) | undefined;
251
- backend?: {
252
- client?: string | undefined;
253
- listen?: number | {
254
- path?: string | undefined;
255
- port?: number | undefined;
256
- host?: string | undefined;
257
- backlog?: number | undefined;
258
- exclusive?: boolean | undefined;
259
- readableAll?: boolean | undefined;
260
- writableAll?: boolean | undefined;
261
- ipv6Only?: boolean | undefined;
262
- } | undefined;
263
- protocol?: "http" | "https" | undefined;
264
- } | undefined;
265
- imports?: boolean | undefined;
266
- }>]>;
267
- asyncWebAssembly: z.ZodOptional<z.ZodBoolean>;
268
- outputModule: z.ZodOptional<z.ZodBoolean>;
269
- topLevelAwait: z.ZodOptional<z.ZodBoolean>;
270
- css: z.ZodOptional<z.ZodBoolean>;
271
- layers: z.ZodOptional<z.ZodBoolean>;
272
- incremental: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodObject<{
273
- make: z.ZodOptional<z.ZodBoolean>;
274
- emitAssets: z.ZodOptional<z.ZodBoolean>;
275
- inferAsyncModules: z.ZodOptional<z.ZodBoolean>;
276
- providedExports: z.ZodOptional<z.ZodBoolean>;
277
- dependenciesDiagnostics: z.ZodOptional<z.ZodBoolean>;
278
- modulesHashes: z.ZodOptional<z.ZodBoolean>;
279
- modulesCodegen: z.ZodOptional<z.ZodBoolean>;
280
- modulesRuntimeRequirements: z.ZodOptional<z.ZodBoolean>;
281
- }, "strict", z.ZodTypeAny, {
282
- make?: boolean | undefined;
283
- providedExports?: boolean | undefined;
284
- emitAssets?: boolean | undefined;
285
- inferAsyncModules?: boolean | undefined;
286
- dependenciesDiagnostics?: boolean | undefined;
287
- modulesHashes?: boolean | undefined;
288
- modulesCodegen?: boolean | undefined;
289
- modulesRuntimeRequirements?: boolean | undefined;
290
- }, {
291
- make?: boolean | undefined;
292
- providedExports?: boolean | undefined;
293
- emitAssets?: boolean | undefined;
294
- inferAsyncModules?: boolean | undefined;
295
- dependenciesDiagnostics?: boolean | undefined;
296
- modulesHashes?: boolean | undefined;
297
- modulesCodegen?: boolean | undefined;
298
- modulesRuntimeRequirements?: boolean | undefined;
299
- }>]>>;
300
- futureDefaults: z.ZodOptional<z.ZodBoolean>;
301
- rspackFuture: z.ZodOptional<z.ZodObject<{
302
- bundlerInfo: z.ZodOptional<z.ZodObject<{
303
- version: z.ZodOptional<z.ZodString>;
304
- bundler: z.ZodOptional<z.ZodString>;
305
- force: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodArray<z.ZodEnum<["version", "uniqueId"]>, "many">]>>;
306
- }, "strict", z.ZodTypeAny, {
307
- force?: boolean | ("version" | "uniqueId")[] | undefined;
308
- version?: string | undefined;
309
- bundler?: string | undefined;
310
- }, {
311
- force?: boolean | ("version" | "uniqueId")[] | undefined;
312
- version?: string | undefined;
313
- bundler?: string | undefined;
314
- }>>;
315
- }, "strict", z.ZodTypeAny, {
316
- bundlerInfo?: {
317
- force?: boolean | ("version" | "uniqueId")[] | undefined;
318
- version?: string | undefined;
319
- bundler?: string | undefined;
320
- } | undefined;
321
- }, {
322
- bundlerInfo?: {
323
- force?: boolean | ("version" | "uniqueId")[] | undefined;
324
- version?: string | undefined;
325
- bundler?: string | undefined;
326
- } | undefined;
327
- }>>;
328
- }, "strict", z.ZodTypeAny, {
329
- css?: boolean | undefined;
330
- lazyCompilation?: boolean | {
331
- entries?: boolean | undefined;
332
- test?: RegExp | ((args_0: Module, ...args: unknown[]) => boolean) | undefined;
333
- backend?: {
334
- client?: string | undefined;
335
- listen?: number | {
336
- path?: string | undefined;
337
- port?: number | undefined;
338
- host?: string | undefined;
339
- backlog?: number | undefined;
340
- exclusive?: boolean | undefined;
341
- readableAll?: boolean | undefined;
342
- writableAll?: boolean | undefined;
343
- ipv6Only?: boolean | undefined;
344
- } | undefined;
345
- protocol?: "http" | "https" | undefined;
346
- } | undefined;
347
- imports?: boolean | undefined;
348
- } | undefined;
349
- asyncWebAssembly?: boolean | undefined;
350
- outputModule?: boolean | undefined;
351
- topLevelAwait?: boolean | undefined;
352
- layers?: boolean | undefined;
353
- incremental?: boolean | {
354
- make?: boolean | undefined;
355
- providedExports?: boolean | undefined;
356
- emitAssets?: boolean | undefined;
357
- inferAsyncModules?: boolean | undefined;
358
- dependenciesDiagnostics?: boolean | undefined;
359
- modulesHashes?: boolean | undefined;
360
- modulesCodegen?: boolean | undefined;
361
- modulesRuntimeRequirements?: boolean | undefined;
362
- } | undefined;
363
- futureDefaults?: boolean | undefined;
364
- rspackFuture?: {
365
- bundlerInfo?: {
366
- force?: boolean | ("version" | "uniqueId")[] | undefined;
367
- version?: string | undefined;
368
- bundler?: string | undefined;
369
- } | undefined;
370
- } | undefined;
371
- }, {
372
- css?: boolean | undefined;
373
- lazyCompilation?: boolean | {
374
- entries?: boolean | undefined;
375
- test?: RegExp | ((args_0: Module, ...args: unknown[]) => boolean) | undefined;
376
- backend?: {
377
- client?: string | undefined;
378
- listen?: number | {
379
- path?: string | undefined;
380
- port?: number | undefined;
381
- host?: string | undefined;
382
- backlog?: number | undefined;
383
- exclusive?: boolean | undefined;
384
- readableAll?: boolean | undefined;
385
- writableAll?: boolean | undefined;
386
- ipv6Only?: boolean | undefined;
387
- } | undefined;
388
- protocol?: "http" | "https" | undefined;
389
- } | undefined;
390
- imports?: boolean | undefined;
391
- } | undefined;
392
- asyncWebAssembly?: boolean | undefined;
393
- outputModule?: boolean | undefined;
394
- topLevelAwait?: boolean | undefined;
395
- layers?: boolean | undefined;
396
- incremental?: boolean | {
397
- make?: boolean | undefined;
398
- providedExports?: boolean | undefined;
399
- emitAssets?: boolean | undefined;
400
- inferAsyncModules?: boolean | undefined;
401
- dependenciesDiagnostics?: boolean | undefined;
402
- modulesHashes?: boolean | undefined;
403
- modulesCodegen?: boolean | undefined;
404
- modulesRuntimeRequirements?: boolean | undefined;
405
- } | undefined;
406
- futureDefaults?: boolean | undefined;
407
- rspackFuture?: {
408
- bundlerInfo?: {
409
- force?: boolean | ("version" | "uniqueId")[] | undefined;
410
- version?: string | undefined;
411
- bundler?: string | undefined;
412
- } | undefined;
413
- } | undefined;
414
- }>;
415
- export type Experiments = z.infer<typeof experiments>;
416
- declare const watch: z.ZodBoolean;
417
- export type Watch = z.infer<typeof watch>;
418
- declare const watchOptions: z.ZodObject<{
419
- aggregateTimeout: z.ZodOptional<z.ZodNumber>;
420
- followSymlinks: z.ZodOptional<z.ZodBoolean>;
421
- ignored: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>, z.ZodString]>>;
422
- poll: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBoolean]>>;
423
- stdin: z.ZodOptional<z.ZodBoolean>;
424
- }, "strict", z.ZodTypeAny, {
425
- aggregateTimeout?: number | undefined;
426
- followSymlinks?: boolean | undefined;
427
- ignored?: string | RegExp | string[] | undefined;
428
- poll?: number | boolean | undefined;
429
- stdin?: boolean | undefined;
430
- }, {
431
- aggregateTimeout?: number | undefined;
432
- followSymlinks?: boolean | undefined;
433
- ignored?: string | RegExp | string[] | undefined;
434
- poll?: number | boolean | undefined;
435
- stdin?: boolean | undefined;
436
- }>;
437
- export type WatchOptions = z.infer<typeof watchOptions>;
438
- export interface DevServer extends webpackDevServer.Configuration {
439
- }
440
- declare const ignoreWarnings: z.ZodArray<z.ZodUnion<[z.ZodType<RegExp, z.ZodTypeDef, RegExp>, z.ZodFunction<z.ZodTuple<[z.ZodType<Error, z.ZodTypeDef, Error>, z.ZodType<Compilation, z.ZodTypeDef, Compilation>], z.ZodUnknown>, z.ZodBoolean>]>, "many">;
441
- export type IgnoreWarnings = z.infer<typeof ignoreWarnings>;
442
- declare const profile: z.ZodBoolean;
443
- export type Profile = z.infer<typeof profile>;
444
- declare const bail: z.ZodBoolean;
445
- export type Bail = z.infer<typeof bail>;
446
- declare const performance: z.ZodUnion<[z.ZodObject<{
447
- assetFilter: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodString], z.ZodUnknown>, z.ZodBoolean>>;
448
- hints: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["error", "warning"]>, z.ZodLiteral<false>]>>;
449
- maxAssetSize: z.ZodOptional<z.ZodNumber>;
450
- maxEntrypointSize: z.ZodOptional<z.ZodNumber>;
451
- }, "strict", z.ZodTypeAny, {
452
- assetFilter?: ((args_0: string, ...args: unknown[]) => boolean) | undefined;
453
- hints?: false | "error" | "warning" | undefined;
454
- maxAssetSize?: number | undefined;
455
- maxEntrypointSize?: number | undefined;
456
- }, {
457
- assetFilter?: ((args_0: string, ...args: unknown[]) => boolean) | undefined;
458
- hints?: false | "error" | "warning" | undefined;
459
- maxAssetSize?: number | undefined;
460
- maxEntrypointSize?: number | undefined;
461
- }>, z.ZodLiteral<false>]>;
462
- export type Performance = z.infer<typeof performance>;
463
8
  export declare const rspackOptions: z.ZodObject<{
464
9
  name: z.ZodOptional<z.ZodString>;
465
10
  dependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -480,15 +25,15 @@ export declare const rspackOptions: z.ZodObject<{
480
25
  commonjs2: z.ZodOptional<z.ZodString>;
481
26
  root: z.ZodOptional<z.ZodString>;
482
27
  }, "strict", z.ZodTypeAny, {
28
+ root?: string | undefined;
483
29
  commonjs?: string | undefined;
484
30
  amd?: string | undefined;
485
31
  commonjs2?: string | undefined;
486
- root?: string | undefined;
487
32
  }, {
33
+ root?: string | undefined;
488
34
  commonjs?: string | undefined;
489
35
  amd?: string | undefined;
490
36
  commonjs2?: string | undefined;
491
- root?: string | undefined;
492
37
  }>]>>;
493
38
  export: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
494
39
  name: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
@@ -496,45 +41,45 @@ export declare const rspackOptions: z.ZodObject<{
496
41
  commonjs: z.ZodOptional<z.ZodString>;
497
42
  root: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
498
43
  }, "strict", z.ZodTypeAny, {
44
+ root?: string | string[] | undefined;
499
45
  commonjs?: string | undefined;
500
46
  amd?: string | undefined;
501
- root?: string | string[] | undefined;
502
47
  }, {
48
+ root?: string | string[] | undefined;
503
49
  commonjs?: string | undefined;
504
50
  amd?: string | undefined;
505
- root?: string | string[] | undefined;
506
51
  }>]>>;
507
52
  type: z.ZodUnion<[z.ZodEnum<["var", "module", "assign", "assign-properties", "this", "window", "self", "global", "commonjs", "commonjs2", "commonjs-module", "commonjs-static", "amd", "amd-require", "umd", "umd2", "jsonp", "system"]>, z.ZodString]>;
508
53
  umdNamedDefine: z.ZodOptional<z.ZodBoolean>;
509
54
  }, "strict", z.ZodTypeAny, {
510
55
  type: string;
511
56
  name?: string | string[] | {
57
+ root?: string | string[] | undefined;
512
58
  commonjs?: string | undefined;
513
59
  amd?: string | undefined;
514
- root?: string | string[] | undefined;
515
60
  } | undefined;
516
61
  amdContainer?: string | undefined;
517
62
  auxiliaryComment?: string | {
63
+ root?: string | undefined;
518
64
  commonjs?: string | undefined;
519
65
  amd?: string | undefined;
520
66
  commonjs2?: string | undefined;
521
- root?: string | undefined;
522
67
  } | undefined;
523
68
  export?: string | string[] | undefined;
524
69
  umdNamedDefine?: boolean | undefined;
525
70
  }, {
526
71
  type: string;
527
72
  name?: string | string[] | {
73
+ root?: string | string[] | undefined;
528
74
  commonjs?: string | undefined;
529
75
  amd?: string | undefined;
530
- root?: string | string[] | undefined;
531
76
  } | undefined;
532
77
  amdContainer?: string | undefined;
533
78
  auxiliaryComment?: string | {
79
+ root?: string | undefined;
534
80
  commonjs?: string | undefined;
535
81
  amd?: string | undefined;
536
82
  commonjs2?: string | undefined;
537
- root?: string | undefined;
538
83
  } | undefined;
539
84
  export?: string | string[] | undefined;
540
85
  umdNamedDefine?: boolean | undefined;
@@ -547,56 +92,56 @@ export declare const rspackOptions: z.ZodObject<{
547
92
  publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
548
93
  layer?: string | null | undefined;
549
94
  runtime?: string | false | undefined;
550
- baseUri?: string | undefined;
551
- chunkLoading?: string | false | undefined;
552
- asyncChunks?: boolean | undefined;
553
- wasmLoading?: string | false | undefined;
554
95
  library?: {
555
96
  type: string;
556
97
  name?: string | string[] | {
98
+ root?: string | string[] | undefined;
557
99
  commonjs?: string | undefined;
558
100
  amd?: string | undefined;
559
- root?: string | string[] | undefined;
560
101
  } | undefined;
561
102
  amdContainer?: string | undefined;
562
103
  auxiliaryComment?: string | {
104
+ root?: string | undefined;
563
105
  commonjs?: string | undefined;
564
106
  amd?: string | undefined;
565
107
  commonjs2?: string | undefined;
566
- root?: string | undefined;
567
108
  } | undefined;
568
109
  export?: string | string[] | undefined;
569
110
  umdNamedDefine?: boolean | undefined;
570
111
  } | undefined;
571
112
  dependOn?: string | string[] | undefined;
113
+ chunkLoading?: string | false | undefined;
114
+ asyncChunks?: boolean | undefined;
115
+ baseUri?: string | undefined;
116
+ wasmLoading?: string | false | undefined;
572
117
  }, {
573
118
  import: string | string[];
574
119
  filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
575
120
  publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
576
121
  layer?: string | null | undefined;
577
122
  runtime?: string | false | undefined;
578
- baseUri?: string | undefined;
579
- chunkLoading?: string | false | undefined;
580
- asyncChunks?: boolean | undefined;
581
- wasmLoading?: string | false | undefined;
582
123
  library?: {
583
124
  type: string;
584
125
  name?: string | string[] | {
126
+ root?: string | string[] | undefined;
585
127
  commonjs?: string | undefined;
586
128
  amd?: string | undefined;
587
- root?: string | string[] | undefined;
588
129
  } | undefined;
589
130
  amdContainer?: string | undefined;
590
131
  auxiliaryComment?: string | {
132
+ root?: string | undefined;
591
133
  commonjs?: string | undefined;
592
134
  amd?: string | undefined;
593
135
  commonjs2?: string | undefined;
594
- root?: string | undefined;
595
136
  } | undefined;
596
137
  export?: string | string[] | undefined;
597
138
  umdNamedDefine?: boolean | undefined;
598
139
  } | undefined;
599
140
  dependOn?: string | string[] | undefined;
141
+ chunkLoading?: string | false | undefined;
142
+ asyncChunks?: boolean | undefined;
143
+ baseUri?: string | undefined;
144
+ wasmLoading?: string | false | undefined;
600
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<{
601
146
  import: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
602
147
  runtime: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodString]>>;
@@ -614,15 +159,15 @@ export declare const rspackOptions: z.ZodObject<{
614
159
  commonjs2: z.ZodOptional<z.ZodString>;
615
160
  root: z.ZodOptional<z.ZodString>;
616
161
  }, "strict", z.ZodTypeAny, {
162
+ root?: string | undefined;
617
163
  commonjs?: string | undefined;
618
164
  amd?: string | undefined;
619
165
  commonjs2?: string | undefined;
620
- root?: string | undefined;
621
166
  }, {
167
+ root?: string | undefined;
622
168
  commonjs?: string | undefined;
623
169
  amd?: string | undefined;
624
170
  commonjs2?: string | undefined;
625
- root?: string | undefined;
626
171
  }>]>>;
627
172
  export: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
628
173
  name: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
@@ -630,45 +175,45 @@ export declare const rspackOptions: z.ZodObject<{
630
175
  commonjs: z.ZodOptional<z.ZodString>;
631
176
  root: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
632
177
  }, "strict", z.ZodTypeAny, {
178
+ root?: string | string[] | undefined;
633
179
  commonjs?: string | undefined;
634
180
  amd?: string | undefined;
635
- root?: string | string[] | undefined;
636
181
  }, {
182
+ root?: string | string[] | undefined;
637
183
  commonjs?: string | undefined;
638
184
  amd?: string | undefined;
639
- root?: string | string[] | undefined;
640
185
  }>]>>;
641
186
  type: z.ZodUnion<[z.ZodEnum<["var", "module", "assign", "assign-properties", "this", "window", "self", "global", "commonjs", "commonjs2", "commonjs-module", "commonjs-static", "amd", "amd-require", "umd", "umd2", "jsonp", "system"]>, z.ZodString]>;
642
187
  umdNamedDefine: z.ZodOptional<z.ZodBoolean>;
643
188
  }, "strict", z.ZodTypeAny, {
644
189
  type: string;
645
190
  name?: string | string[] | {
191
+ root?: string | string[] | undefined;
646
192
  commonjs?: string | undefined;
647
193
  amd?: string | undefined;
648
- root?: string | string[] | undefined;
649
194
  } | undefined;
650
195
  amdContainer?: string | undefined;
651
196
  auxiliaryComment?: string | {
197
+ root?: string | undefined;
652
198
  commonjs?: string | undefined;
653
199
  amd?: string | undefined;
654
200
  commonjs2?: string | undefined;
655
- root?: string | undefined;
656
201
  } | undefined;
657
202
  export?: string | string[] | undefined;
658
203
  umdNamedDefine?: boolean | undefined;
659
204
  }, {
660
205
  type: string;
661
206
  name?: string | string[] | {
207
+ root?: string | string[] | undefined;
662
208
  commonjs?: string | undefined;
663
209
  amd?: string | undefined;
664
- root?: string | string[] | undefined;
665
210
  } | undefined;
666
211
  amdContainer?: string | undefined;
667
212
  auxiliaryComment?: string | {
213
+ root?: string | undefined;
668
214
  commonjs?: string | undefined;
669
215
  amd?: string | undefined;
670
216
  commonjs2?: string | undefined;
671
- root?: string | undefined;
672
217
  } | undefined;
673
218
  export?: string | string[] | undefined;
674
219
  umdNamedDefine?: boolean | undefined;
@@ -681,56 +226,56 @@ export declare const rspackOptions: z.ZodObject<{
681
226
  publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
682
227
  layer?: string | null | undefined;
683
228
  runtime?: string | false | undefined;
684
- baseUri?: string | undefined;
685
- chunkLoading?: string | false | undefined;
686
- asyncChunks?: boolean | undefined;
687
- wasmLoading?: string | false | undefined;
688
229
  library?: {
689
230
  type: string;
690
231
  name?: string | string[] | {
232
+ root?: string | string[] | undefined;
691
233
  commonjs?: string | undefined;
692
234
  amd?: string | undefined;
693
- root?: string | string[] | undefined;
694
235
  } | undefined;
695
236
  amdContainer?: string | undefined;
696
237
  auxiliaryComment?: string | {
238
+ root?: string | undefined;
697
239
  commonjs?: string | undefined;
698
240
  amd?: string | undefined;
699
241
  commonjs2?: string | undefined;
700
- root?: string | undefined;
701
242
  } | undefined;
702
243
  export?: string | string[] | undefined;
703
244
  umdNamedDefine?: boolean | undefined;
704
245
  } | undefined;
705
246
  dependOn?: string | string[] | undefined;
247
+ chunkLoading?: string | false | undefined;
248
+ asyncChunks?: boolean | undefined;
249
+ baseUri?: string | undefined;
250
+ wasmLoading?: string | false | undefined;
706
251
  }, {
707
252
  import: string | string[];
708
253
  filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
709
254
  publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
710
255
  layer?: string | null | undefined;
711
256
  runtime?: string | false | undefined;
712
- baseUri?: string | undefined;
713
- chunkLoading?: string | false | undefined;
714
- asyncChunks?: boolean | undefined;
715
- wasmLoading?: string | false | undefined;
716
257
  library?: {
717
258
  type: string;
718
259
  name?: string | string[] | {
260
+ root?: string | string[] | undefined;
719
261
  commonjs?: string | undefined;
720
262
  amd?: string | undefined;
721
- root?: string | string[] | undefined;
722
263
  } | undefined;
723
264
  amdContainer?: string | undefined;
724
265
  auxiliaryComment?: string | {
266
+ root?: string | undefined;
725
267
  commonjs?: string | undefined;
726
268
  amd?: string | undefined;
727
269
  commonjs2?: string | undefined;
728
- root?: string | undefined;
729
270
  } | undefined;
730
271
  export?: string | string[] | undefined;
731
272
  umdNamedDefine?: boolean | undefined;
732
273
  } | undefined;
733
274
  dependOn?: string | string[] | undefined;
275
+ chunkLoading?: string | false | undefined;
276
+ asyncChunks?: boolean | undefined;
277
+ baseUri?: string | undefined;
278
+ wasmLoading?: string | false | undefined;
734
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<{
735
280
  import: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
736
281
  runtime: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodString]>>;
@@ -748,15 +293,15 @@ export declare const rspackOptions: z.ZodObject<{
748
293
  commonjs2: z.ZodOptional<z.ZodString>;
749
294
  root: z.ZodOptional<z.ZodString>;
750
295
  }, "strict", z.ZodTypeAny, {
296
+ root?: string | undefined;
751
297
  commonjs?: string | undefined;
752
298
  amd?: string | undefined;
753
299
  commonjs2?: string | undefined;
754
- root?: string | undefined;
755
300
  }, {
301
+ root?: string | undefined;
756
302
  commonjs?: string | undefined;
757
303
  amd?: string | undefined;
758
304
  commonjs2?: string | undefined;
759
- root?: string | undefined;
760
305
  }>]>>;
761
306
  export: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
762
307
  name: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
@@ -764,45 +309,45 @@ export declare const rspackOptions: z.ZodObject<{
764
309
  commonjs: z.ZodOptional<z.ZodString>;
765
310
  root: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
766
311
  }, "strict", z.ZodTypeAny, {
312
+ root?: string | string[] | undefined;
767
313
  commonjs?: string | undefined;
768
314
  amd?: string | undefined;
769
- root?: string | string[] | undefined;
770
315
  }, {
316
+ root?: string | string[] | undefined;
771
317
  commonjs?: string | undefined;
772
318
  amd?: string | undefined;
773
- root?: string | string[] | undefined;
774
319
  }>]>>;
775
320
  type: z.ZodUnion<[z.ZodEnum<["var", "module", "assign", "assign-properties", "this", "window", "self", "global", "commonjs", "commonjs2", "commonjs-module", "commonjs-static", "amd", "amd-require", "umd", "umd2", "jsonp", "system"]>, z.ZodString]>;
776
321
  umdNamedDefine: z.ZodOptional<z.ZodBoolean>;
777
322
  }, "strict", z.ZodTypeAny, {
778
323
  type: string;
779
324
  name?: string | string[] | {
325
+ root?: string | string[] | undefined;
780
326
  commonjs?: string | undefined;
781
327
  amd?: string | undefined;
782
- root?: string | string[] | undefined;
783
328
  } | undefined;
784
329
  amdContainer?: string | undefined;
785
330
  auxiliaryComment?: string | {
331
+ root?: string | undefined;
786
332
  commonjs?: string | undefined;
787
333
  amd?: string | undefined;
788
334
  commonjs2?: string | undefined;
789
- root?: string | undefined;
790
335
  } | undefined;
791
336
  export?: string | string[] | undefined;
792
337
  umdNamedDefine?: boolean | undefined;
793
338
  }, {
794
339
  type: string;
795
340
  name?: string | string[] | {
341
+ root?: string | string[] | undefined;
796
342
  commonjs?: string | undefined;
797
343
  amd?: string | undefined;
798
- root?: string | string[] | undefined;
799
344
  } | undefined;
800
345
  amdContainer?: string | undefined;
801
346
  auxiliaryComment?: string | {
347
+ root?: string | undefined;
802
348
  commonjs?: string | undefined;
803
349
  amd?: string | undefined;
804
350
  commonjs2?: string | undefined;
805
- root?: string | undefined;
806
351
  } | undefined;
807
352
  export?: string | string[] | undefined;
808
353
  umdNamedDefine?: boolean | undefined;
@@ -815,56 +360,56 @@ export declare const rspackOptions: z.ZodObject<{
815
360
  publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
816
361
  layer?: string | null | undefined;
817
362
  runtime?: string | false | undefined;
818
- baseUri?: string | undefined;
819
- chunkLoading?: string | false | undefined;
820
- asyncChunks?: boolean | undefined;
821
- wasmLoading?: string | false | undefined;
822
363
  library?: {
823
364
  type: string;
824
365
  name?: string | string[] | {
366
+ root?: string | string[] | undefined;
825
367
  commonjs?: string | undefined;
826
368
  amd?: string | undefined;
827
- root?: string | string[] | undefined;
828
369
  } | undefined;
829
370
  amdContainer?: string | undefined;
830
371
  auxiliaryComment?: string | {
372
+ root?: string | undefined;
831
373
  commonjs?: string | undefined;
832
374
  amd?: string | undefined;
833
375
  commonjs2?: string | undefined;
834
- root?: string | undefined;
835
376
  } | undefined;
836
377
  export?: string | string[] | undefined;
837
378
  umdNamedDefine?: boolean | undefined;
838
379
  } | undefined;
839
380
  dependOn?: string | string[] | undefined;
381
+ chunkLoading?: string | false | undefined;
382
+ asyncChunks?: boolean | undefined;
383
+ baseUri?: string | undefined;
384
+ wasmLoading?: string | false | undefined;
840
385
  }, {
841
386
  import: string | string[];
842
387
  filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
843
388
  publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
844
389
  layer?: string | null | undefined;
845
390
  runtime?: string | false | undefined;
846
- baseUri?: string | undefined;
847
- chunkLoading?: string | false | undefined;
848
- asyncChunks?: boolean | undefined;
849
- wasmLoading?: string | false | undefined;
850
391
  library?: {
851
392
  type: string;
852
393
  name?: string | string[] | {
394
+ root?: string | string[] | undefined;
853
395
  commonjs?: string | undefined;
854
396
  amd?: string | undefined;
855
- root?: string | string[] | undefined;
856
397
  } | undefined;
857
398
  amdContainer?: string | undefined;
858
399
  auxiliaryComment?: string | {
400
+ root?: string | undefined;
859
401
  commonjs?: string | undefined;
860
402
  amd?: string | undefined;
861
403
  commonjs2?: string | undefined;
862
- root?: string | undefined;
863
404
  } | undefined;
864
405
  export?: string | string[] | undefined;
865
406
  umdNamedDefine?: boolean | undefined;
866
407
  } | undefined;
867
408
  dependOn?: string | string[] | undefined;
409
+ chunkLoading?: string | false | undefined;
410
+ asyncChunks?: boolean | undefined;
411
+ baseUri?: string | undefined;
412
+ wasmLoading?: string | false | undefined;
868
413
  }>]>>, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>]>>]>>]>>;
869
414
  output: z.ZodOptional<z.ZodObject<{
870
415
  path: z.ZodOptional<z.ZodString>;
@@ -889,13 +434,13 @@ export declare const rspackOptions: z.ZodObject<{
889
434
  commonjs: z.ZodOptional<z.ZodString>;
890
435
  root: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
891
436
  }, "strict", z.ZodTypeAny, {
437
+ root?: string | string[] | undefined;
892
438
  commonjs?: string | undefined;
893
439
  amd?: string | undefined;
894
- root?: string | string[] | undefined;
895
440
  }, {
441
+ root?: string | string[] | undefined;
896
442
  commonjs?: string | undefined;
897
443
  amd?: string | undefined;
898
- root?: string | string[] | undefined;
899
444
  }>]>, z.ZodObject<{
900
445
  amdContainer: z.ZodOptional<z.ZodString>;
901
446
  auxiliaryComment: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
@@ -904,15 +449,15 @@ export declare const rspackOptions: z.ZodObject<{
904
449
  commonjs2: z.ZodOptional<z.ZodString>;
905
450
  root: z.ZodOptional<z.ZodString>;
906
451
  }, "strict", z.ZodTypeAny, {
452
+ root?: string | undefined;
907
453
  commonjs?: string | undefined;
908
454
  amd?: string | undefined;
909
455
  commonjs2?: string | undefined;
910
- root?: string | undefined;
911
456
  }, {
457
+ root?: string | undefined;
912
458
  commonjs?: string | undefined;
913
459
  amd?: string | undefined;
914
460
  commonjs2?: string | undefined;
915
- root?: string | undefined;
916
461
  }>]>>;
917
462
  export: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
918
463
  name: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
@@ -920,45 +465,45 @@ export declare const rspackOptions: z.ZodObject<{
920
465
  commonjs: z.ZodOptional<z.ZodString>;
921
466
  root: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
922
467
  }, "strict", z.ZodTypeAny, {
468
+ root?: string | string[] | undefined;
923
469
  commonjs?: string | undefined;
924
470
  amd?: string | undefined;
925
- root?: string | string[] | undefined;
926
471
  }, {
472
+ root?: string | string[] | undefined;
927
473
  commonjs?: string | undefined;
928
474
  amd?: string | undefined;
929
- root?: string | string[] | undefined;
930
475
  }>]>>;
931
476
  type: z.ZodUnion<[z.ZodEnum<["var", "module", "assign", "assign-properties", "this", "window", "self", "global", "commonjs", "commonjs2", "commonjs-module", "commonjs-static", "amd", "amd-require", "umd", "umd2", "jsonp", "system"]>, z.ZodString]>;
932
477
  umdNamedDefine: z.ZodOptional<z.ZodBoolean>;
933
478
  }, "strict", z.ZodTypeAny, {
934
479
  type: string;
935
480
  name?: string | string[] | {
481
+ root?: string | string[] | undefined;
936
482
  commonjs?: string | undefined;
937
483
  amd?: string | undefined;
938
- root?: string | string[] | undefined;
939
484
  } | undefined;
940
485
  amdContainer?: string | undefined;
941
486
  auxiliaryComment?: string | {
487
+ root?: string | undefined;
942
488
  commonjs?: string | undefined;
943
489
  amd?: string | undefined;
944
490
  commonjs2?: string | undefined;
945
- root?: string | undefined;
946
491
  } | undefined;
947
492
  export?: string | string[] | undefined;
948
493
  umdNamedDefine?: boolean | undefined;
949
494
  }, {
950
495
  type: string;
951
496
  name?: string | string[] | {
497
+ root?: string | string[] | undefined;
952
498
  commonjs?: string | undefined;
953
499
  amd?: string | undefined;
954
- root?: string | string[] | undefined;
955
500
  } | undefined;
956
501
  amdContainer?: string | undefined;
957
502
  auxiliaryComment?: string | {
503
+ root?: string | undefined;
958
504
  commonjs?: string | undefined;
959
505
  amd?: string | undefined;
960
506
  commonjs2?: string | undefined;
961
- root?: string | undefined;
962
507
  } | undefined;
963
508
  export?: string | string[] | undefined;
964
509
  umdNamedDefine?: boolean | undefined;
@@ -972,15 +517,15 @@ export declare const rspackOptions: z.ZodObject<{
972
517
  commonjs2: z.ZodOptional<z.ZodString>;
973
518
  root: z.ZodOptional<z.ZodString>;
974
519
  }, "strict", z.ZodTypeAny, {
520
+ root?: string | undefined;
975
521
  commonjs?: string | undefined;
976
522
  amd?: string | undefined;
977
523
  commonjs2?: string | undefined;
978
- root?: string | undefined;
979
524
  }, {
525
+ root?: string | undefined;
980
526
  commonjs?: string | undefined;
981
527
  amd?: string | undefined;
982
528
  commonjs2?: string | undefined;
983
- root?: string | undefined;
984
529
  }>]>>;
985
530
  module: z.ZodOptional<z.ZodBoolean>;
986
531
  strictModuleExceptionHandling: z.ZodOptional<z.ZodBoolean>;
@@ -1034,109 +579,106 @@ export declare const rspackOptions: z.ZodObject<{
1034
579
  templateLiteral: z.ZodOptional<z.ZodBoolean>;
1035
580
  }, "strict", z.ZodTypeAny, {
1036
581
  module?: boolean | undefined;
1037
- arrowFunction?: boolean | undefined;
1038
- asyncFunction?: boolean | undefined;
1039
- bigIntLiteral?: boolean | undefined;
1040
582
  const?: boolean | undefined;
1041
- destructuring?: boolean | undefined;
1042
583
  document?: boolean | undefined;
584
+ nodePrefixForCoreModules?: boolean | undefined;
585
+ globalThis?: boolean | undefined;
586
+ bigIntLiteral?: boolean | undefined;
587
+ arrowFunction?: boolean | undefined;
588
+ forOf?: boolean | undefined;
589
+ destructuring?: boolean | undefined;
1043
590
  dynamicImport?: boolean | undefined;
1044
591
  dynamicImportInWorker?: boolean | undefined;
1045
- forOf?: boolean | undefined;
1046
- globalThis?: boolean | undefined;
1047
- nodePrefixForCoreModules?: boolean | undefined;
1048
592
  optionalChaining?: boolean | undefined;
1049
593
  templateLiteral?: boolean | undefined;
594
+ asyncFunction?: boolean | undefined;
1050
595
  }, {
1051
596
  module?: boolean | undefined;
1052
- arrowFunction?: boolean | undefined;
1053
- asyncFunction?: boolean | undefined;
1054
- bigIntLiteral?: boolean | undefined;
1055
597
  const?: boolean | undefined;
1056
- destructuring?: boolean | undefined;
1057
598
  document?: boolean | undefined;
599
+ nodePrefixForCoreModules?: boolean | undefined;
600
+ globalThis?: boolean | undefined;
601
+ bigIntLiteral?: boolean | undefined;
602
+ arrowFunction?: boolean | undefined;
603
+ forOf?: boolean | undefined;
604
+ destructuring?: boolean | undefined;
1058
605
  dynamicImport?: boolean | undefined;
1059
606
  dynamicImportInWorker?: boolean | undefined;
1060
- forOf?: boolean | undefined;
1061
- globalThis?: boolean | undefined;
1062
- nodePrefixForCoreModules?: boolean | undefined;
1063
607
  optionalChaining?: boolean | undefined;
1064
608
  templateLiteral?: boolean | undefined;
609
+ asyncFunction?: boolean | undefined;
1065
610
  }>>;
611
+ compareBeforeEmit: z.ZodOptional<z.ZodBoolean>;
1066
612
  }, "strict", z.ZodTypeAny, {
1067
613
  module?: boolean | undefined;
1068
614
  filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
1069
615
  publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
1070
616
  environment?: {
1071
617
  module?: boolean | undefined;
1072
- arrowFunction?: boolean | undefined;
1073
- asyncFunction?: boolean | undefined;
1074
- bigIntLiteral?: boolean | undefined;
1075
618
  const?: boolean | undefined;
1076
- destructuring?: boolean | undefined;
1077
619
  document?: boolean | undefined;
620
+ nodePrefixForCoreModules?: boolean | undefined;
621
+ globalThis?: boolean | undefined;
622
+ bigIntLiteral?: boolean | undefined;
623
+ arrowFunction?: boolean | undefined;
624
+ forOf?: boolean | undefined;
625
+ destructuring?: boolean | undefined;
1078
626
  dynamicImport?: boolean | undefined;
1079
627
  dynamicImportInWorker?: boolean | undefined;
1080
- forOf?: boolean | undefined;
1081
- globalThis?: boolean | undefined;
1082
- nodePrefixForCoreModules?: boolean | undefined;
1083
628
  optionalChaining?: boolean | undefined;
1084
629
  templateLiteral?: boolean | undefined;
630
+ asyncFunction?: boolean | undefined;
1085
631
  } | undefined;
1086
632
  chunkFilename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
1087
633
  path?: string | undefined;
1088
- auxiliaryComment?: string | {
634
+ library?: string | string[] | {
635
+ root?: string | string[] | undefined;
1089
636
  commonjs?: string | undefined;
1090
637
  amd?: string | undefined;
1091
- commonjs2?: string | undefined;
1092
- root?: string | undefined;
1093
- } | undefined;
1094
- umdNamedDefine?: boolean | undefined;
1095
- chunkLoading?: string | false | undefined;
1096
- asyncChunks?: boolean | undefined;
1097
- wasmLoading?: string | false | undefined;
1098
- library?: string | string[] | {
1099
- commonjs?: string | undefined;
1100
- amd?: string | undefined;
1101
- root?: string | string[] | undefined;
1102
638
  } | {
1103
639
  type: string;
1104
640
  name?: string | string[] | {
641
+ root?: string | string[] | undefined;
1105
642
  commonjs?: string | undefined;
1106
643
  amd?: string | undefined;
1107
- root?: string | string[] | undefined;
1108
644
  } | undefined;
1109
645
  amdContainer?: string | undefined;
1110
646
  auxiliaryComment?: string | {
647
+ root?: string | undefined;
1111
648
  commonjs?: string | undefined;
1112
649
  amd?: string | undefined;
1113
650
  commonjs2?: string | undefined;
1114
- root?: string | undefined;
1115
651
  } | undefined;
1116
652
  export?: string | string[] | undefined;
1117
653
  umdNamedDefine?: boolean | undefined;
1118
654
  } | undefined;
655
+ auxiliaryComment?: string | {
656
+ root?: string | undefined;
657
+ commonjs?: string | undefined;
658
+ amd?: string | undefined;
659
+ commonjs2?: string | undefined;
660
+ } | undefined;
661
+ umdNamedDefine?: boolean | undefined;
662
+ crossOriginLoading?: false | "anonymous" | "use-credentials" | undefined;
663
+ chunkLoading?: string | false | undefined;
664
+ asyncChunks?: boolean | undefined;
665
+ uniqueName?: string | undefined;
1119
666
  pathinfo?: boolean | "verbose" | undefined;
1120
667
  clean?: boolean | undefined;
1121
- crossOriginLoading?: false | "anonymous" | "use-credentials" | undefined;
1122
668
  cssFilename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
1123
- cssHeadDataCompression?: boolean | undefined;
1124
669
  cssChunkFilename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
1125
670
  hotUpdateMainFilename?: string | undefined;
1126
671
  hotUpdateChunkFilename?: string | undefined;
1127
672
  hotUpdateGlobal?: string | undefined;
1128
673
  assetModuleFilename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
1129
- uniqueName?: string | undefined;
1130
674
  chunkLoadingGlobal?: string | undefined;
1131
675
  enabledLibraryTypes?: string[] | undefined;
1132
- libraryExport?: string | string[] | undefined;
1133
- libraryTarget?: string | undefined;
1134
- strictModuleExceptionHandling?: boolean | undefined;
1135
676
  strictModuleErrorHandling?: boolean | undefined;
1136
677
  globalObject?: string | undefined;
1137
678
  importFunctionName?: string | undefined;
1138
679
  importMetaName?: string | undefined;
1139
680
  iife?: boolean | undefined;
681
+ wasmLoading?: string | false | undefined;
1140
682
  enabledWasmLoadingTypes?: string[] | undefined;
1141
683
  webassemblyModuleFilename?: string | undefined;
1142
684
  chunkFormat?: string | false | undefined;
@@ -1156,82 +698,83 @@ export declare const rspackOptions: z.ZodObject<{
1156
698
  devtoolNamespace?: string | undefined;
1157
699
  devtoolModuleFilenameTemplate?: string | ((args_0: any) => any) | undefined;
1158
700
  devtoolFallbackModuleFilenameTemplate?: string | ((args_0: any) => any) | undefined;
1159
- chunkLoadTimeout?: number | undefined;
1160
701
  charset?: boolean | undefined;
702
+ chunkLoadTimeout?: number | undefined;
703
+ cssHeadDataCompression?: boolean | undefined;
704
+ compareBeforeEmit?: boolean | undefined;
705
+ libraryExport?: string | string[] | undefined;
706
+ libraryTarget?: string | undefined;
707
+ strictModuleExceptionHandling?: boolean | undefined;
1161
708
  }, {
1162
709
  module?: boolean | undefined;
1163
710
  filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
1164
711
  publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
1165
712
  environment?: {
1166
713
  module?: boolean | undefined;
1167
- arrowFunction?: boolean | undefined;
1168
- asyncFunction?: boolean | undefined;
1169
- bigIntLiteral?: boolean | undefined;
1170
714
  const?: boolean | undefined;
1171
- destructuring?: boolean | undefined;
1172
715
  document?: boolean | undefined;
716
+ nodePrefixForCoreModules?: boolean | undefined;
717
+ globalThis?: boolean | undefined;
718
+ bigIntLiteral?: boolean | undefined;
719
+ arrowFunction?: boolean | undefined;
720
+ forOf?: boolean | undefined;
721
+ destructuring?: boolean | undefined;
1173
722
  dynamicImport?: boolean | undefined;
1174
723
  dynamicImportInWorker?: boolean | undefined;
1175
- forOf?: boolean | undefined;
1176
- globalThis?: boolean | undefined;
1177
- nodePrefixForCoreModules?: boolean | undefined;
1178
724
  optionalChaining?: boolean | undefined;
1179
725
  templateLiteral?: boolean | undefined;
726
+ asyncFunction?: boolean | undefined;
1180
727
  } | undefined;
1181
728
  chunkFilename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
1182
729
  path?: string | undefined;
1183
- auxiliaryComment?: string | {
1184
- commonjs?: string | undefined;
1185
- amd?: string | undefined;
1186
- commonjs2?: string | undefined;
1187
- root?: string | undefined;
1188
- } | undefined;
1189
- umdNamedDefine?: boolean | undefined;
1190
- chunkLoading?: string | false | undefined;
1191
- asyncChunks?: boolean | undefined;
1192
- wasmLoading?: string | false | undefined;
1193
730
  library?: string | string[] | {
731
+ root?: string | string[] | undefined;
1194
732
  commonjs?: string | undefined;
1195
733
  amd?: string | undefined;
1196
- root?: string | string[] | undefined;
1197
734
  } | {
1198
735
  type: string;
1199
736
  name?: string | string[] | {
737
+ root?: string | string[] | undefined;
1200
738
  commonjs?: string | undefined;
1201
739
  amd?: string | undefined;
1202
- root?: string | string[] | undefined;
1203
740
  } | undefined;
1204
741
  amdContainer?: string | undefined;
1205
742
  auxiliaryComment?: string | {
743
+ root?: string | undefined;
1206
744
  commonjs?: string | undefined;
1207
745
  amd?: string | undefined;
1208
746
  commonjs2?: string | undefined;
1209
- root?: string | undefined;
1210
747
  } | undefined;
1211
748
  export?: string | string[] | undefined;
1212
749
  umdNamedDefine?: boolean | undefined;
1213
750
  } | undefined;
751
+ auxiliaryComment?: string | {
752
+ root?: string | undefined;
753
+ commonjs?: string | undefined;
754
+ amd?: string | undefined;
755
+ commonjs2?: string | undefined;
756
+ } | undefined;
757
+ umdNamedDefine?: boolean | undefined;
758
+ crossOriginLoading?: false | "anonymous" | "use-credentials" | undefined;
759
+ chunkLoading?: string | false | undefined;
760
+ asyncChunks?: boolean | undefined;
761
+ uniqueName?: string | undefined;
1214
762
  pathinfo?: boolean | "verbose" | undefined;
1215
763
  clean?: boolean | undefined;
1216
- crossOriginLoading?: false | "anonymous" | "use-credentials" | undefined;
1217
764
  cssFilename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
1218
- cssHeadDataCompression?: boolean | undefined;
1219
765
  cssChunkFilename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
1220
766
  hotUpdateMainFilename?: string | undefined;
1221
767
  hotUpdateChunkFilename?: string | undefined;
1222
768
  hotUpdateGlobal?: string | undefined;
1223
769
  assetModuleFilename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
1224
- uniqueName?: string | undefined;
1225
770
  chunkLoadingGlobal?: string | undefined;
1226
771
  enabledLibraryTypes?: string[] | undefined;
1227
- libraryExport?: string | string[] | undefined;
1228
- libraryTarget?: string | undefined;
1229
- strictModuleExceptionHandling?: boolean | undefined;
1230
772
  strictModuleErrorHandling?: boolean | undefined;
1231
773
  globalObject?: string | undefined;
1232
774
  importFunctionName?: string | undefined;
1233
775
  importMetaName?: string | undefined;
1234
776
  iife?: boolean | undefined;
777
+ wasmLoading?: string | false | undefined;
1235
778
  enabledWasmLoadingTypes?: string[] | undefined;
1236
779
  webassemblyModuleFilename?: string | undefined;
1237
780
  chunkFormat?: string | false | undefined;
@@ -1251,8 +794,13 @@ export declare const rspackOptions: z.ZodObject<{
1251
794
  devtoolNamespace?: string | undefined;
1252
795
  devtoolModuleFilenameTemplate?: string | ((args_0: any) => any) | undefined;
1253
796
  devtoolFallbackModuleFilenameTemplate?: string | ((args_0: any) => any) | undefined;
1254
- chunkLoadTimeout?: number | undefined;
1255
797
  charset?: boolean | undefined;
798
+ chunkLoadTimeout?: number | undefined;
799
+ cssHeadDataCompression?: boolean | undefined;
800
+ compareBeforeEmit?: boolean | undefined;
801
+ libraryExport?: string | string[] | undefined;
802
+ libraryTarget?: string | undefined;
803
+ strictModuleExceptionHandling?: boolean | undefined;
1256
804
  }>>;
1257
805
  target: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodUnion<[z.ZodEnum<["web", "webworker", "es3", "es5", "es2015", "es2016", "es2017", "es2018", "es2019", "es2020", "es2021", "es2022"]>, z.ZodLiteral<"node">, z.ZodLiteral<"async-node">, z.ZodType<`node${number}`, z.ZodTypeDef, `node${number}`>, z.ZodType<`async-node${number}`, z.ZodTypeDef, `async-node${number}`>, z.ZodType<`node${number}.${number}`, z.ZodTypeDef, `node${number}.${number}`>, z.ZodType<`async-node${number}.${number}`, z.ZodTypeDef, `async-node${number}.${number}`>, z.ZodLiteral<"electron-main">, z.ZodType<`electron${number}-main`, z.ZodTypeDef, `electron${number}-main`>, z.ZodType<`electron${number}.${number}-main`, z.ZodTypeDef, `electron${number}.${number}-main`>, z.ZodLiteral<"electron-renderer">, z.ZodType<`electron${number}-renderer`, z.ZodTypeDef, `electron${number}-renderer`>, z.ZodType<`electron${number}.${number}-renderer`, z.ZodTypeDef, `electron${number}.${number}-renderer`>, z.ZodLiteral<"electron-preload">, z.ZodType<`electron${number}-preload`, z.ZodTypeDef, `electron${number}-preload`>, z.ZodType<`electron${number}.${number}-preload`, z.ZodTypeDef, `electron${number}.${number}-preload`>, z.ZodLiteral<"nwjs">, z.ZodType<`nwjs${number}`, z.ZodTypeDef, `nwjs${number}`>, z.ZodType<`nwjs${number}.${number}`, z.ZodTypeDef, `nwjs${number}.${number}`>, z.ZodLiteral<"node-webkit">, z.ZodType<`node-webkit${number}`, z.ZodTypeDef, `node-webkit${number}`>, z.ZodType<`node-webkit${number}.${number}`, z.ZodTypeDef, `node-webkit${number}.${number}`>, z.ZodLiteral<"browserslist">, z.ZodType<`browserslist:${string}`, z.ZodTypeDef, `browserslist:${string}`>]>, z.ZodArray<z.ZodUnion<[z.ZodEnum<["web", "webworker", "es3", "es5", "es2015", "es2016", "es2017", "es2018", "es2019", "es2020", "es2021", "es2022"]>, z.ZodLiteral<"node">, z.ZodLiteral<"async-node">, z.ZodType<`node${number}`, z.ZodTypeDef, `node${number}`>, z.ZodType<`async-node${number}`, z.ZodTypeDef, `async-node${number}`>, z.ZodType<`node${number}.${number}`, z.ZodTypeDef, `node${number}.${number}`>, z.ZodType<`async-node${number}.${number}`, z.ZodTypeDef, `async-node${number}.${number}`>, z.ZodLiteral<"electron-main">, z.ZodType<`electron${number}-main`, z.ZodTypeDef, `electron${number}-main`>, z.ZodType<`electron${number}.${number}-main`, z.ZodTypeDef, `electron${number}.${number}-main`>, z.ZodLiteral<"electron-renderer">, z.ZodType<`electron${number}-renderer`, z.ZodTypeDef, `electron${number}-renderer`>, z.ZodType<`electron${number}.${number}-renderer`, z.ZodTypeDef, `electron${number}.${number}-renderer`>, z.ZodLiteral<"electron-preload">, z.ZodType<`electron${number}-preload`, z.ZodTypeDef, `electron${number}-preload`>, z.ZodType<`electron${number}.${number}-preload`, z.ZodTypeDef, `electron${number}.${number}-preload`>, z.ZodLiteral<"nwjs">, z.ZodType<`nwjs${number}`, z.ZodTypeDef, `nwjs${number}`>, z.ZodType<`nwjs${number}.${number}`, z.ZodTypeDef, `nwjs${number}.${number}`>, z.ZodLiteral<"node-webkit">, z.ZodType<`node-webkit${number}`, z.ZodTypeDef, `node-webkit${number}`>, z.ZodType<`node-webkit${number}.${number}`, z.ZodTypeDef, `node-webkit${number}.${number}`>, z.ZodLiteral<"browserslist">, z.ZodType<`browserslist:${string}`, z.ZodTypeDef, `browserslist:${string}`>]>, "many">]>>;
1258
806
  mode: z.ZodOptional<z.ZodEnum<["development", "production", "none"]>>;
@@ -1321,6 +869,7 @@ export declare const rspackOptions: z.ZodObject<{
1321
869
  test: z.ZodOptional<z.ZodUnion<[z.ZodType<RegExp, z.ZodTypeDef, RegExp>, z.ZodFunction<z.ZodTuple<[z.ZodType<Module, z.ZodTypeDef, Module>], z.ZodUnknown>, z.ZodBoolean>]>>;
1322
870
  }, "strip", z.ZodTypeAny, {
1323
871
  entries?: boolean | undefined;
872
+ imports?: boolean | undefined;
1324
873
  test?: RegExp | ((args_0: Module, ...args: unknown[]) => boolean) | undefined;
1325
874
  backend?: {
1326
875
  client?: string | undefined;
@@ -1336,9 +885,9 @@ export declare const rspackOptions: z.ZodObject<{
1336
885
  } | undefined;
1337
886
  protocol?: "http" | "https" | undefined;
1338
887
  } | undefined;
1339
- imports?: boolean | undefined;
1340
888
  }, {
1341
889
  entries?: boolean | undefined;
890
+ imports?: boolean | undefined;
1342
891
  test?: RegExp | ((args_0: Module, ...args: unknown[]) => boolean) | undefined;
1343
892
  backend?: {
1344
893
  client?: string | undefined;
@@ -1354,7 +903,6 @@ export declare const rspackOptions: z.ZodObject<{
1354
903
  } | undefined;
1355
904
  protocol?: "http" | "https" | undefined;
1356
905
  } | undefined;
1357
- imports?: boolean | undefined;
1358
906
  }>]>;
1359
907
  asyncWebAssembly: z.ZodOptional<z.ZodBoolean>;
1360
908
  outputModule: z.ZodOptional<z.ZodBoolean>;
@@ -1370,6 +918,7 @@ export declare const rspackOptions: z.ZodObject<{
1370
918
  modulesHashes: z.ZodOptional<z.ZodBoolean>;
1371
919
  modulesCodegen: z.ZodOptional<z.ZodBoolean>;
1372
920
  modulesRuntimeRequirements: z.ZodOptional<z.ZodBoolean>;
921
+ buildChunkGraph: z.ZodOptional<z.ZodBoolean>;
1373
922
  }, "strict", z.ZodTypeAny, {
1374
923
  make?: boolean | undefined;
1375
924
  providedExports?: boolean | undefined;
@@ -1379,6 +928,7 @@ export declare const rspackOptions: z.ZodObject<{
1379
928
  modulesHashes?: boolean | undefined;
1380
929
  modulesCodegen?: boolean | undefined;
1381
930
  modulesRuntimeRequirements?: boolean | undefined;
931
+ buildChunkGraph?: boolean | undefined;
1382
932
  }, {
1383
933
  make?: boolean | undefined;
1384
934
  providedExports?: boolean | undefined;
@@ -1388,6 +938,7 @@ export declare const rspackOptions: z.ZodObject<{
1388
938
  modulesHashes?: boolean | undefined;
1389
939
  modulesCodegen?: boolean | undefined;
1390
940
  modulesRuntimeRequirements?: boolean | undefined;
941
+ buildChunkGraph?: boolean | undefined;
1391
942
  }>]>>;
1392
943
  futureDefaults: z.ZodOptional<z.ZodBoolean>;
1393
944
  rspackFuture: z.ZodOptional<z.ZodObject<{
@@ -1419,27 +970,6 @@ export declare const rspackOptions: z.ZodObject<{
1419
970
  }>>;
1420
971
  }, "strict", z.ZodTypeAny, {
1421
972
  css?: boolean | undefined;
1422
- lazyCompilation?: boolean | {
1423
- entries?: boolean | undefined;
1424
- test?: RegExp | ((args_0: Module, ...args: unknown[]) => boolean) | undefined;
1425
- backend?: {
1426
- client?: string | undefined;
1427
- listen?: number | {
1428
- path?: string | undefined;
1429
- port?: number | undefined;
1430
- host?: string | undefined;
1431
- backlog?: number | undefined;
1432
- exclusive?: boolean | undefined;
1433
- readableAll?: boolean | undefined;
1434
- writableAll?: boolean | undefined;
1435
- ipv6Only?: boolean | undefined;
1436
- } | undefined;
1437
- protocol?: "http" | "https" | undefined;
1438
- } | undefined;
1439
- imports?: boolean | undefined;
1440
- } | undefined;
1441
- asyncWebAssembly?: boolean | undefined;
1442
- outputModule?: boolean | undefined;
1443
973
  topLevelAwait?: boolean | undefined;
1444
974
  layers?: boolean | undefined;
1445
975
  incremental?: boolean | {
@@ -1451,8 +981,8 @@ export declare const rspackOptions: z.ZodObject<{
1451
981
  modulesHashes?: boolean | undefined;
1452
982
  modulesCodegen?: boolean | undefined;
1453
983
  modulesRuntimeRequirements?: boolean | undefined;
984
+ buildChunkGraph?: boolean | undefined;
1454
985
  } | undefined;
1455
- futureDefaults?: boolean | undefined;
1456
986
  rspackFuture?: {
1457
987
  bundlerInfo?: {
1458
988
  force?: boolean | ("version" | "uniqueId")[] | undefined;
@@ -1460,10 +990,12 @@ export declare const rspackOptions: z.ZodObject<{
1460
990
  bundler?: string | undefined;
1461
991
  } | undefined;
1462
992
  } | undefined;
1463
- }, {
1464
- css?: boolean | undefined;
993
+ asyncWebAssembly?: boolean | undefined;
994
+ outputModule?: boolean | undefined;
995
+ futureDefaults?: boolean | undefined;
1465
996
  lazyCompilation?: boolean | {
1466
997
  entries?: boolean | undefined;
998
+ imports?: boolean | undefined;
1467
999
  test?: RegExp | ((args_0: Module, ...args: unknown[]) => boolean) | undefined;
1468
1000
  backend?: {
1469
1001
  client?: string | undefined;
@@ -1479,10 +1011,9 @@ export declare const rspackOptions: z.ZodObject<{
1479
1011
  } | undefined;
1480
1012
  protocol?: "http" | "https" | undefined;
1481
1013
  } | undefined;
1482
- imports?: boolean | undefined;
1483
1014
  } | undefined;
1484
- asyncWebAssembly?: boolean | undefined;
1485
- outputModule?: boolean | undefined;
1015
+ }, {
1016
+ css?: boolean | undefined;
1486
1017
  topLevelAwait?: boolean | undefined;
1487
1018
  layers?: boolean | undefined;
1488
1019
  incremental?: boolean | {
@@ -1494,8 +1025,8 @@ export declare const rspackOptions: z.ZodObject<{
1494
1025
  modulesHashes?: boolean | undefined;
1495
1026
  modulesCodegen?: boolean | undefined;
1496
1027
  modulesRuntimeRequirements?: boolean | undefined;
1028
+ buildChunkGraph?: boolean | undefined;
1497
1029
  } | undefined;
1498
- futureDefaults?: boolean | undefined;
1499
1030
  rspackFuture?: {
1500
1031
  bundlerInfo?: {
1501
1032
  force?: boolean | ("version" | "uniqueId")[] | undefined;
@@ -1503,6 +1034,28 @@ export declare const rspackOptions: z.ZodObject<{
1503
1034
  bundler?: string | undefined;
1504
1035
  } | undefined;
1505
1036
  } | undefined;
1037
+ asyncWebAssembly?: boolean | undefined;
1038
+ outputModule?: boolean | undefined;
1039
+ futureDefaults?: boolean | undefined;
1040
+ lazyCompilation?: boolean | {
1041
+ entries?: boolean | undefined;
1042
+ imports?: boolean | undefined;
1043
+ test?: RegExp | ((args_0: Module, ...args: unknown[]) => boolean) | undefined;
1044
+ backend?: {
1045
+ client?: string | undefined;
1046
+ listen?: number | {
1047
+ path?: string | undefined;
1048
+ port?: number | undefined;
1049
+ host?: string | undefined;
1050
+ backlog?: number | undefined;
1051
+ exclusive?: boolean | undefined;
1052
+ readableAll?: boolean | undefined;
1053
+ writableAll?: boolean | undefined;
1054
+ ipv6Only?: boolean | undefined;
1055
+ } | undefined;
1056
+ protocol?: "http" | "https" | undefined;
1057
+ } | undefined;
1058
+ } | undefined;
1506
1059
  }>>;
1507
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<{
1508
1061
  context: z.ZodOptional<z.ZodString>;
@@ -1619,20 +1172,20 @@ export declare const rspackOptions: z.ZodObject<{
1619
1172
  node?: boolean | undefined;
1620
1173
  web?: boolean | undefined;
1621
1174
  nwjs?: boolean | undefined;
1622
- webAsync?: boolean | undefined;
1623
1175
  electron?: boolean | undefined;
1624
1176
  electronMain?: boolean | undefined;
1625
1177
  electronPreload?: boolean | undefined;
1626
1178
  electronRenderer?: boolean | undefined;
1179
+ webAsync?: boolean | undefined;
1627
1180
  }, {
1628
1181
  node?: boolean | undefined;
1629
1182
  web?: boolean | undefined;
1630
1183
  nwjs?: boolean | undefined;
1631
- webAsync?: boolean | undefined;
1632
1184
  electron?: boolean | undefined;
1633
1185
  electronMain?: boolean | undefined;
1634
1186
  electronPreload?: boolean | undefined;
1635
1187
  electronRenderer?: boolean | undefined;
1188
+ webAsync?: boolean | undefined;
1636
1189
  }>>;
1637
1190
  infrastructureLogging: z.ZodOptional<z.ZodObject<{
1638
1191
  appendOnly: z.ZodOptional<z.ZodBoolean>;
@@ -1644,17 +1197,17 @@ export declare const rspackOptions: z.ZodObject<{
1644
1197
  }, "strict", z.ZodTypeAny, {
1645
1198
  debug?: string | boolean | RegExp | ((args_0: string, ...args: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args: unknown[]) => boolean))[] | undefined;
1646
1199
  colors?: boolean | undefined;
1200
+ stream?: NodeJS.WritableStream | undefined;
1647
1201
  appendOnly?: boolean | undefined;
1648
1202
  console?: Console | undefined;
1649
1203
  level?: "log" | "info" | "verbose" | "none" | "error" | "warn" | undefined;
1650
- stream?: NodeJS.WritableStream | undefined;
1651
1204
  }, {
1652
1205
  debug?: string | boolean | RegExp | ((args_0: string, ...args: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args: unknown[]) => boolean))[] | undefined;
1653
1206
  colors?: boolean | undefined;
1207
+ stream?: NodeJS.WritableStream | undefined;
1654
1208
  appendOnly?: boolean | undefined;
1655
1209
  console?: Console | undefined;
1656
1210
  level?: "log" | "info" | "verbose" | "none" | "error" | "warn" | undefined;
1657
- stream?: NodeJS.WritableStream | undefined;
1658
1211
  }>>;
1659
1212
  cache: z.ZodOptional<z.ZodBoolean>;
1660
1213
  context: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
@@ -1772,13 +1325,13 @@ export declare const rspackOptions: z.ZodObject<{
1772
1325
  errorsSpace: z.ZodOptional<z.ZodNumber>;
1773
1326
  warningsSpace: z.ZodOptional<z.ZodNumber>;
1774
1327
  }, "strict", z.ZodTypeAny, {
1328
+ modules?: boolean | undefined;
1775
1329
  source?: boolean | undefined;
1776
1330
  publicPath?: boolean | undefined;
1777
1331
  all?: boolean | undefined;
1778
1332
  preset?: boolean | "verbose" | "normal" | "none" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | undefined;
1779
1333
  assets?: boolean | undefined;
1780
1334
  chunks?: boolean | undefined;
1781
- modules?: boolean | undefined;
1782
1335
  entrypoints?: boolean | "auto" | undefined;
1783
1336
  chunkGroups?: boolean | undefined;
1784
1337
  warnings?: boolean | undefined;
@@ -1849,13 +1402,13 @@ export declare const rspackOptions: z.ZodObject<{
1849
1402
  errorsSpace?: number | undefined;
1850
1403
  warningsSpace?: number | undefined;
1851
1404
  }, {
1405
+ modules?: boolean | undefined;
1852
1406
  source?: boolean | undefined;
1853
1407
  publicPath?: boolean | undefined;
1854
1408
  all?: boolean | undefined;
1855
1409
  preset?: boolean | "verbose" | "normal" | "none" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | undefined;
1856
1410
  assets?: boolean | undefined;
1857
1411
  chunks?: boolean | undefined;
1858
- modules?: boolean | undefined;
1859
1412
  entrypoints?: boolean | "auto" | undefined;
1860
1413
  chunkGroups?: boolean | undefined;
1861
1414
  warnings?: boolean | undefined;
@@ -1971,14 +1524,10 @@ export declare const rspackOptions: z.ZodObject<{
1971
1524
  filename?: string | undefined;
1972
1525
  name?: string | false | ((args_0: Module | undefined, ...args: unknown[]) => unknown) | undefined;
1973
1526
  priority?: number | undefined;
1974
- chunks?: RegExp | "all" | "initial" | "async" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
1527
+ chunks?: RegExp | "all" | "async" | "initial" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
1975
1528
  usedExports?: boolean | undefined;
1976
- test?: string | RegExp | ((args_0: Module, ...args: unknown[]) => unknown) | undefined;
1977
- enforce?: boolean | undefined;
1978
- maxSize?: number | Record<string, number> | undefined;
1979
- reuseExistingChunk?: boolean | undefined;
1980
- idHint?: string | undefined;
1981
1529
  defaultSizeTypes?: string[] | undefined;
1530
+ maxSize?: number | Record<string, number> | undefined;
1982
1531
  minChunks?: number | undefined;
1983
1532
  minSize?: number | Record<string, number> | undefined;
1984
1533
  maxAsyncSize?: number | Record<string, number> | undefined;
@@ -1986,19 +1535,19 @@ export declare const rspackOptions: z.ZodObject<{
1986
1535
  maxAsyncRequests?: number | undefined;
1987
1536
  maxInitialRequests?: number | undefined;
1988
1537
  automaticNameDelimiter?: string | undefined;
1538
+ test?: string | RegExp | ((args_0: Module, ...args: unknown[]) => unknown) | undefined;
1539
+ idHint?: string | undefined;
1540
+ reuseExistingChunk?: boolean | undefined;
1541
+ enforce?: boolean | undefined;
1989
1542
  }, {
1990
1543
  type?: string | RegExp | undefined;
1991
1544
  filename?: string | undefined;
1992
1545
  name?: string | false | ((args_0: Module | undefined, ...args: unknown[]) => unknown) | undefined;
1993
1546
  priority?: number | undefined;
1994
- chunks?: RegExp | "all" | "initial" | "async" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
1547
+ chunks?: RegExp | "all" | "async" | "initial" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
1995
1548
  usedExports?: boolean | undefined;
1996
- test?: string | RegExp | ((args_0: Module, ...args: unknown[]) => unknown) | undefined;
1997
- enforce?: boolean | undefined;
1998
- maxSize?: number | Record<string, number> | undefined;
1999
- reuseExistingChunk?: boolean | undefined;
2000
- idHint?: string | undefined;
2001
1549
  defaultSizeTypes?: string[] | undefined;
1550
+ maxSize?: number | Record<string, number> | undefined;
2002
1551
  minChunks?: number | undefined;
2003
1552
  minSize?: number | Record<string, number> | undefined;
2004
1553
  maxAsyncSize?: number | Record<string, number> | undefined;
@@ -2006,6 +1555,10 @@ export declare const rspackOptions: z.ZodObject<{
2006
1555
  maxAsyncRequests?: number | undefined;
2007
1556
  maxInitialRequests?: number | undefined;
2008
1557
  automaticNameDelimiter?: string | undefined;
1558
+ test?: string | RegExp | ((args_0: Module, ...args: unknown[]) => unknown) | undefined;
1559
+ idHint?: string | undefined;
1560
+ reuseExistingChunk?: boolean | undefined;
1561
+ enforce?: boolean | undefined;
2009
1562
  }>]>>>;
2010
1563
  fallbackCacheGroup: z.ZodOptional<z.ZodObject<{
2011
1564
  chunks: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodEnum<["initial", "async", "all"]>, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>, z.ZodFunction<z.ZodTuple<[z.ZodType<Chunk, z.ZodTypeDef, Chunk>], z.ZodUnknown>, z.ZodBoolean>]>>;
@@ -2015,14 +1568,14 @@ export declare const rspackOptions: z.ZodObject<{
2015
1568
  maxInitialSize: z.ZodOptional<z.ZodNumber>;
2016
1569
  automaticNameDelimiter: z.ZodOptional<z.ZodString>;
2017
1570
  }, "strict", z.ZodTypeAny, {
2018
- chunks?: RegExp | "all" | "initial" | "async" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
1571
+ chunks?: RegExp | "all" | "async" | "initial" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
2019
1572
  maxSize?: number | undefined;
2020
1573
  minSize?: number | undefined;
2021
1574
  maxAsyncSize?: number | undefined;
2022
1575
  maxInitialSize?: number | undefined;
2023
1576
  automaticNameDelimiter?: string | undefined;
2024
1577
  }, {
2025
- chunks?: RegExp | "all" | "initial" | "async" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
1578
+ chunks?: RegExp | "all" | "async" | "initial" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
2026
1579
  maxSize?: number | undefined;
2027
1580
  minSize?: number | undefined;
2028
1581
  maxAsyncSize?: number | undefined;
@@ -2032,30 +1585,18 @@ export declare const rspackOptions: z.ZodObject<{
2032
1585
  hidePathInfo: z.ZodOptional<z.ZodBoolean>;
2033
1586
  }, "strict", z.ZodTypeAny, {
2034
1587
  name?: string | false | ((args_0: Module | undefined, ...args: unknown[]) => unknown) | undefined;
2035
- chunks?: RegExp | "all" | "initial" | "async" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
1588
+ chunks?: RegExp | "all" | "async" | "initial" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
2036
1589
  usedExports?: boolean | undefined;
2037
- maxSize?: number | Record<string, number> | undefined;
2038
1590
  defaultSizeTypes?: string[] | undefined;
2039
- minChunks?: number | undefined;
2040
- minSize?: number | Record<string, number> | undefined;
2041
- maxAsyncSize?: number | Record<string, number> | undefined;
2042
- maxInitialSize?: number | Record<string, number> | undefined;
2043
- maxAsyncRequests?: number | undefined;
2044
- maxInitialRequests?: number | undefined;
2045
- automaticNameDelimiter?: string | undefined;
2046
1591
  cacheGroups?: Record<string, false | {
2047
1592
  type?: string | RegExp | undefined;
2048
1593
  filename?: string | undefined;
2049
1594
  name?: string | false | ((args_0: Module | undefined, ...args: unknown[]) => unknown) | undefined;
2050
1595
  priority?: number | undefined;
2051
- chunks?: RegExp | "all" | "initial" | "async" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
1596
+ chunks?: RegExp | "all" | "async" | "initial" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
2052
1597
  usedExports?: boolean | undefined;
2053
- test?: string | RegExp | ((args_0: Module, ...args: unknown[]) => unknown) | undefined;
2054
- enforce?: boolean | undefined;
2055
- maxSize?: number | Record<string, number> | undefined;
2056
- reuseExistingChunk?: boolean | undefined;
2057
- idHint?: string | undefined;
2058
1598
  defaultSizeTypes?: string[] | undefined;
1599
+ maxSize?: number | Record<string, number> | undefined;
2059
1600
  minChunks?: number | undefined;
2060
1601
  minSize?: number | Record<string, number> | undefined;
2061
1602
  maxAsyncSize?: number | Record<string, number> | undefined;
@@ -2063,9 +1604,14 @@ export declare const rspackOptions: z.ZodObject<{
2063
1604
  maxAsyncRequests?: number | undefined;
2064
1605
  maxInitialRequests?: number | undefined;
2065
1606
  automaticNameDelimiter?: string | undefined;
1607
+ test?: string | RegExp | ((args_0: Module, ...args: unknown[]) => unknown) | undefined;
1608
+ idHint?: string | undefined;
1609
+ reuseExistingChunk?: boolean | undefined;
1610
+ enforce?: boolean | undefined;
2066
1611
  }> | undefined;
1612
+ maxSize?: number | Record<string, number> | undefined;
2067
1613
  fallbackCacheGroup?: {
2068
- chunks?: RegExp | "all" | "initial" | "async" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
1614
+ chunks?: RegExp | "all" | "async" | "initial" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
2069
1615
  maxSize?: number | undefined;
2070
1616
  minSize?: number | undefined;
2071
1617
  maxAsyncSize?: number | undefined;
@@ -2073,12 +1619,6 @@ export declare const rspackOptions: z.ZodObject<{
2073
1619
  automaticNameDelimiter?: string | undefined;
2074
1620
  } | undefined;
2075
1621
  hidePathInfo?: boolean | undefined;
2076
- }, {
2077
- name?: string | false | ((args_0: Module | undefined, ...args: unknown[]) => unknown) | undefined;
2078
- chunks?: RegExp | "all" | "initial" | "async" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
2079
- usedExports?: boolean | undefined;
2080
- maxSize?: number | Record<string, number> | undefined;
2081
- defaultSizeTypes?: string[] | undefined;
2082
1622
  minChunks?: number | undefined;
2083
1623
  minSize?: number | Record<string, number> | undefined;
2084
1624
  maxAsyncSize?: number | Record<string, number> | undefined;
@@ -2086,19 +1626,20 @@ export declare const rspackOptions: z.ZodObject<{
2086
1626
  maxAsyncRequests?: number | undefined;
2087
1627
  maxInitialRequests?: number | undefined;
2088
1628
  automaticNameDelimiter?: string | undefined;
1629
+ }, {
1630
+ name?: string | false | ((args_0: Module | undefined, ...args: unknown[]) => unknown) | undefined;
1631
+ chunks?: RegExp | "all" | "async" | "initial" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
1632
+ usedExports?: boolean | undefined;
1633
+ defaultSizeTypes?: string[] | undefined;
2089
1634
  cacheGroups?: Record<string, false | {
2090
1635
  type?: string | RegExp | undefined;
2091
1636
  filename?: string | undefined;
2092
1637
  name?: string | false | ((args_0: Module | undefined, ...args: unknown[]) => unknown) | undefined;
2093
1638
  priority?: number | undefined;
2094
- chunks?: RegExp | "all" | "initial" | "async" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
1639
+ chunks?: RegExp | "all" | "async" | "initial" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
2095
1640
  usedExports?: boolean | undefined;
2096
- test?: string | RegExp | ((args_0: Module, ...args: unknown[]) => unknown) | undefined;
2097
- enforce?: boolean | undefined;
2098
- maxSize?: number | Record<string, number> | undefined;
2099
- reuseExistingChunk?: boolean | undefined;
2100
- idHint?: string | undefined;
2101
1641
  defaultSizeTypes?: string[] | undefined;
1642
+ maxSize?: number | Record<string, number> | undefined;
2102
1643
  minChunks?: number | undefined;
2103
1644
  minSize?: number | Record<string, number> | undefined;
2104
1645
  maxAsyncSize?: number | Record<string, number> | undefined;
@@ -2106,9 +1647,14 @@ export declare const rspackOptions: z.ZodObject<{
2106
1647
  maxAsyncRequests?: number | undefined;
2107
1648
  maxInitialRequests?: number | undefined;
2108
1649
  automaticNameDelimiter?: string | undefined;
1650
+ test?: string | RegExp | ((args_0: Module, ...args: unknown[]) => unknown) | undefined;
1651
+ idHint?: string | undefined;
1652
+ reuseExistingChunk?: boolean | undefined;
1653
+ enforce?: boolean | undefined;
2109
1654
  }> | undefined;
1655
+ maxSize?: number | Record<string, number> | undefined;
2110
1656
  fallbackCacheGroup?: {
2111
- chunks?: RegExp | "all" | "initial" | "async" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
1657
+ chunks?: RegExp | "all" | "async" | "initial" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
2112
1658
  maxSize?: number | undefined;
2113
1659
  minSize?: number | undefined;
2114
1660
  maxAsyncSize?: number | undefined;
@@ -2116,6 +1662,13 @@ export declare const rspackOptions: z.ZodObject<{
2116
1662
  automaticNameDelimiter?: string | undefined;
2117
1663
  } | undefined;
2118
1664
  hidePathInfo?: boolean | undefined;
1665
+ minChunks?: number | undefined;
1666
+ minSize?: number | Record<string, number> | undefined;
1667
+ maxAsyncSize?: number | Record<string, number> | undefined;
1668
+ maxInitialSize?: number | Record<string, number> | undefined;
1669
+ maxAsyncRequests?: number | undefined;
1670
+ maxInitialRequests?: number | undefined;
1671
+ automaticNameDelimiter?: string | undefined;
2119
1672
  }>]>>;
2120
1673
  runtimeChunk: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodEnum<["single", "multiple"]>, z.ZodBoolean]>, z.ZodObject<{
2121
1674
  name: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodFunction<z.ZodTuple<[z.ZodObject<{
@@ -2148,30 +1701,18 @@ export declare const rspackOptions: z.ZodObject<{
2148
1701
  }, "strict", z.ZodTypeAny, {
2149
1702
  splitChunks?: false | {
2150
1703
  name?: string | false | ((args_0: Module | undefined, ...args: unknown[]) => unknown) | undefined;
2151
- chunks?: RegExp | "all" | "initial" | "async" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
1704
+ chunks?: RegExp | "all" | "async" | "initial" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
2152
1705
  usedExports?: boolean | undefined;
2153
- maxSize?: number | Record<string, number> | undefined;
2154
1706
  defaultSizeTypes?: string[] | undefined;
2155
- minChunks?: number | undefined;
2156
- minSize?: number | Record<string, number> | undefined;
2157
- maxAsyncSize?: number | Record<string, number> | undefined;
2158
- maxInitialSize?: number | Record<string, number> | undefined;
2159
- maxAsyncRequests?: number | undefined;
2160
- maxInitialRequests?: number | undefined;
2161
- automaticNameDelimiter?: string | undefined;
2162
1707
  cacheGroups?: Record<string, false | {
2163
1708
  type?: string | RegExp | undefined;
2164
1709
  filename?: string | undefined;
2165
1710
  name?: string | false | ((args_0: Module | undefined, ...args: unknown[]) => unknown) | undefined;
2166
1711
  priority?: number | undefined;
2167
- chunks?: RegExp | "all" | "initial" | "async" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
1712
+ chunks?: RegExp | "all" | "async" | "initial" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
2168
1713
  usedExports?: boolean | undefined;
2169
- test?: string | RegExp | ((args_0: Module, ...args: unknown[]) => unknown) | undefined;
2170
- enforce?: boolean | undefined;
2171
- maxSize?: number | Record<string, number> | undefined;
2172
- reuseExistingChunk?: boolean | undefined;
2173
- idHint?: string | undefined;
2174
1714
  defaultSizeTypes?: string[] | undefined;
1715
+ maxSize?: number | Record<string, number> | undefined;
2175
1716
  minChunks?: number | undefined;
2176
1717
  minSize?: number | Record<string, number> | undefined;
2177
1718
  maxAsyncSize?: number | Record<string, number> | undefined;
@@ -2179,9 +1720,14 @@ export declare const rspackOptions: z.ZodObject<{
2179
1720
  maxAsyncRequests?: number | undefined;
2180
1721
  maxInitialRequests?: number | undefined;
2181
1722
  automaticNameDelimiter?: string | undefined;
1723
+ test?: string | RegExp | ((args_0: Module, ...args: unknown[]) => unknown) | undefined;
1724
+ idHint?: string | undefined;
1725
+ reuseExistingChunk?: boolean | undefined;
1726
+ enforce?: boolean | undefined;
2182
1727
  }> | undefined;
1728
+ maxSize?: number | Record<string, number> | undefined;
2183
1729
  fallbackCacheGroup?: {
2184
- chunks?: RegExp | "all" | "initial" | "async" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
1730
+ chunks?: RegExp | "all" | "async" | "initial" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
2185
1731
  maxSize?: number | undefined;
2186
1732
  minSize?: number | undefined;
2187
1733
  maxAsyncSize?: number | undefined;
@@ -2189,10 +1735,17 @@ export declare const rspackOptions: z.ZodObject<{
2189
1735
  automaticNameDelimiter?: string | undefined;
2190
1736
  } | undefined;
2191
1737
  hidePathInfo?: boolean | undefined;
1738
+ minChunks?: number | undefined;
1739
+ minSize?: number | Record<string, number> | undefined;
1740
+ maxAsyncSize?: number | Record<string, number> | undefined;
1741
+ maxInitialSize?: number | Record<string, number> | undefined;
1742
+ maxAsyncRequests?: number | undefined;
1743
+ maxInitialRequests?: number | undefined;
1744
+ automaticNameDelimiter?: string | undefined;
2192
1745
  } | undefined;
2193
1746
  usedExports?: boolean | "global" | undefined;
2194
1747
  providedExports?: boolean | undefined;
2195
- sideEffects?: boolean | "flag" | undefined;
1748
+ removeAvailableModules?: boolean | undefined;
2196
1749
  moduleIds?: "named" | "natural" | "deterministic" | undefined;
2197
1750
  chunkIds?: "named" | "natural" | "deterministic" | undefined;
2198
1751
  minimize?: boolean | undefined;
@@ -2203,9 +1756,9 @@ export declare const rspackOptions: z.ZodObject<{
2203
1756
  name: string;
2204
1757
  }, ...args: unknown[]) => string) | undefined;
2205
1758
  } | undefined;
2206
- removeAvailableModules?: boolean | undefined;
2207
1759
  removeEmptyChunks?: boolean | undefined;
2208
1760
  realContentHash?: boolean | undefined;
1761
+ sideEffects?: boolean | "flag" | undefined;
2209
1762
  concatenateModules?: boolean | undefined;
2210
1763
  innerGraph?: boolean | undefined;
2211
1764
  mangleExports?: boolean | "size" | "deterministic" | undefined;
@@ -2214,30 +1767,18 @@ export declare const rspackOptions: z.ZodObject<{
2214
1767
  }, {
2215
1768
  splitChunks?: false | {
2216
1769
  name?: string | false | ((args_0: Module | undefined, ...args: unknown[]) => unknown) | undefined;
2217
- chunks?: RegExp | "all" | "initial" | "async" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
1770
+ chunks?: RegExp | "all" | "async" | "initial" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
2218
1771
  usedExports?: boolean | undefined;
2219
- maxSize?: number | Record<string, number> | undefined;
2220
1772
  defaultSizeTypes?: string[] | undefined;
2221
- minChunks?: number | undefined;
2222
- minSize?: number | Record<string, number> | undefined;
2223
- maxAsyncSize?: number | Record<string, number> | undefined;
2224
- maxInitialSize?: number | Record<string, number> | undefined;
2225
- maxAsyncRequests?: number | undefined;
2226
- maxInitialRequests?: number | undefined;
2227
- automaticNameDelimiter?: string | undefined;
2228
1773
  cacheGroups?: Record<string, false | {
2229
1774
  type?: string | RegExp | undefined;
2230
1775
  filename?: string | undefined;
2231
1776
  name?: string | false | ((args_0: Module | undefined, ...args: unknown[]) => unknown) | undefined;
2232
1777
  priority?: number | undefined;
2233
- chunks?: RegExp | "all" | "initial" | "async" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
1778
+ chunks?: RegExp | "all" | "async" | "initial" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
2234
1779
  usedExports?: boolean | undefined;
2235
- test?: string | RegExp | ((args_0: Module, ...args: unknown[]) => unknown) | undefined;
2236
- enforce?: boolean | undefined;
2237
- maxSize?: number | Record<string, number> | undefined;
2238
- reuseExistingChunk?: boolean | undefined;
2239
- idHint?: string | undefined;
2240
1780
  defaultSizeTypes?: string[] | undefined;
1781
+ maxSize?: number | Record<string, number> | undefined;
2241
1782
  minChunks?: number | undefined;
2242
1783
  minSize?: number | Record<string, number> | undefined;
2243
1784
  maxAsyncSize?: number | Record<string, number> | undefined;
@@ -2245,9 +1786,14 @@ export declare const rspackOptions: z.ZodObject<{
2245
1786
  maxAsyncRequests?: number | undefined;
2246
1787
  maxInitialRequests?: number | undefined;
2247
1788
  automaticNameDelimiter?: string | undefined;
1789
+ test?: string | RegExp | ((args_0: Module, ...args: unknown[]) => unknown) | undefined;
1790
+ idHint?: string | undefined;
1791
+ reuseExistingChunk?: boolean | undefined;
1792
+ enforce?: boolean | undefined;
2248
1793
  }> | undefined;
1794
+ maxSize?: number | Record<string, number> | undefined;
2249
1795
  fallbackCacheGroup?: {
2250
- chunks?: RegExp | "all" | "initial" | "async" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
1796
+ chunks?: RegExp | "all" | "async" | "initial" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
2251
1797
  maxSize?: number | undefined;
2252
1798
  minSize?: number | undefined;
2253
1799
  maxAsyncSize?: number | undefined;
@@ -2255,10 +1801,17 @@ export declare const rspackOptions: z.ZodObject<{
2255
1801
  automaticNameDelimiter?: string | undefined;
2256
1802
  } | undefined;
2257
1803
  hidePathInfo?: boolean | undefined;
1804
+ minChunks?: number | undefined;
1805
+ minSize?: number | Record<string, number> | undefined;
1806
+ maxAsyncSize?: number | Record<string, number> | undefined;
1807
+ maxInitialSize?: number | Record<string, number> | undefined;
1808
+ maxAsyncRequests?: number | undefined;
1809
+ maxInitialRequests?: number | undefined;
1810
+ automaticNameDelimiter?: string | undefined;
2258
1811
  } | undefined;
2259
1812
  usedExports?: boolean | "global" | undefined;
2260
1813
  providedExports?: boolean | undefined;
2261
- sideEffects?: boolean | "flag" | undefined;
1814
+ removeAvailableModules?: boolean | undefined;
2262
1815
  moduleIds?: "named" | "natural" | "deterministic" | undefined;
2263
1816
  chunkIds?: "named" | "natural" | "deterministic" | undefined;
2264
1817
  minimize?: boolean | undefined;
@@ -2269,9 +1822,9 @@ export declare const rspackOptions: z.ZodObject<{
2269
1822
  name: string;
2270
1823
  }, ...args: unknown[]) => string) | undefined;
2271
1824
  } | undefined;
2272
- removeAvailableModules?: boolean | undefined;
2273
1825
  removeEmptyChunks?: boolean | undefined;
2274
1826
  realContentHash?: boolean | undefined;
1827
+ sideEffects?: boolean | "flag" | undefined;
2275
1828
  concatenateModules?: boolean | undefined;
2276
1829
  innerGraph?: boolean | undefined;
2277
1830
  mangleExports?: boolean | "size" | "deterministic" | undefined;
@@ -2281,7 +1834,7 @@ export declare const rspackOptions: z.ZodObject<{
2281
1834
  resolve: z.ZodOptional<z.ZodType<t.ResolveOptions, z.ZodTypeDef, t.ResolveOptions>>;
2282
1835
  resolveLoader: z.ZodOptional<z.ZodType<t.ResolveOptions, z.ZodTypeDef, t.ResolveOptions>>;
2283
1836
  plugins: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodType<t.RspackPluginInstance | t.WebpackPluginInstance | t.RspackPluginFunction | t.WebpackPluginFunction, z.ZodTypeDef, t.RspackPluginInstance | t.WebpackPluginInstance | t.RspackPluginFunction | t.WebpackPluginFunction>, z.ZodUnion<[z.ZodLiteral<false>, z.ZodLiteral<0>, z.ZodLiteral<"">, z.ZodNull, z.ZodUndefined]>]>, "many">>;
2284
- devServer: z.ZodOptional<z.ZodType<DevServer, z.ZodTypeDef, DevServer>>;
1837
+ devServer: z.ZodOptional<z.ZodType<t.DevServer, z.ZodTypeDef, t.DevServer>>;
2285
1838
  module: z.ZodOptional<z.ZodObject<{
2286
1839
  defaultRules: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"...">, z.ZodType<t.RuleSetRule, z.ZodTypeDef, t.RuleSetRule>]>, z.ZodUnion<[z.ZodLiteral<false>, z.ZodLiteral<0>, z.ZodLiteral<"">, z.ZodNull, z.ZodUndefined]>]>, "many">>;
2287
1840
  rules: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"...">, z.ZodType<t.RuleSetRule, z.ZodTypeDef, t.RuleSetRule>]>, z.ZodUnion<[z.ZodLiteral<false>, z.ZodLiteral<0>, z.ZodLiteral<"">, z.ZodNull, z.ZodUndefined]>]>, "many">>;
@@ -2333,6 +1886,7 @@ export declare const rspackOptions: z.ZodObject<{
2333
1886
  url: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"relative">, z.ZodBoolean]>>;
2334
1887
  exprContextCritical: z.ZodOptional<z.ZodBoolean>;
2335
1888
  wrappedContextCritical: z.ZodOptional<z.ZodBoolean>;
1889
+ wrappedContextRegExp: z.ZodOptional<z.ZodType<RegExp, z.ZodTypeDef, RegExp>>;
2336
1890
  exportsPresence: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["error", "warn", "auto"]>, z.ZodLiteral<false>]>>;
2337
1891
  importExportsPresence: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["error", "warn", "auto"]>, z.ZodLiteral<false>]>>;
2338
1892
  reexportExportsPresence: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["error", "warn", "auto"]>, z.ZodLiteral<false>]>>;
@@ -2352,6 +1906,7 @@ export declare const rspackOptions: z.ZodObject<{
2352
1906
  importMeta?: boolean | undefined;
2353
1907
  exprContextCritical?: boolean | undefined;
2354
1908
  wrappedContextCritical?: boolean | undefined;
1909
+ wrappedContextRegExp?: RegExp | undefined;
2355
1910
  exportsPresence?: false | "auto" | "error" | "warn" | undefined;
2356
1911
  importExportsPresence?: false | "auto" | "error" | "warn" | undefined;
2357
1912
  reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined;
@@ -2371,6 +1926,7 @@ export declare const rspackOptions: z.ZodObject<{
2371
1926
  importMeta?: boolean | undefined;
2372
1927
  exprContextCritical?: boolean | undefined;
2373
1928
  wrappedContextCritical?: boolean | undefined;
1929
+ wrappedContextRegExp?: RegExp | undefined;
2374
1930
  exportsPresence?: false | "auto" | "error" | "warn" | undefined;
2375
1931
  importExportsPresence?: false | "auto" | "error" | "warn" | undefined;
2376
1932
  reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined;
@@ -2391,6 +1947,7 @@ export declare const rspackOptions: z.ZodObject<{
2391
1947
  url: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"relative">, z.ZodBoolean]>>;
2392
1948
  exprContextCritical: z.ZodOptional<z.ZodBoolean>;
2393
1949
  wrappedContextCritical: z.ZodOptional<z.ZodBoolean>;
1950
+ wrappedContextRegExp: z.ZodOptional<z.ZodType<RegExp, z.ZodTypeDef, RegExp>>;
2394
1951
  exportsPresence: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["error", "warn", "auto"]>, z.ZodLiteral<false>]>>;
2395
1952
  importExportsPresence: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["error", "warn", "auto"]>, z.ZodLiteral<false>]>>;
2396
1953
  reexportExportsPresence: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["error", "warn", "auto"]>, z.ZodLiteral<false>]>>;
@@ -2410,6 +1967,7 @@ export declare const rspackOptions: z.ZodObject<{
2410
1967
  importMeta?: boolean | undefined;
2411
1968
  exprContextCritical?: boolean | undefined;
2412
1969
  wrappedContextCritical?: boolean | undefined;
1970
+ wrappedContextRegExp?: RegExp | undefined;
2413
1971
  exportsPresence?: false | "auto" | "error" | "warn" | undefined;
2414
1972
  importExportsPresence?: false | "auto" | "error" | "warn" | undefined;
2415
1973
  reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined;
@@ -2429,6 +1987,7 @@ export declare const rspackOptions: z.ZodObject<{
2429
1987
  importMeta?: boolean | undefined;
2430
1988
  exprContextCritical?: boolean | undefined;
2431
1989
  wrappedContextCritical?: boolean | undefined;
1990
+ wrappedContextRegExp?: RegExp | undefined;
2432
1991
  exportsPresence?: false | "auto" | "error" | "warn" | undefined;
2433
1992
  importExportsPresence?: false | "auto" | "error" | "warn" | undefined;
2434
1993
  reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined;
@@ -2449,6 +2008,7 @@ export declare const rspackOptions: z.ZodObject<{
2449
2008
  url: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"relative">, z.ZodBoolean]>>;
2450
2009
  exprContextCritical: z.ZodOptional<z.ZodBoolean>;
2451
2010
  wrappedContextCritical: z.ZodOptional<z.ZodBoolean>;
2011
+ wrappedContextRegExp: z.ZodOptional<z.ZodType<RegExp, z.ZodTypeDef, RegExp>>;
2452
2012
  exportsPresence: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["error", "warn", "auto"]>, z.ZodLiteral<false>]>>;
2453
2013
  importExportsPresence: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["error", "warn", "auto"]>, z.ZodLiteral<false>]>>;
2454
2014
  reexportExportsPresence: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["error", "warn", "auto"]>, z.ZodLiteral<false>]>>;
@@ -2468,6 +2028,7 @@ export declare const rspackOptions: z.ZodObject<{
2468
2028
  importMeta?: boolean | undefined;
2469
2029
  exprContextCritical?: boolean | undefined;
2470
2030
  wrappedContextCritical?: boolean | undefined;
2031
+ wrappedContextRegExp?: RegExp | undefined;
2471
2032
  exportsPresence?: false | "auto" | "error" | "warn" | undefined;
2472
2033
  importExportsPresence?: false | "auto" | "error" | "warn" | undefined;
2473
2034
  reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined;
@@ -2487,6 +2048,7 @@ export declare const rspackOptions: z.ZodObject<{
2487
2048
  importMeta?: boolean | undefined;
2488
2049
  exprContextCritical?: boolean | undefined;
2489
2050
  wrappedContextCritical?: boolean | undefined;
2051
+ wrappedContextRegExp?: RegExp | undefined;
2490
2052
  exportsPresence?: false | "auto" | "error" | "warn" | undefined;
2491
2053
  importExportsPresence?: false | "auto" | "error" | "warn" | undefined;
2492
2054
  reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined;
@@ -2507,6 +2069,7 @@ export declare const rspackOptions: z.ZodObject<{
2507
2069
  url: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"relative">, z.ZodBoolean]>>;
2508
2070
  exprContextCritical: z.ZodOptional<z.ZodBoolean>;
2509
2071
  wrappedContextCritical: z.ZodOptional<z.ZodBoolean>;
2072
+ wrappedContextRegExp: z.ZodOptional<z.ZodType<RegExp, z.ZodTypeDef, RegExp>>;
2510
2073
  exportsPresence: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["error", "warn", "auto"]>, z.ZodLiteral<false>]>>;
2511
2074
  importExportsPresence: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["error", "warn", "auto"]>, z.ZodLiteral<false>]>>;
2512
2075
  reexportExportsPresence: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["error", "warn", "auto"]>, z.ZodLiteral<false>]>>;
@@ -2526,6 +2089,7 @@ export declare const rspackOptions: z.ZodObject<{
2526
2089
  importMeta?: boolean | undefined;
2527
2090
  exprContextCritical?: boolean | undefined;
2528
2091
  wrappedContextCritical?: boolean | undefined;
2092
+ wrappedContextRegExp?: RegExp | undefined;
2529
2093
  exportsPresence?: false | "auto" | "error" | "warn" | undefined;
2530
2094
  importExportsPresence?: false | "auto" | "error" | "warn" | undefined;
2531
2095
  reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined;
@@ -2545,6 +2109,7 @@ export declare const rspackOptions: z.ZodObject<{
2545
2109
  importMeta?: boolean | undefined;
2546
2110
  exprContextCritical?: boolean | undefined;
2547
2111
  wrappedContextCritical?: boolean | undefined;
2112
+ wrappedContextRegExp?: RegExp | undefined;
2548
2113
  exportsPresence?: false | "auto" | "error" | "warn" | undefined;
2549
2114
  importExportsPresence?: false | "auto" | "error" | "warn" | undefined;
2550
2115
  reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined;
@@ -2566,6 +2131,7 @@ export declare const rspackOptions: z.ZodObject<{
2566
2131
  importMeta?: boolean | undefined;
2567
2132
  exprContextCritical?: boolean | undefined;
2568
2133
  wrappedContextCritical?: boolean | undefined;
2134
+ wrappedContextRegExp?: RegExp | undefined;
2569
2135
  exportsPresence?: false | "auto" | "error" | "warn" | undefined;
2570
2136
  importExportsPresence?: false | "auto" | "error" | "warn" | undefined;
2571
2137
  reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined;
@@ -2600,6 +2166,7 @@ export declare const rspackOptions: z.ZodObject<{
2600
2166
  importMeta?: boolean | undefined;
2601
2167
  exprContextCritical?: boolean | undefined;
2602
2168
  wrappedContextCritical?: boolean | undefined;
2169
+ wrappedContextRegExp?: RegExp | undefined;
2603
2170
  exportsPresence?: false | "auto" | "error" | "warn" | undefined;
2604
2171
  importExportsPresence?: false | "auto" | "error" | "warn" | undefined;
2605
2172
  reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined;
@@ -2620,6 +2187,7 @@ export declare const rspackOptions: z.ZodObject<{
2620
2187
  importMeta?: boolean | undefined;
2621
2188
  exprContextCritical?: boolean | undefined;
2622
2189
  wrappedContextCritical?: boolean | undefined;
2190
+ wrappedContextRegExp?: RegExp | undefined;
2623
2191
  exportsPresence?: false | "auto" | "error" | "warn" | undefined;
2624
2192
  importExportsPresence?: false | "auto" | "error" | "warn" | undefined;
2625
2193
  reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined;
@@ -2640,6 +2208,7 @@ export declare const rspackOptions: z.ZodObject<{
2640
2208
  importMeta?: boolean | undefined;
2641
2209
  exprContextCritical?: boolean | undefined;
2642
2210
  wrappedContextCritical?: boolean | undefined;
2211
+ wrappedContextRegExp?: RegExp | undefined;
2643
2212
  exportsPresence?: false | "auto" | "error" | "warn" | undefined;
2644
2213
  importExportsPresence?: false | "auto" | "error" | "warn" | undefined;
2645
2214
  reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined;
@@ -2661,6 +2230,7 @@ export declare const rspackOptions: z.ZodObject<{
2661
2230
  importMeta?: boolean | undefined;
2662
2231
  exprContextCritical?: boolean | undefined;
2663
2232
  wrappedContextCritical?: boolean | undefined;
2233
+ wrappedContextRegExp?: RegExp | undefined;
2664
2234
  exportsPresence?: false | "auto" | "error" | "warn" | undefined;
2665
2235
  importExportsPresence?: false | "auto" | "error" | "warn" | undefined;
2666
2236
  reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined;
@@ -2695,6 +2265,7 @@ export declare const rspackOptions: z.ZodObject<{
2695
2265
  importMeta?: boolean | undefined;
2696
2266
  exprContextCritical?: boolean | undefined;
2697
2267
  wrappedContextCritical?: boolean | undefined;
2268
+ wrappedContextRegExp?: RegExp | undefined;
2698
2269
  exportsPresence?: false | "auto" | "error" | "warn" | undefined;
2699
2270
  importExportsPresence?: false | "auto" | "error" | "warn" | undefined;
2700
2271
  reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined;
@@ -2715,6 +2286,7 @@ export declare const rspackOptions: z.ZodObject<{
2715
2286
  importMeta?: boolean | undefined;
2716
2287
  exprContextCritical?: boolean | undefined;
2717
2288
  wrappedContextCritical?: boolean | undefined;
2289
+ wrappedContextRegExp?: RegExp | undefined;
2718
2290
  exportsPresence?: false | "auto" | "error" | "warn" | undefined;
2719
2291
  importExportsPresence?: false | "auto" | "error" | "warn" | undefined;
2720
2292
  reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined;
@@ -2735,6 +2307,7 @@ export declare const rspackOptions: z.ZodObject<{
2735
2307
  importMeta?: boolean | undefined;
2736
2308
  exprContextCritical?: boolean | undefined;
2737
2309
  wrappedContextCritical?: boolean | undefined;
2310
+ wrappedContextRegExp?: RegExp | undefined;
2738
2311
  exportsPresence?: false | "auto" | "error" | "warn" | undefined;
2739
2312
  importExportsPresence?: false | "auto" | "error" | "warn" | undefined;
2740
2313
  reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined;
@@ -2753,11 +2326,11 @@ export declare const rspackOptions: z.ZodObject<{
2753
2326
  encoding: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodLiteral<"base64">]>>;
2754
2327
  mimetype: z.ZodOptional<z.ZodString>;
2755
2328
  }, "strict", z.ZodTypeAny, {
2756
- mimetype?: string | undefined;
2757
2329
  encoding?: false | "base64" | undefined;
2758
- }, {
2759
2330
  mimetype?: string | undefined;
2331
+ }, {
2760
2332
  encoding?: false | "base64" | undefined;
2333
+ mimetype?: string | undefined;
2761
2334
  }>, z.ZodFunction<z.ZodTuple<[z.ZodObject<{
2762
2335
  content: z.ZodString;
2763
2336
  filename: z.ZodString;
@@ -2777,8 +2350,8 @@ export declare const rspackOptions: z.ZodObject<{
2777
2350
  publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
2778
2351
  emit?: boolean | undefined;
2779
2352
  dataUrl?: {
2780
- mimetype?: string | undefined;
2781
2353
  encoding?: false | "base64" | undefined;
2354
+ mimetype?: string | undefined;
2782
2355
  } | ((args_0: {
2783
2356
  filename: string;
2784
2357
  content: string;
@@ -2788,8 +2361,8 @@ export declare const rspackOptions: z.ZodObject<{
2788
2361
  publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
2789
2362
  emit?: boolean | undefined;
2790
2363
  dataUrl?: {
2791
- mimetype?: string | undefined;
2792
2364
  encoding?: false | "base64" | undefined;
2365
+ mimetype?: string | undefined;
2793
2366
  } | ((args_0: {
2794
2367
  filename: string;
2795
2368
  content: string;
@@ -2800,11 +2373,11 @@ export declare const rspackOptions: z.ZodObject<{
2800
2373
  encoding: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodLiteral<"base64">]>>;
2801
2374
  mimetype: z.ZodOptional<z.ZodString>;
2802
2375
  }, "strict", z.ZodTypeAny, {
2803
- mimetype?: string | undefined;
2804
2376
  encoding?: false | "base64" | undefined;
2805
- }, {
2806
2377
  mimetype?: string | undefined;
2378
+ }, {
2807
2379
  encoding?: false | "base64" | undefined;
2380
+ mimetype?: string | undefined;
2808
2381
  }>, z.ZodFunction<z.ZodTuple<[z.ZodObject<{
2809
2382
  content: z.ZodString;
2810
2383
  filename: z.ZodString;
@@ -2817,16 +2390,16 @@ export declare const rspackOptions: z.ZodObject<{
2817
2390
  }>], z.ZodUnknown>, z.ZodString>]>>;
2818
2391
  }, "strict", z.ZodTypeAny, {
2819
2392
  dataUrl?: {
2820
- mimetype?: string | undefined;
2821
2393
  encoding?: false | "base64" | undefined;
2394
+ mimetype?: string | undefined;
2822
2395
  } | ((args_0: {
2823
2396
  filename: string;
2824
2397
  content: string;
2825
2398
  }, ...args: unknown[]) => string) | undefined;
2826
2399
  }, {
2827
2400
  dataUrl?: {
2828
- mimetype?: string | undefined;
2829
2401
  encoding?: false | "base64" | undefined;
2402
+ mimetype?: string | undefined;
2830
2403
  } | ((args_0: {
2831
2404
  filename: string;
2832
2405
  content: string;
@@ -2909,8 +2482,8 @@ export declare const rspackOptions: z.ZodObject<{
2909
2482
  publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
2910
2483
  emit?: boolean | undefined;
2911
2484
  dataUrl?: {
2912
- mimetype?: string | undefined;
2913
2485
  encoding?: false | "base64" | undefined;
2486
+ mimetype?: string | undefined;
2914
2487
  } | ((args_0: {
2915
2488
  filename: string;
2916
2489
  content: string;
@@ -2918,8 +2491,8 @@ export declare const rspackOptions: z.ZodObject<{
2918
2491
  } | undefined;
2919
2492
  "asset/inline"?: {
2920
2493
  dataUrl?: {
2921
- mimetype?: string | undefined;
2922
2494
  encoding?: false | "base64" | undefined;
2495
+ mimetype?: string | undefined;
2923
2496
  } | ((args_0: {
2924
2497
  filename: string;
2925
2498
  content: string;
@@ -2952,8 +2525,8 @@ export declare const rspackOptions: z.ZodObject<{
2952
2525
  publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
2953
2526
  emit?: boolean | undefined;
2954
2527
  dataUrl?: {
2955
- mimetype?: string | undefined;
2956
2528
  encoding?: false | "base64" | undefined;
2529
+ mimetype?: string | undefined;
2957
2530
  } | ((args_0: {
2958
2531
  filename: string;
2959
2532
  content: string;
@@ -2961,8 +2534,8 @@ export declare const rspackOptions: z.ZodObject<{
2961
2534
  } | undefined;
2962
2535
  "asset/inline"?: {
2963
2536
  dataUrl?: {
2964
- mimetype?: string | undefined;
2965
2537
  encoding?: false | "base64" | undefined;
2538
+ mimetype?: string | undefined;
2966
2539
  } | ((args_0: {
2967
2540
  filename: string;
2968
2541
  content: string;
@@ -2976,6 +2549,52 @@ export declare const rspackOptions: z.ZodObject<{
2976
2549
  }>, z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>>]>>;
2977
2550
  noParse: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>, z.ZodFunction<z.ZodTuple<[z.ZodString], z.ZodUnknown>, z.ZodBoolean>]>, z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>, z.ZodFunction<z.ZodTuple<[z.ZodString], z.ZodUnknown>, z.ZodBoolean>]>, "many">]>>;
2978
2551
  }, "strict", z.ZodTypeAny, {
2552
+ generator?: Record<string, Record<string, any>> | {
2553
+ css?: {
2554
+ exportsOnly?: boolean | undefined;
2555
+ esModule?: boolean | undefined;
2556
+ } | undefined;
2557
+ "css/auto"?: {
2558
+ exportsOnly?: boolean | undefined;
2559
+ esModule?: boolean | undefined;
2560
+ exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
2561
+ localIdentName?: string | undefined;
2562
+ } | undefined;
2563
+ "css/module"?: {
2564
+ exportsOnly?: boolean | undefined;
2565
+ esModule?: boolean | undefined;
2566
+ exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
2567
+ localIdentName?: string | undefined;
2568
+ } | undefined;
2569
+ asset?: {
2570
+ filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
2571
+ publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
2572
+ emit?: boolean | undefined;
2573
+ dataUrl?: {
2574
+ encoding?: false | "base64" | undefined;
2575
+ mimetype?: string | undefined;
2576
+ } | ((args_0: {
2577
+ filename: string;
2578
+ content: string;
2579
+ }, ...args: unknown[]) => string) | undefined;
2580
+ } | undefined;
2581
+ "asset/inline"?: {
2582
+ dataUrl?: {
2583
+ encoding?: false | "base64" | undefined;
2584
+ mimetype?: string | undefined;
2585
+ } | ((args_0: {
2586
+ filename: string;
2587
+ content: string;
2588
+ }, ...args: unknown[]) => string) | undefined;
2589
+ } | undefined;
2590
+ "asset/resource"?: {
2591
+ filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
2592
+ publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
2593
+ emit?: boolean | undefined;
2594
+ } | undefined;
2595
+ } | undefined;
2596
+ defaultRules?: (false | "" | 0 | "..." | t.RuleSetRule | null | undefined)[] | undefined;
2597
+ rules?: (false | "" | 0 | "..." | t.RuleSetRule | null | undefined)[] | undefined;
2979
2598
  parser?: {
2980
2599
  javascript?: {
2981
2600
  url?: boolean | "relative" | undefined;
@@ -2986,6 +2605,7 @@ export declare const rspackOptions: z.ZodObject<{
2986
2605
  importMeta?: boolean | undefined;
2987
2606
  exprContextCritical?: boolean | undefined;
2988
2607
  wrappedContextCritical?: boolean | undefined;
2608
+ wrappedContextRegExp?: RegExp | undefined;
2989
2609
  exportsPresence?: false | "auto" | "error" | "warn" | undefined;
2990
2610
  importExportsPresence?: false | "auto" | "error" | "warn" | undefined;
2991
2611
  reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined;
@@ -3020,6 +2640,7 @@ export declare const rspackOptions: z.ZodObject<{
3020
2640
  importMeta?: boolean | undefined;
3021
2641
  exprContextCritical?: boolean | undefined;
3022
2642
  wrappedContextCritical?: boolean | undefined;
2643
+ wrappedContextRegExp?: RegExp | undefined;
3023
2644
  exportsPresence?: false | "auto" | "error" | "warn" | undefined;
3024
2645
  importExportsPresence?: false | "auto" | "error" | "warn" | undefined;
3025
2646
  reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined;
@@ -3040,6 +2661,7 @@ export declare const rspackOptions: z.ZodObject<{
3040
2661
  importMeta?: boolean | undefined;
3041
2662
  exprContextCritical?: boolean | undefined;
3042
2663
  wrappedContextCritical?: boolean | undefined;
2664
+ wrappedContextRegExp?: RegExp | undefined;
3043
2665
  exportsPresence?: false | "auto" | "error" | "warn" | undefined;
3044
2666
  importExportsPresence?: false | "auto" | "error" | "warn" | undefined;
3045
2667
  reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined;
@@ -3060,6 +2682,7 @@ export declare const rspackOptions: z.ZodObject<{
3060
2682
  importMeta?: boolean | undefined;
3061
2683
  exprContextCritical?: boolean | undefined;
3062
2684
  wrappedContextCritical?: boolean | undefined;
2685
+ wrappedContextRegExp?: RegExp | undefined;
3063
2686
  exportsPresence?: false | "auto" | "error" | "warn" | undefined;
3064
2687
  importExportsPresence?: false | "auto" | "error" | "warn" | undefined;
3065
2688
  reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined;
@@ -3072,6 +2695,8 @@ export declare const rspackOptions: z.ZodObject<{
3072
2695
  importDynamic?: boolean | undefined;
3073
2696
  } | undefined;
3074
2697
  } | Record<string, Record<string, any>> | undefined;
2698
+ noParse?: string | RegExp | ((args_0: string, ...args: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args: unknown[]) => boolean))[] | undefined;
2699
+ }, {
3075
2700
  generator?: Record<string, Record<string, any>> | {
3076
2701
  css?: {
3077
2702
  exportsOnly?: boolean | undefined;
@@ -3094,8 +2719,8 @@ export declare const rspackOptions: z.ZodObject<{
3094
2719
  publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
3095
2720
  emit?: boolean | undefined;
3096
2721
  dataUrl?: {
3097
- mimetype?: string | undefined;
3098
2722
  encoding?: false | "base64" | undefined;
2723
+ mimetype?: string | undefined;
3099
2724
  } | ((args_0: {
3100
2725
  filename: string;
3101
2726
  content: string;
@@ -3103,8 +2728,8 @@ export declare const rspackOptions: z.ZodObject<{
3103
2728
  } | undefined;
3104
2729
  "asset/inline"?: {
3105
2730
  dataUrl?: {
3106
- mimetype?: string | undefined;
3107
2731
  encoding?: false | "base64" | undefined;
2732
+ mimetype?: string | undefined;
3108
2733
  } | ((args_0: {
3109
2734
  filename: string;
3110
2735
  content: string;
@@ -3116,10 +2741,8 @@ export declare const rspackOptions: z.ZodObject<{
3116
2741
  emit?: boolean | undefined;
3117
2742
  } | undefined;
3118
2743
  } | undefined;
3119
- rules?: (false | "" | 0 | "..." | t.RuleSetRule | null | undefined)[] | undefined;
3120
2744
  defaultRules?: (false | "" | 0 | "..." | t.RuleSetRule | null | undefined)[] | undefined;
3121
- noParse?: string | RegExp | ((args_0: string, ...args: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args: unknown[]) => boolean))[] | undefined;
3122
- }, {
2745
+ rules?: (false | "" | 0 | "..." | t.RuleSetRule | null | undefined)[] | undefined;
3123
2746
  parser?: {
3124
2747
  javascript?: {
3125
2748
  url?: boolean | "relative" | undefined;
@@ -3130,6 +2753,7 @@ export declare const rspackOptions: z.ZodObject<{
3130
2753
  importMeta?: boolean | undefined;
3131
2754
  exprContextCritical?: boolean | undefined;
3132
2755
  wrappedContextCritical?: boolean | undefined;
2756
+ wrappedContextRegExp?: RegExp | undefined;
3133
2757
  exportsPresence?: false | "auto" | "error" | "warn" | undefined;
3134
2758
  importExportsPresence?: false | "auto" | "error" | "warn" | undefined;
3135
2759
  reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined;
@@ -3164,6 +2788,7 @@ export declare const rspackOptions: z.ZodObject<{
3164
2788
  importMeta?: boolean | undefined;
3165
2789
  exprContextCritical?: boolean | undefined;
3166
2790
  wrappedContextCritical?: boolean | undefined;
2791
+ wrappedContextRegExp?: RegExp | undefined;
3167
2792
  exportsPresence?: false | "auto" | "error" | "warn" | undefined;
3168
2793
  importExportsPresence?: false | "auto" | "error" | "warn" | undefined;
3169
2794
  reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined;
@@ -3184,6 +2809,7 @@ export declare const rspackOptions: z.ZodObject<{
3184
2809
  importMeta?: boolean | undefined;
3185
2810
  exprContextCritical?: boolean | undefined;
3186
2811
  wrappedContextCritical?: boolean | undefined;
2812
+ wrappedContextRegExp?: RegExp | undefined;
3187
2813
  exportsPresence?: false | "auto" | "error" | "warn" | undefined;
3188
2814
  importExportsPresence?: false | "auto" | "error" | "warn" | undefined;
3189
2815
  reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined;
@@ -3204,6 +2830,7 @@ export declare const rspackOptions: z.ZodObject<{
3204
2830
  importMeta?: boolean | undefined;
3205
2831
  exprContextCritical?: boolean | undefined;
3206
2832
  wrappedContextCritical?: boolean | undefined;
2833
+ wrappedContextRegExp?: RegExp | undefined;
3207
2834
  exportsPresence?: false | "auto" | "error" | "warn" | undefined;
3208
2835
  importExportsPresence?: false | "auto" | "error" | "warn" | undefined;
3209
2836
  reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined;
@@ -3216,6 +2843,30 @@ export declare const rspackOptions: z.ZodObject<{
3216
2843
  importDynamic?: boolean | undefined;
3217
2844
  } | undefined;
3218
2845
  } | Record<string, Record<string, any>> | undefined;
2846
+ noParse?: string | RegExp | ((args_0: string, ...args: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args: unknown[]) => boolean))[] | undefined;
2847
+ }>>;
2848
+ profile: z.ZodOptional<z.ZodBoolean>;
2849
+ bail: z.ZodOptional<z.ZodBoolean>;
2850
+ performance: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2851
+ assetFilter: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodString], z.ZodUnknown>, z.ZodBoolean>>;
2852
+ hints: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["error", "warning"]>, z.ZodLiteral<false>]>>;
2853
+ maxAssetSize: z.ZodOptional<z.ZodNumber>;
2854
+ maxEntrypointSize: z.ZodOptional<z.ZodNumber>;
2855
+ }, "strict", z.ZodTypeAny, {
2856
+ maxAssetSize?: number | undefined;
2857
+ assetFilter?: ((args_0: string, ...args: unknown[]) => boolean) | undefined;
2858
+ hints?: false | "error" | "warning" | undefined;
2859
+ maxEntrypointSize?: number | undefined;
2860
+ }, {
2861
+ maxAssetSize?: number | undefined;
2862
+ assetFilter?: ((args_0: string, ...args: unknown[]) => boolean) | undefined;
2863
+ hints?: false | "error" | "warning" | undefined;
2864
+ maxEntrypointSize?: number | undefined;
2865
+ }>, z.ZodLiteral<false>]>>;
2866
+ }, "strict", z.ZodTypeAny, {
2867
+ context?: string | undefined;
2868
+ dependencies?: string[] | undefined;
2869
+ module?: {
3219
2870
  generator?: Record<string, Record<string, any>> | {
3220
2871
  css?: {
3221
2872
  exportsOnly?: boolean | undefined;
@@ -3238,8 +2889,8 @@ export declare const rspackOptions: z.ZodObject<{
3238
2889
  publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
3239
2890
  emit?: boolean | undefined;
3240
2891
  dataUrl?: {
3241
- mimetype?: string | undefined;
3242
2892
  encoding?: false | "base64" | undefined;
2893
+ mimetype?: string | undefined;
3243
2894
  } | ((args_0: {
3244
2895
  filename: string;
3245
2896
  content: string;
@@ -3247,8 +2898,8 @@ export declare const rspackOptions: z.ZodObject<{
3247
2898
  } | undefined;
3248
2899
  "asset/inline"?: {
3249
2900
  dataUrl?: {
3250
- mimetype?: string | undefined;
3251
2901
  encoding?: false | "base64" | undefined;
2902
+ mimetype?: string | undefined;
3252
2903
  } | ((args_0: {
3253
2904
  filename: string;
3254
2905
  content: string;
@@ -3260,32 +2911,8 @@ export declare const rspackOptions: z.ZodObject<{
3260
2911
  emit?: boolean | undefined;
3261
2912
  } | undefined;
3262
2913
  } | undefined;
3263
- rules?: (false | "" | 0 | "..." | t.RuleSetRule | null | undefined)[] | undefined;
3264
2914
  defaultRules?: (false | "" | 0 | "..." | t.RuleSetRule | null | undefined)[] | undefined;
3265
- noParse?: string | RegExp | ((args_0: string, ...args: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args: unknown[]) => boolean))[] | undefined;
3266
- }>>;
3267
- profile: z.ZodOptional<z.ZodBoolean>;
3268
- bail: z.ZodOptional<z.ZodBoolean>;
3269
- performance: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
3270
- assetFilter: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodString], z.ZodUnknown>, z.ZodBoolean>>;
3271
- hints: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["error", "warning"]>, z.ZodLiteral<false>]>>;
3272
- maxAssetSize: z.ZodOptional<z.ZodNumber>;
3273
- maxEntrypointSize: z.ZodOptional<z.ZodNumber>;
3274
- }, "strict", z.ZodTypeAny, {
3275
- assetFilter?: ((args_0: string, ...args: unknown[]) => boolean) | undefined;
3276
- hints?: false | "error" | "warning" | undefined;
3277
- maxAssetSize?: number | undefined;
3278
- maxEntrypointSize?: number | undefined;
3279
- }, {
3280
- assetFilter?: ((args_0: string, ...args: unknown[]) => boolean) | undefined;
3281
- hints?: false | "error" | "warning" | undefined;
3282
- maxAssetSize?: number | undefined;
3283
- maxEntrypointSize?: number | undefined;
3284
- }>, z.ZodLiteral<false>]>>;
3285
- }, "strict", z.ZodTypeAny, {
3286
- context?: string | undefined;
3287
- dependencies?: string[] | undefined;
3288
- module?: {
2915
+ rules?: (false | "" | 0 | "..." | t.RuleSetRule | null | undefined)[] | undefined;
3289
2916
  parser?: {
3290
2917
  javascript?: {
3291
2918
  url?: boolean | "relative" | undefined;
@@ -3296,6 +2923,7 @@ export declare const rspackOptions: z.ZodObject<{
3296
2923
  importMeta?: boolean | undefined;
3297
2924
  exprContextCritical?: boolean | undefined;
3298
2925
  wrappedContextCritical?: boolean | undefined;
2926
+ wrappedContextRegExp?: RegExp | undefined;
3299
2927
  exportsPresence?: false | "auto" | "error" | "warn" | undefined;
3300
2928
  importExportsPresence?: false | "auto" | "error" | "warn" | undefined;
3301
2929
  reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined;
@@ -3330,6 +2958,7 @@ export declare const rspackOptions: z.ZodObject<{
3330
2958
  importMeta?: boolean | undefined;
3331
2959
  exprContextCritical?: boolean | undefined;
3332
2960
  wrappedContextCritical?: boolean | undefined;
2961
+ wrappedContextRegExp?: RegExp | undefined;
3333
2962
  exportsPresence?: false | "auto" | "error" | "warn" | undefined;
3334
2963
  importExportsPresence?: false | "auto" | "error" | "warn" | undefined;
3335
2964
  reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined;
@@ -3350,6 +2979,7 @@ export declare const rspackOptions: z.ZodObject<{
3350
2979
  importMeta?: boolean | undefined;
3351
2980
  exprContextCritical?: boolean | undefined;
3352
2981
  wrappedContextCritical?: boolean | undefined;
2982
+ wrappedContextRegExp?: RegExp | undefined;
3353
2983
  exportsPresence?: false | "auto" | "error" | "warn" | undefined;
3354
2984
  importExportsPresence?: false | "auto" | "error" | "warn" | undefined;
3355
2985
  reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined;
@@ -3370,6 +3000,7 @@ export declare const rspackOptions: z.ZodObject<{
3370
3000
  importMeta?: boolean | undefined;
3371
3001
  exprContextCritical?: boolean | undefined;
3372
3002
  wrappedContextCritical?: boolean | undefined;
3003
+ wrappedContextRegExp?: RegExp | undefined;
3373
3004
  exportsPresence?: false | "auto" | "error" | "warn" | undefined;
3374
3005
  importExportsPresence?: false | "auto" | "error" | "warn" | undefined;
3375
3006
  reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined;
@@ -3382,59 +3013,13 @@ export declare const rspackOptions: z.ZodObject<{
3382
3013
  importDynamic?: boolean | undefined;
3383
3014
  } | undefined;
3384
3015
  } | Record<string, Record<string, any>> | undefined;
3385
- generator?: Record<string, Record<string, any>> | {
3386
- css?: {
3387
- exportsOnly?: boolean | undefined;
3388
- esModule?: boolean | undefined;
3389
- } | undefined;
3390
- "css/auto"?: {
3391
- exportsOnly?: boolean | undefined;
3392
- esModule?: boolean | undefined;
3393
- exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
3394
- localIdentName?: string | undefined;
3395
- } | undefined;
3396
- "css/module"?: {
3397
- exportsOnly?: boolean | undefined;
3398
- esModule?: boolean | undefined;
3399
- exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
3400
- localIdentName?: string | undefined;
3401
- } | undefined;
3402
- asset?: {
3403
- filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
3404
- publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
3405
- emit?: boolean | undefined;
3406
- dataUrl?: {
3407
- mimetype?: string | undefined;
3408
- encoding?: false | "base64" | undefined;
3409
- } | ((args_0: {
3410
- filename: string;
3411
- content: string;
3412
- }, ...args: unknown[]) => string) | undefined;
3413
- } | undefined;
3414
- "asset/inline"?: {
3415
- dataUrl?: {
3416
- mimetype?: string | undefined;
3417
- encoding?: false | "base64" | undefined;
3418
- } | ((args_0: {
3419
- filename: string;
3420
- content: string;
3421
- }, ...args: unknown[]) => string) | undefined;
3422
- } | undefined;
3423
- "asset/resource"?: {
3424
- filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
3425
- publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
3426
- emit?: boolean | undefined;
3427
- } | undefined;
3428
- } | undefined;
3429
- rules?: (false | "" | 0 | "..." | t.RuleSetRule | null | undefined)[] | undefined;
3430
- defaultRules?: (false | "" | 0 | "..." | t.RuleSetRule | null | undefined)[] | undefined;
3431
3016
  noParse?: string | RegExp | ((args_0: string, ...args: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args: unknown[]) => boolean))[] | undefined;
3432
3017
  } | undefined;
3433
3018
  name?: string | undefined;
3434
3019
  performance?: false | {
3020
+ maxAssetSize?: number | undefined;
3435
3021
  assetFilter?: ((args_0: string, ...args: unknown[]) => boolean) | undefined;
3436
3022
  hints?: false | "error" | "warning" | undefined;
3437
- maxAssetSize?: number | undefined;
3438
3023
  maxEntrypointSize?: number | undefined;
3439
3024
  } | undefined;
3440
3025
  entry?: string | string[] | Record<string, string | string[] | {
@@ -3443,84 +3028,84 @@ export declare const rspackOptions: z.ZodObject<{
3443
3028
  publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
3444
3029
  layer?: string | null | undefined;
3445
3030
  runtime?: string | false | undefined;
3446
- baseUri?: string | undefined;
3447
- chunkLoading?: string | false | undefined;
3448
- asyncChunks?: boolean | undefined;
3449
- wasmLoading?: string | false | undefined;
3450
3031
  library?: {
3451
3032
  type: string;
3452
3033
  name?: string | string[] | {
3034
+ root?: string | string[] | undefined;
3453
3035
  commonjs?: string | undefined;
3454
3036
  amd?: string | undefined;
3455
- root?: string | string[] | undefined;
3456
3037
  } | undefined;
3457
3038
  amdContainer?: string | undefined;
3458
3039
  auxiliaryComment?: string | {
3040
+ root?: string | undefined;
3459
3041
  commonjs?: string | undefined;
3460
3042
  amd?: string | undefined;
3461
3043
  commonjs2?: string | undefined;
3462
- root?: string | undefined;
3463
3044
  } | undefined;
3464
3045
  export?: string | string[] | undefined;
3465
3046
  umdNamedDefine?: boolean | undefined;
3466
3047
  } | undefined;
3467
3048
  dependOn?: string | string[] | undefined;
3049
+ chunkLoading?: string | false | undefined;
3050
+ asyncChunks?: boolean | undefined;
3051
+ baseUri?: string | undefined;
3052
+ wasmLoading?: string | false | undefined;
3468
3053
  }> | ((...args: unknown[]) => string | string[] | Record<string, string | string[] | {
3469
3054
  import: string | string[];
3470
3055
  filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
3471
3056
  publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
3472
3057
  layer?: string | null | undefined;
3473
3058
  runtime?: string | false | undefined;
3474
- baseUri?: string | undefined;
3475
- chunkLoading?: string | false | undefined;
3476
- asyncChunks?: boolean | undefined;
3477
- wasmLoading?: string | false | undefined;
3478
3059
  library?: {
3479
3060
  type: string;
3480
3061
  name?: string | string[] | {
3062
+ root?: string | string[] | undefined;
3481
3063
  commonjs?: string | undefined;
3482
3064
  amd?: string | undefined;
3483
- root?: string | string[] | undefined;
3484
3065
  } | undefined;
3485
3066
  amdContainer?: string | undefined;
3486
3067
  auxiliaryComment?: string | {
3068
+ root?: string | undefined;
3487
3069
  commonjs?: string | undefined;
3488
3070
  amd?: string | undefined;
3489
3071
  commonjs2?: string | undefined;
3490
- root?: string | undefined;
3491
3072
  } | undefined;
3492
3073
  export?: string | string[] | undefined;
3493
3074
  umdNamedDefine?: boolean | undefined;
3494
3075
  } | undefined;
3495
3076
  dependOn?: string | string[] | undefined;
3077
+ chunkLoading?: string | false | undefined;
3078
+ asyncChunks?: boolean | undefined;
3079
+ baseUri?: string | undefined;
3080
+ wasmLoading?: string | false | undefined;
3496
3081
  }> | Promise<string | string[] | Record<string, string | string[] | {
3497
3082
  import: string | string[];
3498
3083
  filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
3499
3084
  publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
3500
3085
  layer?: string | null | undefined;
3501
3086
  runtime?: string | false | undefined;
3502
- baseUri?: string | undefined;
3503
- chunkLoading?: string | false | undefined;
3504
- asyncChunks?: boolean | undefined;
3505
- wasmLoading?: string | false | undefined;
3506
3087
  library?: {
3507
3088
  type: string;
3508
3089
  name?: string | string[] | {
3090
+ root?: string | string[] | undefined;
3509
3091
  commonjs?: string | undefined;
3510
3092
  amd?: string | undefined;
3511
- root?: string | string[] | undefined;
3512
3093
  } | undefined;
3513
3094
  amdContainer?: string | undefined;
3514
3095
  auxiliaryComment?: string | {
3096
+ root?: string | undefined;
3515
3097
  commonjs?: string | undefined;
3516
3098
  amd?: string | undefined;
3517
3099
  commonjs2?: string | undefined;
3518
- root?: string | undefined;
3519
3100
  } | undefined;
3520
3101
  export?: string | string[] | undefined;
3521
3102
  umdNamedDefine?: boolean | undefined;
3522
3103
  } | undefined;
3523
3104
  dependOn?: string | string[] | undefined;
3105
+ chunkLoading?: string | false | undefined;
3106
+ asyncChunks?: boolean | undefined;
3107
+ baseUri?: string | undefined;
3108
+ wasmLoading?: string | false | undefined;
3524
3109
  }>>) | undefined;
3525
3110
  node?: false | {
3526
3111
  global?: boolean | "warn" | undefined;
@@ -3529,82 +3114,125 @@ export declare const rspackOptions: z.ZodObject<{
3529
3114
  } | undefined;
3530
3115
  profile?: boolean | undefined;
3531
3116
  cache?: boolean | undefined;
3532
- loader?: Record<string, any> | undefined;
3533
- resolve?: t.ResolveOptions | undefined;
3534
- output?: {
3535
- module?: boolean | undefined;
3117
+ devtool?: false | "eval" | "cheap-source-map" | "cheap-module-source-map" | "source-map" | "inline-cheap-source-map" | "inline-cheap-module-source-map" | "inline-source-map" | "inline-nosources-cheap-source-map" | "inline-nosources-cheap-module-source-map" | "inline-nosources-source-map" | "nosources-cheap-source-map" | "nosources-cheap-module-source-map" | "nosources-source-map" | "hidden-nosources-cheap-source-map" | "hidden-nosources-cheap-module-source-map" | "hidden-nosources-source-map" | "hidden-cheap-source-map" | "hidden-cheap-module-source-map" | "hidden-source-map" | "eval-cheap-source-map" | "eval-cheap-module-source-map" | "eval-source-map" | "eval-nosources-cheap-source-map" | "eval-nosources-cheap-module-source-map" | "eval-nosources-source-map" | undefined;
3118
+ mode?: "none" | "development" | "production" | undefined;
3119
+ experiments?: {
3120
+ css?: boolean | undefined;
3121
+ topLevelAwait?: boolean | undefined;
3122
+ layers?: boolean | undefined;
3123
+ incremental?: boolean | {
3124
+ make?: boolean | undefined;
3125
+ providedExports?: boolean | undefined;
3126
+ emitAssets?: boolean | undefined;
3127
+ inferAsyncModules?: boolean | undefined;
3128
+ dependenciesDiagnostics?: boolean | undefined;
3129
+ modulesHashes?: boolean | undefined;
3130
+ modulesCodegen?: boolean | undefined;
3131
+ modulesRuntimeRequirements?: boolean | undefined;
3132
+ buildChunkGraph?: boolean | undefined;
3133
+ } | undefined;
3134
+ rspackFuture?: {
3135
+ bundlerInfo?: {
3136
+ force?: boolean | ("version" | "uniqueId")[] | undefined;
3137
+ version?: string | undefined;
3138
+ bundler?: string | undefined;
3139
+ } | undefined;
3140
+ } | undefined;
3141
+ asyncWebAssembly?: boolean | undefined;
3142
+ outputModule?: boolean | undefined;
3143
+ futureDefaults?: boolean | undefined;
3144
+ lazyCompilation?: boolean | {
3145
+ entries?: boolean | undefined;
3146
+ imports?: boolean | undefined;
3147
+ test?: RegExp | ((args_0: Module, ...args: unknown[]) => boolean) | undefined;
3148
+ backend?: {
3149
+ client?: string | undefined;
3150
+ listen?: number | {
3151
+ path?: string | undefined;
3152
+ port?: number | undefined;
3153
+ host?: string | undefined;
3154
+ backlog?: number | undefined;
3155
+ exclusive?: boolean | undefined;
3156
+ readableAll?: boolean | undefined;
3157
+ writableAll?: boolean | undefined;
3158
+ ipv6Only?: boolean | undefined;
3159
+ } | undefined;
3160
+ protocol?: "http" | "https" | undefined;
3161
+ } | undefined;
3162
+ } | undefined;
3163
+ } | undefined;
3164
+ target?: false | "es3" | "es5" | "es2015" | "es2016" | "es2017" | "es2018" | "es2019" | "es2020" | "es2021" | "es2022" | "node" | "async-node" | `node${number}` | `async-node${number}` | `node${number}.${number}` | `async-node${number}.${number}` | `electron${number}-main` | `electron${number}.${number}-main` | `electron${number}-renderer` | `electron${number}.${number}-renderer` | `electron${number}-preload` | `electron${number}.${number}-preload` | `nwjs${number}` | `nwjs${number}.${number}` | `node-webkit${number}` | `node-webkit${number}.${number}` | `browserslist:${string}` | "web" | "webworker" | "electron-main" | "electron-renderer" | "electron-preload" | "nwjs" | "node-webkit" | "browserslist" | ("es3" | "es5" | "es2015" | "es2016" | "es2017" | "es2018" | "es2019" | "es2020" | "es2021" | "es2022" | "node" | "async-node" | `node${number}` | `async-node${number}` | `node${number}.${number}` | `async-node${number}.${number}` | `electron${number}-main` | `electron${number}.${number}-main` | `electron${number}-renderer` | `electron${number}.${number}-renderer` | `electron${number}-preload` | `electron${number}.${number}-preload` | `nwjs${number}` | `nwjs${number}.${number}` | `node-webkit${number}` | `node-webkit${number}.${number}` | `browserslist:${string}` | "web" | "webworker" | "electron-main" | "electron-renderer" | "electron-preload" | "nwjs" | "node-webkit" | "browserslist")[] | undefined;
3165
+ resolve?: t.ResolveOptions | undefined;
3166
+ output?: {
3167
+ module?: boolean | undefined;
3536
3168
  filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
3537
3169
  publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
3538
3170
  environment?: {
3539
3171
  module?: boolean | undefined;
3540
- arrowFunction?: boolean | undefined;
3541
- asyncFunction?: boolean | undefined;
3542
- bigIntLiteral?: boolean | undefined;
3543
3172
  const?: boolean | undefined;
3544
- destructuring?: boolean | undefined;
3545
3173
  document?: boolean | undefined;
3174
+ nodePrefixForCoreModules?: boolean | undefined;
3175
+ globalThis?: boolean | undefined;
3176
+ bigIntLiteral?: boolean | undefined;
3177
+ arrowFunction?: boolean | undefined;
3178
+ forOf?: boolean | undefined;
3179
+ destructuring?: boolean | undefined;
3546
3180
  dynamicImport?: boolean | undefined;
3547
3181
  dynamicImportInWorker?: boolean | undefined;
3548
- forOf?: boolean | undefined;
3549
- globalThis?: boolean | undefined;
3550
- nodePrefixForCoreModules?: boolean | undefined;
3551
3182
  optionalChaining?: boolean | undefined;
3552
3183
  templateLiteral?: boolean | undefined;
3184
+ asyncFunction?: boolean | undefined;
3553
3185
  } | undefined;
3554
3186
  chunkFilename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
3555
3187
  path?: string | undefined;
3556
- auxiliaryComment?: string | {
3557
- commonjs?: string | undefined;
3558
- amd?: string | undefined;
3559
- commonjs2?: string | undefined;
3560
- root?: string | undefined;
3561
- } | undefined;
3562
- umdNamedDefine?: boolean | undefined;
3563
- chunkLoading?: string | false | undefined;
3564
- asyncChunks?: boolean | undefined;
3565
- wasmLoading?: string | false | undefined;
3566
3188
  library?: string | string[] | {
3189
+ root?: string | string[] | undefined;
3567
3190
  commonjs?: string | undefined;
3568
3191
  amd?: string | undefined;
3569
- root?: string | string[] | undefined;
3570
3192
  } | {
3571
3193
  type: string;
3572
3194
  name?: string | string[] | {
3195
+ root?: string | string[] | undefined;
3573
3196
  commonjs?: string | undefined;
3574
3197
  amd?: string | undefined;
3575
- root?: string | string[] | undefined;
3576
3198
  } | undefined;
3577
3199
  amdContainer?: string | undefined;
3578
3200
  auxiliaryComment?: string | {
3201
+ root?: string | undefined;
3579
3202
  commonjs?: string | undefined;
3580
3203
  amd?: string | undefined;
3581
3204
  commonjs2?: string | undefined;
3582
- root?: string | undefined;
3583
3205
  } | undefined;
3584
3206
  export?: string | string[] | undefined;
3585
3207
  umdNamedDefine?: boolean | undefined;
3586
3208
  } | undefined;
3209
+ auxiliaryComment?: string | {
3210
+ root?: string | undefined;
3211
+ commonjs?: string | undefined;
3212
+ amd?: string | undefined;
3213
+ commonjs2?: string | undefined;
3214
+ } | undefined;
3215
+ umdNamedDefine?: boolean | undefined;
3216
+ crossOriginLoading?: false | "anonymous" | "use-credentials" | undefined;
3217
+ chunkLoading?: string | false | undefined;
3218
+ asyncChunks?: boolean | undefined;
3219
+ uniqueName?: string | undefined;
3587
3220
  pathinfo?: boolean | "verbose" | undefined;
3588
3221
  clean?: boolean | undefined;
3589
- crossOriginLoading?: false | "anonymous" | "use-credentials" | undefined;
3590
3222
  cssFilename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
3591
- cssHeadDataCompression?: boolean | undefined;
3592
3223
  cssChunkFilename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
3593
3224
  hotUpdateMainFilename?: string | undefined;
3594
3225
  hotUpdateChunkFilename?: string | undefined;
3595
3226
  hotUpdateGlobal?: string | undefined;
3596
3227
  assetModuleFilename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
3597
- uniqueName?: string | undefined;
3598
3228
  chunkLoadingGlobal?: string | undefined;
3599
3229
  enabledLibraryTypes?: string[] | undefined;
3600
- libraryExport?: string | string[] | undefined;
3601
- libraryTarget?: string | undefined;
3602
- strictModuleExceptionHandling?: boolean | undefined;
3603
3230
  strictModuleErrorHandling?: boolean | undefined;
3604
3231
  globalObject?: string | undefined;
3605
3232
  importFunctionName?: string | undefined;
3606
3233
  importMetaName?: string | undefined;
3607
3234
  iife?: boolean | undefined;
3235
+ wasmLoading?: string | false | undefined;
3608
3236
  enabledWasmLoadingTypes?: string[] | undefined;
3609
3237
  webassemblyModuleFilename?: string | undefined;
3610
3238
  chunkFormat?: string | false | undefined;
@@ -3624,121 +3252,90 @@ export declare const rspackOptions: z.ZodObject<{
3624
3252
  devtoolNamespace?: string | undefined;
3625
3253
  devtoolModuleFilenameTemplate?: string | ((args_0: any) => any) | undefined;
3626
3254
  devtoolFallbackModuleFilenameTemplate?: string | ((args_0: any) => any) | undefined;
3627
- chunkLoadTimeout?: number | undefined;
3628
3255
  charset?: boolean | undefined;
3256
+ chunkLoadTimeout?: number | undefined;
3257
+ cssHeadDataCompression?: boolean | undefined;
3258
+ compareBeforeEmit?: boolean | undefined;
3259
+ libraryExport?: string | string[] | undefined;
3260
+ libraryTarget?: string | undefined;
3261
+ strictModuleExceptionHandling?: boolean | undefined;
3629
3262
  } | undefined;
3630
- target?: false | "es3" | "es5" | "es2015" | "es2016" | "es2017" | "es2018" | "es2019" | "es2020" | "es2021" | "es2022" | "node" | "async-node" | `node${number}` | `async-node${number}` | `node${number}.${number}` | `async-node${number}.${number}` | `electron${number}-main` | `electron${number}.${number}-main` | `electron${number}-renderer` | `electron${number}.${number}-renderer` | `electron${number}-preload` | `electron${number}.${number}-preload` | `nwjs${number}` | `nwjs${number}.${number}` | `node-webkit${number}` | `node-webkit${number}.${number}` | `browserslist:${string}` | "web" | "webworker" | "electron-main" | "electron-renderer" | "electron-preload" | "nwjs" | "node-webkit" | "browserslist" | ("es3" | "es5" | "es2015" | "es2016" | "es2017" | "es2018" | "es2019" | "es2020" | "es2021" | "es2022" | "node" | "async-node" | `node${number}` | `async-node${number}` | `node${number}.${number}` | `async-node${number}.${number}` | `electron${number}-main` | `electron${number}.${number}-main` | `electron${number}-renderer` | `electron${number}.${number}-renderer` | `electron${number}-preload` | `electron${number}.${number}-preload` | `nwjs${number}` | `nwjs${number}.${number}` | `node-webkit${number}` | `node-webkit${number}.${number}` | `browserslist:${string}` | "web" | "webworker" | "electron-main" | "electron-renderer" | "electron-preload" | "nwjs" | "node-webkit" | "browserslist")[] | undefined;
3631
- mode?: "none" | "development" | "production" | undefined;
3632
- experiments?: {
3633
- css?: boolean | undefined;
3634
- lazyCompilation?: boolean | {
3635
- entries?: boolean | undefined;
3636
- test?: RegExp | ((args_0: Module, ...args: unknown[]) => boolean) | undefined;
3637
- backend?: {
3638
- client?: string | undefined;
3639
- listen?: number | {
3640
- path?: string | undefined;
3641
- port?: number | undefined;
3642
- host?: string | undefined;
3643
- backlog?: number | undefined;
3644
- exclusive?: boolean | undefined;
3645
- readableAll?: boolean | undefined;
3646
- writableAll?: boolean | undefined;
3647
- ipv6Only?: boolean | undefined;
3648
- } | undefined;
3649
- protocol?: "http" | "https" | undefined;
3650
- } | undefined;
3651
- imports?: boolean | undefined;
3652
- } | undefined;
3653
- asyncWebAssembly?: boolean | undefined;
3654
- outputModule?: boolean | undefined;
3655
- topLevelAwait?: boolean | undefined;
3656
- layers?: boolean | undefined;
3657
- incremental?: boolean | {
3658
- make?: boolean | undefined;
3659
- providedExports?: boolean | undefined;
3660
- emitAssets?: boolean | undefined;
3661
- inferAsyncModules?: boolean | undefined;
3662
- dependenciesDiagnostics?: boolean | undefined;
3663
- modulesHashes?: boolean | undefined;
3664
- modulesCodegen?: boolean | undefined;
3665
- modulesRuntimeRequirements?: boolean | undefined;
3666
- } | undefined;
3667
- futureDefaults?: boolean | undefined;
3668
- rspackFuture?: {
3669
- bundlerInfo?: {
3670
- force?: boolean | ("version" | "uniqueId")[] | undefined;
3671
- version?: string | undefined;
3672
- bundler?: string | undefined;
3263
+ optimization?: {
3264
+ splitChunks?: false | {
3265
+ name?: string | false | ((args_0: Module | undefined, ...args: unknown[]) => unknown) | undefined;
3266
+ chunks?: RegExp | "all" | "async" | "initial" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
3267
+ usedExports?: boolean | undefined;
3268
+ defaultSizeTypes?: string[] | undefined;
3269
+ cacheGroups?: Record<string, false | {
3270
+ type?: string | RegExp | undefined;
3271
+ filename?: string | undefined;
3272
+ name?: string | false | ((args_0: Module | undefined, ...args: unknown[]) => unknown) | undefined;
3273
+ priority?: number | undefined;
3274
+ chunks?: RegExp | "all" | "async" | "initial" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
3275
+ usedExports?: boolean | undefined;
3276
+ defaultSizeTypes?: string[] | undefined;
3277
+ maxSize?: number | Record<string, number> | undefined;
3278
+ minChunks?: number | undefined;
3279
+ minSize?: number | Record<string, number> | undefined;
3280
+ maxAsyncSize?: number | Record<string, number> | undefined;
3281
+ maxInitialSize?: number | Record<string, number> | undefined;
3282
+ maxAsyncRequests?: number | undefined;
3283
+ maxInitialRequests?: number | undefined;
3284
+ automaticNameDelimiter?: string | undefined;
3285
+ test?: string | RegExp | ((args_0: Module, ...args: unknown[]) => unknown) | undefined;
3286
+ idHint?: string | undefined;
3287
+ reuseExistingChunk?: boolean | undefined;
3288
+ enforce?: boolean | undefined;
3289
+ }> | undefined;
3290
+ maxSize?: number | Record<string, number> | undefined;
3291
+ fallbackCacheGroup?: {
3292
+ chunks?: RegExp | "all" | "async" | "initial" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
3293
+ maxSize?: number | undefined;
3294
+ minSize?: number | undefined;
3295
+ maxAsyncSize?: number | undefined;
3296
+ maxInitialSize?: number | undefined;
3297
+ automaticNameDelimiter?: string | undefined;
3673
3298
  } | undefined;
3299
+ hidePathInfo?: boolean | undefined;
3300
+ minChunks?: number | undefined;
3301
+ minSize?: number | Record<string, number> | undefined;
3302
+ maxAsyncSize?: number | Record<string, number> | undefined;
3303
+ maxInitialSize?: number | Record<string, number> | undefined;
3304
+ maxAsyncRequests?: number | undefined;
3305
+ maxInitialRequests?: number | undefined;
3306
+ automaticNameDelimiter?: string | undefined;
3674
3307
  } | undefined;
3675
- } | undefined;
3676
- externals?: string | RegExp | Record<string, string | boolean | string[] | Record<string, string | string[]>> | ((args_0: {
3677
- request?: string | undefined;
3678
- context?: string | undefined;
3679
- dependencyType?: string | undefined;
3680
- contextInfo?: {
3681
- issuer: string;
3682
- } | undefined;
3683
- }, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | Record<string, string | string[]> | undefined, args_2: "module" | "global" | "system" | "commonjs" | "umd" | "amd" | "jsonp" | "import" | "var" | "assign" | "this" | "window" | "self" | "commonjs2" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd2" | "promise" | "module-import" | "script" | "node-commonjs" | undefined, ...args: unknown[]) => void, ...args: unknown[]) => unknown) | ((args_0: {
3684
- request?: string | undefined;
3685
- context?: string | undefined;
3686
- dependencyType?: string | undefined;
3687
- contextInfo?: {
3688
- issuer: string;
3689
- } | undefined;
3690
- }, ...args: unknown[]) => Promise<string | boolean | string[] | Record<string, string | string[]>>) | (string | RegExp | Record<string, string | boolean | string[] | Record<string, string | string[]>> | ((args_0: {
3691
- request?: string | undefined;
3692
- context?: string | undefined;
3693
- dependencyType?: string | undefined;
3694
- contextInfo?: {
3695
- issuer: string;
3696
- } | undefined;
3697
- }, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | Record<string, string | string[]> | undefined, args_2: "module" | "global" | "system" | "commonjs" | "umd" | "amd" | "jsonp" | "import" | "var" | "assign" | "this" | "window" | "self" | "commonjs2" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd2" | "promise" | "module-import" | "script" | "node-commonjs" | undefined, ...args: unknown[]) => void, ...args: unknown[]) => unknown) | ((args_0: {
3698
- request?: string | undefined;
3699
- context?: string | undefined;
3700
- dependencyType?: string | undefined;
3701
- contextInfo?: {
3702
- issuer: string;
3308
+ usedExports?: boolean | "global" | undefined;
3309
+ providedExports?: boolean | undefined;
3310
+ removeAvailableModules?: boolean | undefined;
3311
+ moduleIds?: "named" | "natural" | "deterministic" | undefined;
3312
+ chunkIds?: "named" | "natural" | "deterministic" | undefined;
3313
+ minimize?: boolean | undefined;
3314
+ minimizer?: (false | "" | 0 | t.RspackPluginInstance | "..." | t.WebpackPluginInstance | t.RspackPluginFunction | t.WebpackPluginFunction | null | undefined)[] | undefined;
3315
+ mergeDuplicateChunks?: boolean | undefined;
3316
+ runtimeChunk?: boolean | "single" | "multiple" | {
3317
+ name?: string | ((args_0: {
3318
+ name: string;
3319
+ }, ...args: unknown[]) => string) | undefined;
3703
3320
  } | undefined;
3704
- }, ...args: unknown[]) => Promise<string | boolean | string[] | Record<string, string | string[]>>))[] | undefined;
3705
- externalsType?: "module" | "global" | "system" | "commonjs" | "umd" | "amd" | "jsonp" | "import" | "var" | "assign" | "this" | "window" | "self" | "commonjs2" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd2" | "promise" | "module-import" | "script" | "node-commonjs" | undefined;
3706
- externalsPresets?: {
3707
- node?: boolean | undefined;
3708
- web?: boolean | undefined;
3709
- nwjs?: boolean | undefined;
3710
- webAsync?: boolean | undefined;
3711
- electron?: boolean | undefined;
3712
- electronMain?: boolean | undefined;
3713
- electronPreload?: boolean | undefined;
3714
- electronRenderer?: boolean | undefined;
3715
- } | undefined;
3716
- infrastructureLogging?: {
3717
- debug?: string | boolean | RegExp | ((args_0: string, ...args: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args: unknown[]) => boolean))[] | undefined;
3718
- colors?: boolean | undefined;
3719
- appendOnly?: boolean | undefined;
3720
- console?: Console | undefined;
3721
- level?: "log" | "info" | "verbose" | "none" | "error" | "warn" | undefined;
3722
- stream?: NodeJS.WritableStream | undefined;
3723
- } | undefined;
3724
- devtool?: false | "eval" | "cheap-source-map" | "cheap-module-source-map" | "source-map" | "inline-cheap-source-map" | "inline-cheap-module-source-map" | "inline-source-map" | "inline-nosources-cheap-source-map" | "inline-nosources-cheap-module-source-map" | "inline-nosources-source-map" | "nosources-cheap-source-map" | "nosources-cheap-module-source-map" | "nosources-source-map" | "hidden-nosources-cheap-source-map" | "hidden-nosources-cheap-module-source-map" | "hidden-nosources-source-map" | "hidden-cheap-source-map" | "hidden-cheap-module-source-map" | "hidden-source-map" | "eval-cheap-source-map" | "eval-cheap-module-source-map" | "eval-source-map" | "eval-nosources-cheap-source-map" | "eval-nosources-cheap-module-source-map" | "eval-nosources-source-map" | undefined;
3725
- ignoreWarnings?: (RegExp | ((args_0: Error, args_1: Compilation, ...args: unknown[]) => boolean))[] | undefined;
3726
- watchOptions?: {
3727
- aggregateTimeout?: number | undefined;
3728
- followSymlinks?: boolean | undefined;
3729
- ignored?: string | RegExp | string[] | undefined;
3730
- poll?: number | boolean | undefined;
3731
- stdin?: boolean | undefined;
3321
+ removeEmptyChunks?: boolean | undefined;
3322
+ realContentHash?: boolean | undefined;
3323
+ sideEffects?: boolean | "flag" | undefined;
3324
+ concatenateModules?: boolean | undefined;
3325
+ innerGraph?: boolean | undefined;
3326
+ mangleExports?: boolean | "size" | "deterministic" | undefined;
3327
+ nodeEnv?: string | false | undefined;
3328
+ emitOnErrors?: boolean | undefined;
3732
3329
  } | undefined;
3733
- watch?: boolean | undefined;
3330
+ snapshot?: {} | undefined;
3734
3331
  stats?: boolean | "verbose" | "normal" | "none" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | {
3332
+ modules?: boolean | undefined;
3735
3333
  source?: boolean | undefined;
3736
3334
  publicPath?: boolean | undefined;
3737
3335
  all?: boolean | undefined;
3738
3336
  preset?: boolean | "verbose" | "normal" | "none" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | undefined;
3739
3337
  assets?: boolean | undefined;
3740
3338
  chunks?: boolean | undefined;
3741
- modules?: boolean | undefined;
3742
3339
  entrypoints?: boolean | "auto" | undefined;
3743
3340
  chunkGroups?: boolean | undefined;
3744
3341
  warnings?: boolean | undefined;
@@ -3809,82 +3406,118 @@ export declare const rspackOptions: z.ZodObject<{
3809
3406
  errorsSpace?: number | undefined;
3810
3407
  warningsSpace?: number | undefined;
3811
3408
  } | undefined;
3812
- snapshot?: {} | undefined;
3813
- optimization?: {
3814
- splitChunks?: false | {
3815
- name?: string | false | ((args_0: Module | undefined, ...args: unknown[]) => unknown) | undefined;
3816
- chunks?: RegExp | "all" | "initial" | "async" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
3817
- usedExports?: boolean | undefined;
3818
- maxSize?: number | Record<string, number> | undefined;
3819
- defaultSizeTypes?: string[] | undefined;
3820
- minChunks?: number | undefined;
3821
- minSize?: number | Record<string, number> | undefined;
3822
- maxAsyncSize?: number | Record<string, number> | undefined;
3823
- maxInitialSize?: number | Record<string, number> | undefined;
3824
- maxAsyncRequests?: number | undefined;
3825
- maxInitialRequests?: number | undefined;
3826
- automaticNameDelimiter?: string | undefined;
3827
- cacheGroups?: Record<string, false | {
3828
- type?: string | RegExp | undefined;
3829
- filename?: string | undefined;
3830
- name?: string | false | ((args_0: Module | undefined, ...args: unknown[]) => unknown) | undefined;
3831
- priority?: number | undefined;
3832
- chunks?: RegExp | "all" | "initial" | "async" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
3833
- usedExports?: boolean | undefined;
3834
- test?: string | RegExp | ((args_0: Module, ...args: unknown[]) => unknown) | undefined;
3835
- enforce?: boolean | undefined;
3836
- maxSize?: number | Record<string, number> | undefined;
3837
- reuseExistingChunk?: boolean | undefined;
3838
- idHint?: string | undefined;
3839
- defaultSizeTypes?: string[] | undefined;
3840
- minChunks?: number | undefined;
3841
- minSize?: number | Record<string, number> | undefined;
3842
- maxAsyncSize?: number | Record<string, number> | undefined;
3843
- maxInitialSize?: number | Record<string, number> | undefined;
3844
- maxAsyncRequests?: number | undefined;
3845
- maxInitialRequests?: number | undefined;
3846
- automaticNameDelimiter?: string | undefined;
3847
- }> | undefined;
3848
- fallbackCacheGroup?: {
3849
- chunks?: RegExp | "all" | "initial" | "async" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
3850
- maxSize?: number | undefined;
3851
- minSize?: number | undefined;
3852
- maxAsyncSize?: number | undefined;
3853
- maxInitialSize?: number | undefined;
3854
- automaticNameDelimiter?: string | undefined;
3855
- } | undefined;
3856
- hidePathInfo?: boolean | undefined;
3409
+ loader?: Record<string, any> | undefined;
3410
+ resolveLoader?: t.ResolveOptions | undefined;
3411
+ externals?: string | RegExp | Record<string, string | boolean | string[] | Record<string, string | string[]>> | ((args_0: {
3412
+ request?: string | undefined;
3413
+ context?: string | undefined;
3414
+ dependencyType?: string | undefined;
3415
+ contextInfo?: {
3416
+ issuer: string;
3857
3417
  } | undefined;
3858
- usedExports?: boolean | "global" | undefined;
3859
- providedExports?: boolean | undefined;
3860
- sideEffects?: boolean | "flag" | undefined;
3861
- moduleIds?: "named" | "natural" | "deterministic" | undefined;
3862
- chunkIds?: "named" | "natural" | "deterministic" | undefined;
3863
- minimize?: boolean | undefined;
3864
- minimizer?: (false | "" | 0 | t.RspackPluginInstance | "..." | t.WebpackPluginInstance | t.RspackPluginFunction | t.WebpackPluginFunction | null | undefined)[] | undefined;
3865
- mergeDuplicateChunks?: boolean | undefined;
3866
- runtimeChunk?: boolean | "single" | "multiple" | {
3867
- name?: string | ((args_0: {
3868
- name: string;
3869
- }, ...args: unknown[]) => string) | 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
+ request?: string | undefined;
3420
+ context?: string | undefined;
3421
+ dependencyType?: string | undefined;
3422
+ contextInfo?: {
3423
+ issuer: string;
3870
3424
  } | undefined;
3871
- removeAvailableModules?: boolean | undefined;
3872
- removeEmptyChunks?: boolean | undefined;
3873
- realContentHash?: boolean | undefined;
3874
- concatenateModules?: boolean | undefined;
3875
- innerGraph?: boolean | undefined;
3876
- mangleExports?: boolean | "size" | "deterministic" | undefined;
3877
- nodeEnv?: string | false | undefined;
3878
- emitOnErrors?: boolean | 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
+ request?: string | undefined;
3427
+ context?: string | undefined;
3428
+ dependencyType?: string | undefined;
3429
+ contextInfo?: {
3430
+ issuer: string;
3431
+ } | 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
+ request?: string | undefined;
3434
+ context?: string | undefined;
3435
+ dependencyType?: string | undefined;
3436
+ contextInfo?: {
3437
+ issuer: string;
3438
+ } | undefined;
3439
+ }, ...args: unknown[]) => Promise<string | boolean | string[] | Record<string, string | string[]>>))[] | undefined;
3440
+ 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
+ externalsPresets?: {
3442
+ node?: boolean | undefined;
3443
+ web?: boolean | undefined;
3444
+ nwjs?: boolean | undefined;
3445
+ electron?: boolean | undefined;
3446
+ electronMain?: boolean | undefined;
3447
+ electronPreload?: boolean | undefined;
3448
+ electronRenderer?: boolean | undefined;
3449
+ webAsync?: boolean | undefined;
3450
+ } | undefined;
3451
+ infrastructureLogging?: {
3452
+ debug?: string | boolean | RegExp | ((args_0: string, ...args: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args: unknown[]) => boolean))[] | undefined;
3453
+ colors?: boolean | undefined;
3454
+ stream?: NodeJS.WritableStream | undefined;
3455
+ appendOnly?: boolean | undefined;
3456
+ console?: Console | undefined;
3457
+ level?: "log" | "info" | "verbose" | "none" | "error" | "warn" | undefined;
3879
3458
  } | undefined;
3880
- resolveLoader?: t.ResolveOptions | undefined;
3881
3459
  plugins?: (false | "" | 0 | t.RspackPluginInstance | t.WebpackPluginInstance | t.RspackPluginFunction | t.WebpackPluginFunction | null | undefined)[] | undefined;
3882
- devServer?: DevServer | undefined;
3460
+ watch?: boolean | undefined;
3461
+ watchOptions?: {
3462
+ aggregateTimeout?: number | undefined;
3463
+ followSymlinks?: boolean | undefined;
3464
+ ignored?: string | RegExp | string[] | undefined;
3465
+ poll?: number | boolean | undefined;
3466
+ stdin?: boolean | undefined;
3467
+ } | undefined;
3468
+ devServer?: t.DevServer | undefined;
3469
+ ignoreWarnings?: (RegExp | ((args_0: Error, args_1: Compilation, ...args: unknown[]) => boolean))[] | undefined;
3883
3470
  bail?: boolean | undefined;
3884
3471
  }, {
3885
3472
  context?: string | undefined;
3886
3473
  dependencies?: string[] | undefined;
3887
3474
  module?: {
3475
+ generator?: Record<string, Record<string, any>> | {
3476
+ css?: {
3477
+ exportsOnly?: boolean | undefined;
3478
+ esModule?: boolean | undefined;
3479
+ } | undefined;
3480
+ "css/auto"?: {
3481
+ exportsOnly?: boolean | undefined;
3482
+ esModule?: boolean | undefined;
3483
+ exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
3484
+ localIdentName?: string | undefined;
3485
+ } | undefined;
3486
+ "css/module"?: {
3487
+ exportsOnly?: boolean | undefined;
3488
+ esModule?: boolean | undefined;
3489
+ exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
3490
+ localIdentName?: string | undefined;
3491
+ } | undefined;
3492
+ asset?: {
3493
+ filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
3494
+ publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
3495
+ emit?: boolean | undefined;
3496
+ dataUrl?: {
3497
+ encoding?: false | "base64" | undefined;
3498
+ mimetype?: string | undefined;
3499
+ } | ((args_0: {
3500
+ filename: string;
3501
+ content: string;
3502
+ }, ...args: unknown[]) => string) | undefined;
3503
+ } | undefined;
3504
+ "asset/inline"?: {
3505
+ dataUrl?: {
3506
+ encoding?: false | "base64" | undefined;
3507
+ mimetype?: string | undefined;
3508
+ } | ((args_0: {
3509
+ filename: string;
3510
+ content: string;
3511
+ }, ...args: unknown[]) => string) | undefined;
3512
+ } | undefined;
3513
+ "asset/resource"?: {
3514
+ filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
3515
+ publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
3516
+ emit?: boolean | undefined;
3517
+ } | undefined;
3518
+ } | undefined;
3519
+ defaultRules?: (false | "" | 0 | "..." | t.RuleSetRule | null | undefined)[] | undefined;
3520
+ rules?: (false | "" | 0 | "..." | t.RuleSetRule | null | undefined)[] | undefined;
3888
3521
  parser?: {
3889
3522
  javascript?: {
3890
3523
  url?: boolean | "relative" | undefined;
@@ -3895,6 +3528,7 @@ export declare const rspackOptions: z.ZodObject<{
3895
3528
  importMeta?: boolean | undefined;
3896
3529
  exprContextCritical?: boolean | undefined;
3897
3530
  wrappedContextCritical?: boolean | undefined;
3531
+ wrappedContextRegExp?: RegExp | undefined;
3898
3532
  exportsPresence?: false | "auto" | "error" | "warn" | undefined;
3899
3533
  importExportsPresence?: false | "auto" | "error" | "warn" | undefined;
3900
3534
  reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined;
@@ -3929,6 +3563,7 @@ export declare const rspackOptions: z.ZodObject<{
3929
3563
  importMeta?: boolean | undefined;
3930
3564
  exprContextCritical?: boolean | undefined;
3931
3565
  wrappedContextCritical?: boolean | undefined;
3566
+ wrappedContextRegExp?: RegExp | undefined;
3932
3567
  exportsPresence?: false | "auto" | "error" | "warn" | undefined;
3933
3568
  importExportsPresence?: false | "auto" | "error" | "warn" | undefined;
3934
3569
  reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined;
@@ -3949,6 +3584,7 @@ export declare const rspackOptions: z.ZodObject<{
3949
3584
  importMeta?: boolean | undefined;
3950
3585
  exprContextCritical?: boolean | undefined;
3951
3586
  wrappedContextCritical?: boolean | undefined;
3587
+ wrappedContextRegExp?: RegExp | undefined;
3952
3588
  exportsPresence?: false | "auto" | "error" | "warn" | undefined;
3953
3589
  importExportsPresence?: false | "auto" | "error" | "warn" | undefined;
3954
3590
  reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined;
@@ -3969,6 +3605,7 @@ export declare const rspackOptions: z.ZodObject<{
3969
3605
  importMeta?: boolean | undefined;
3970
3606
  exprContextCritical?: boolean | undefined;
3971
3607
  wrappedContextCritical?: boolean | undefined;
3608
+ wrappedContextRegExp?: RegExp | undefined;
3972
3609
  exportsPresence?: false | "auto" | "error" | "warn" | undefined;
3973
3610
  importExportsPresence?: false | "auto" | "error" | "warn" | undefined;
3974
3611
  reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined;
@@ -3981,59 +3618,13 @@ export declare const rspackOptions: z.ZodObject<{
3981
3618
  importDynamic?: boolean | undefined;
3982
3619
  } | undefined;
3983
3620
  } | Record<string, Record<string, any>> | undefined;
3984
- generator?: Record<string, Record<string, any>> | {
3985
- css?: {
3986
- exportsOnly?: boolean | undefined;
3987
- esModule?: boolean | undefined;
3988
- } | undefined;
3989
- "css/auto"?: {
3990
- exportsOnly?: boolean | undefined;
3991
- esModule?: boolean | undefined;
3992
- exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
3993
- localIdentName?: string | undefined;
3994
- } | undefined;
3995
- "css/module"?: {
3996
- exportsOnly?: boolean | undefined;
3997
- esModule?: boolean | undefined;
3998
- exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
3999
- localIdentName?: string | undefined;
4000
- } | undefined;
4001
- asset?: {
4002
- filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
4003
- publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
4004
- emit?: boolean | undefined;
4005
- dataUrl?: {
4006
- mimetype?: string | undefined;
4007
- encoding?: false | "base64" | undefined;
4008
- } | ((args_0: {
4009
- filename: string;
4010
- content: string;
4011
- }, ...args: unknown[]) => string) | undefined;
4012
- } | undefined;
4013
- "asset/inline"?: {
4014
- dataUrl?: {
4015
- mimetype?: string | undefined;
4016
- encoding?: false | "base64" | undefined;
4017
- } | ((args_0: {
4018
- filename: string;
4019
- content: string;
4020
- }, ...args: unknown[]) => string) | undefined;
4021
- } | undefined;
4022
- "asset/resource"?: {
4023
- filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
4024
- publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
4025
- emit?: boolean | undefined;
4026
- } | undefined;
4027
- } | undefined;
4028
- rules?: (false | "" | 0 | "..." | t.RuleSetRule | null | undefined)[] | undefined;
4029
- defaultRules?: (false | "" | 0 | "..." | t.RuleSetRule | null | undefined)[] | undefined;
4030
3621
  noParse?: string | RegExp | ((args_0: string, ...args: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args: unknown[]) => boolean))[] | undefined;
4031
3622
  } | undefined;
4032
3623
  name?: string | undefined;
4033
3624
  performance?: false | {
3625
+ maxAssetSize?: number | undefined;
4034
3626
  assetFilter?: ((args_0: string, ...args: unknown[]) => boolean) | undefined;
4035
3627
  hints?: false | "error" | "warning" | undefined;
4036
- maxAssetSize?: number | undefined;
4037
3628
  maxEntrypointSize?: number | undefined;
4038
3629
  } | undefined;
4039
3630
  entry?: string | string[] | Record<string, string | string[] | {
@@ -4042,84 +3633,84 @@ export declare const rspackOptions: z.ZodObject<{
4042
3633
  publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
4043
3634
  layer?: string | null | undefined;
4044
3635
  runtime?: string | false | undefined;
4045
- baseUri?: string | undefined;
4046
- chunkLoading?: string | false | undefined;
4047
- asyncChunks?: boolean | undefined;
4048
- wasmLoading?: string | false | undefined;
4049
3636
  library?: {
4050
3637
  type: string;
4051
3638
  name?: string | string[] | {
3639
+ root?: string | string[] | undefined;
4052
3640
  commonjs?: string | undefined;
4053
3641
  amd?: string | undefined;
4054
- root?: string | string[] | undefined;
4055
3642
  } | undefined;
4056
3643
  amdContainer?: string | undefined;
4057
3644
  auxiliaryComment?: string | {
3645
+ root?: string | undefined;
4058
3646
  commonjs?: string | undefined;
4059
3647
  amd?: string | undefined;
4060
3648
  commonjs2?: string | undefined;
4061
- root?: string | undefined;
4062
3649
  } | undefined;
4063
3650
  export?: string | string[] | undefined;
4064
3651
  umdNamedDefine?: boolean | undefined;
4065
3652
  } | undefined;
4066
3653
  dependOn?: string | string[] | undefined;
3654
+ chunkLoading?: string | false | undefined;
3655
+ asyncChunks?: boolean | undefined;
3656
+ baseUri?: string | undefined;
3657
+ wasmLoading?: string | false | undefined;
4067
3658
  }> | ((...args: unknown[]) => string | string[] | Record<string, string | string[] | {
4068
3659
  import: string | string[];
4069
3660
  filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
4070
3661
  publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
4071
3662
  layer?: string | null | undefined;
4072
3663
  runtime?: string | false | undefined;
4073
- baseUri?: string | undefined;
4074
- chunkLoading?: string | false | undefined;
4075
- asyncChunks?: boolean | undefined;
4076
- wasmLoading?: string | false | undefined;
4077
3664
  library?: {
4078
3665
  type: string;
4079
3666
  name?: string | string[] | {
3667
+ root?: string | string[] | undefined;
4080
3668
  commonjs?: string | undefined;
4081
3669
  amd?: string | undefined;
4082
- root?: string | string[] | undefined;
4083
3670
  } | undefined;
4084
3671
  amdContainer?: string | undefined;
4085
3672
  auxiliaryComment?: string | {
3673
+ root?: string | undefined;
4086
3674
  commonjs?: string | undefined;
4087
3675
  amd?: string | undefined;
4088
3676
  commonjs2?: string | undefined;
4089
- root?: string | undefined;
4090
3677
  } | undefined;
4091
3678
  export?: string | string[] | undefined;
4092
3679
  umdNamedDefine?: boolean | undefined;
4093
3680
  } | undefined;
4094
3681
  dependOn?: string | string[] | undefined;
3682
+ chunkLoading?: string | false | undefined;
3683
+ asyncChunks?: boolean | undefined;
3684
+ baseUri?: string | undefined;
3685
+ wasmLoading?: string | false | undefined;
4095
3686
  }> | Promise<string | string[] | Record<string, string | string[] | {
4096
3687
  import: string | string[];
4097
3688
  filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
4098
3689
  publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
4099
3690
  layer?: string | null | undefined;
4100
3691
  runtime?: string | false | undefined;
4101
- baseUri?: string | undefined;
4102
- chunkLoading?: string | false | undefined;
4103
- asyncChunks?: boolean | undefined;
4104
- wasmLoading?: string | false | undefined;
4105
3692
  library?: {
4106
3693
  type: string;
4107
3694
  name?: string | string[] | {
3695
+ root?: string | string[] | undefined;
4108
3696
  commonjs?: string | undefined;
4109
3697
  amd?: string | undefined;
4110
- root?: string | string[] | undefined;
4111
3698
  } | undefined;
4112
3699
  amdContainer?: string | undefined;
4113
3700
  auxiliaryComment?: string | {
3701
+ root?: string | undefined;
4114
3702
  commonjs?: string | undefined;
4115
3703
  amd?: string | undefined;
4116
3704
  commonjs2?: string | undefined;
4117
- root?: string | undefined;
4118
3705
  } | undefined;
4119
3706
  export?: string | string[] | undefined;
4120
3707
  umdNamedDefine?: boolean | undefined;
4121
3708
  } | undefined;
4122
3709
  dependOn?: string | string[] | undefined;
3710
+ chunkLoading?: string | false | undefined;
3711
+ asyncChunks?: boolean | undefined;
3712
+ baseUri?: string | undefined;
3713
+ wasmLoading?: string | false | undefined;
4123
3714
  }>>) | undefined;
4124
3715
  node?: false | {
4125
3716
  global?: boolean | "warn" | undefined;
@@ -4128,7 +3719,54 @@ export declare const rspackOptions: z.ZodObject<{
4128
3719
  } | undefined;
4129
3720
  profile?: boolean | undefined;
4130
3721
  cache?: boolean | undefined;
4131
- loader?: Record<string, any> | undefined;
3722
+ devtool?: false | "eval" | "cheap-source-map" | "cheap-module-source-map" | "source-map" | "inline-cheap-source-map" | "inline-cheap-module-source-map" | "inline-source-map" | "inline-nosources-cheap-source-map" | "inline-nosources-cheap-module-source-map" | "inline-nosources-source-map" | "nosources-cheap-source-map" | "nosources-cheap-module-source-map" | "nosources-source-map" | "hidden-nosources-cheap-source-map" | "hidden-nosources-cheap-module-source-map" | "hidden-nosources-source-map" | "hidden-cheap-source-map" | "hidden-cheap-module-source-map" | "hidden-source-map" | "eval-cheap-source-map" | "eval-cheap-module-source-map" | "eval-source-map" | "eval-nosources-cheap-source-map" | "eval-nosources-cheap-module-source-map" | "eval-nosources-source-map" | undefined;
3723
+ mode?: "none" | "development" | "production" | undefined;
3724
+ experiments?: {
3725
+ css?: boolean | undefined;
3726
+ topLevelAwait?: boolean | undefined;
3727
+ layers?: boolean | undefined;
3728
+ incremental?: boolean | {
3729
+ make?: boolean | undefined;
3730
+ providedExports?: boolean | undefined;
3731
+ emitAssets?: boolean | undefined;
3732
+ inferAsyncModules?: boolean | undefined;
3733
+ dependenciesDiagnostics?: boolean | undefined;
3734
+ modulesHashes?: boolean | undefined;
3735
+ modulesCodegen?: boolean | undefined;
3736
+ modulesRuntimeRequirements?: boolean | undefined;
3737
+ buildChunkGraph?: boolean | undefined;
3738
+ } | undefined;
3739
+ rspackFuture?: {
3740
+ bundlerInfo?: {
3741
+ force?: boolean | ("version" | "uniqueId")[] | undefined;
3742
+ version?: string | undefined;
3743
+ bundler?: string | undefined;
3744
+ } | undefined;
3745
+ } | undefined;
3746
+ asyncWebAssembly?: boolean | undefined;
3747
+ outputModule?: boolean | undefined;
3748
+ futureDefaults?: boolean | undefined;
3749
+ lazyCompilation?: boolean | {
3750
+ entries?: boolean | undefined;
3751
+ imports?: boolean | undefined;
3752
+ test?: RegExp | ((args_0: Module, ...args: unknown[]) => boolean) | undefined;
3753
+ backend?: {
3754
+ client?: string | undefined;
3755
+ listen?: number | {
3756
+ path?: string | undefined;
3757
+ port?: number | undefined;
3758
+ host?: string | undefined;
3759
+ backlog?: number | undefined;
3760
+ exclusive?: boolean | undefined;
3761
+ readableAll?: boolean | undefined;
3762
+ writableAll?: boolean | undefined;
3763
+ ipv6Only?: boolean | undefined;
3764
+ } | undefined;
3765
+ protocol?: "http" | "https" | undefined;
3766
+ } | undefined;
3767
+ } | undefined;
3768
+ } | undefined;
3769
+ target?: false | "es3" | "es5" | "es2015" | "es2016" | "es2017" | "es2018" | "es2019" | "es2020" | "es2021" | "es2022" | "node" | "async-node" | `node${number}` | `async-node${number}` | `node${number}.${number}` | `async-node${number}.${number}` | `electron${number}-main` | `electron${number}.${number}-main` | `electron${number}-renderer` | `electron${number}.${number}-renderer` | `electron${number}-preload` | `electron${number}.${number}-preload` | `nwjs${number}` | `nwjs${number}.${number}` | `node-webkit${number}` | `node-webkit${number}.${number}` | `browserslist:${string}` | "web" | "webworker" | "electron-main" | "electron-renderer" | "electron-preload" | "nwjs" | "node-webkit" | "browserslist" | ("es3" | "es5" | "es2015" | "es2016" | "es2017" | "es2018" | "es2019" | "es2020" | "es2021" | "es2022" | "node" | "async-node" | `node${number}` | `async-node${number}` | `node${number}.${number}` | `async-node${number}.${number}` | `electron${number}-main` | `electron${number}.${number}-main` | `electron${number}-renderer` | `electron${number}.${number}-renderer` | `electron${number}-preload` | `electron${number}.${number}-preload` | `nwjs${number}` | `nwjs${number}.${number}` | `node-webkit${number}` | `node-webkit${number}.${number}` | `browserslist:${string}` | "web" | "webworker" | "electron-main" | "electron-renderer" | "electron-preload" | "nwjs" | "node-webkit" | "browserslist")[] | undefined;
4132
3770
  resolve?: t.ResolveOptions | undefined;
4133
3771
  output?: {
4134
3772
  module?: boolean | undefined;
@@ -4136,208 +3774,173 @@ export declare const rspackOptions: z.ZodObject<{
4136
3774
  publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
4137
3775
  environment?: {
4138
3776
  module?: boolean | undefined;
4139
- arrowFunction?: boolean | undefined;
4140
- asyncFunction?: boolean | undefined;
4141
- bigIntLiteral?: boolean | undefined;
4142
3777
  const?: boolean | undefined;
4143
- destructuring?: boolean | undefined;
4144
3778
  document?: boolean | undefined;
3779
+ nodePrefixForCoreModules?: boolean | undefined;
3780
+ globalThis?: boolean | undefined;
3781
+ bigIntLiteral?: boolean | undefined;
3782
+ arrowFunction?: boolean | undefined;
3783
+ forOf?: boolean | undefined;
3784
+ destructuring?: boolean | undefined;
4145
3785
  dynamicImport?: boolean | undefined;
4146
3786
  dynamicImportInWorker?: boolean | undefined;
4147
- forOf?: boolean | undefined;
4148
- globalThis?: boolean | undefined;
4149
- nodePrefixForCoreModules?: boolean | undefined;
4150
3787
  optionalChaining?: boolean | undefined;
4151
3788
  templateLiteral?: boolean | undefined;
3789
+ asyncFunction?: boolean | undefined;
4152
3790
  } | undefined;
4153
3791
  chunkFilename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
4154
3792
  path?: string | undefined;
4155
- auxiliaryComment?: string | {
4156
- commonjs?: string | undefined;
4157
- amd?: string | undefined;
4158
- commonjs2?: string | undefined;
4159
- root?: string | undefined;
4160
- } | undefined;
4161
- umdNamedDefine?: boolean | undefined;
4162
- chunkLoading?: string | false | undefined;
4163
- asyncChunks?: boolean | undefined;
4164
- wasmLoading?: string | false | undefined;
4165
3793
  library?: string | string[] | {
3794
+ root?: string | string[] | undefined;
4166
3795
  commonjs?: string | undefined;
4167
3796
  amd?: string | undefined;
4168
- root?: string | string[] | undefined;
4169
3797
  } | {
4170
3798
  type: string;
4171
3799
  name?: string | string[] | {
3800
+ root?: string | string[] | undefined;
4172
3801
  commonjs?: string | undefined;
4173
3802
  amd?: string | undefined;
4174
- root?: string | string[] | undefined;
4175
3803
  } | undefined;
4176
3804
  amdContainer?: string | undefined;
4177
3805
  auxiliaryComment?: string | {
3806
+ root?: string | undefined;
4178
3807
  commonjs?: string | undefined;
4179
3808
  amd?: string | undefined;
4180
3809
  commonjs2?: string | undefined;
4181
- root?: string | undefined;
4182
3810
  } | undefined;
4183
3811
  export?: string | string[] | undefined;
4184
3812
  umdNamedDefine?: boolean | undefined;
4185
3813
  } | undefined;
3814
+ auxiliaryComment?: string | {
3815
+ root?: string | undefined;
3816
+ commonjs?: string | undefined;
3817
+ amd?: string | undefined;
3818
+ commonjs2?: string | undefined;
3819
+ } | undefined;
3820
+ umdNamedDefine?: boolean | undefined;
3821
+ crossOriginLoading?: false | "anonymous" | "use-credentials" | undefined;
3822
+ chunkLoading?: string | false | undefined;
3823
+ asyncChunks?: boolean | undefined;
3824
+ uniqueName?: string | undefined;
4186
3825
  pathinfo?: boolean | "verbose" | undefined;
4187
3826
  clean?: boolean | undefined;
4188
- crossOriginLoading?: false | "anonymous" | "use-credentials" | undefined;
4189
3827
  cssFilename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
4190
- cssHeadDataCompression?: boolean | undefined;
4191
3828
  cssChunkFilename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
4192
3829
  hotUpdateMainFilename?: string | undefined;
4193
3830
  hotUpdateChunkFilename?: string | undefined;
4194
3831
  hotUpdateGlobal?: string | undefined;
4195
3832
  assetModuleFilename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
4196
- uniqueName?: string | undefined;
4197
3833
  chunkLoadingGlobal?: string | undefined;
4198
3834
  enabledLibraryTypes?: string[] | undefined;
4199
- libraryExport?: string | string[] | undefined;
4200
- libraryTarget?: string | undefined;
4201
- strictModuleExceptionHandling?: boolean | undefined;
4202
3835
  strictModuleErrorHandling?: boolean | undefined;
4203
3836
  globalObject?: string | undefined;
4204
3837
  importFunctionName?: string | undefined;
4205
3838
  importMetaName?: string | undefined;
4206
3839
  iife?: boolean | undefined;
4207
- enabledWasmLoadingTypes?: string[] | undefined;
4208
- webassemblyModuleFilename?: string | undefined;
4209
- chunkFormat?: string | false | undefined;
4210
- enabledChunkLoadingTypes?: string[] | undefined;
4211
- trustedTypes?: string | true | {
4212
- policyName?: string | undefined;
4213
- } | undefined;
4214
- sourceMapFilename?: string | undefined;
4215
- hashDigest?: string | undefined;
4216
- hashDigestLength?: number | undefined;
4217
- hashFunction?: "xxhash64" | "md4" | undefined;
4218
- hashSalt?: string | undefined;
4219
- workerChunkLoading?: string | false | undefined;
4220
- workerWasmLoading?: string | false | undefined;
4221
- workerPublicPath?: string | undefined;
4222
- scriptType?: false | "module" | "text/javascript" | undefined;
4223
- devtoolNamespace?: string | undefined;
4224
- devtoolModuleFilenameTemplate?: string | ((args_0: any) => any) | undefined;
4225
- devtoolFallbackModuleFilenameTemplate?: string | ((args_0: any) => any) | undefined;
4226
- chunkLoadTimeout?: number | undefined;
4227
- charset?: boolean | undefined;
4228
- } | undefined;
4229
- target?: false | "es3" | "es5" | "es2015" | "es2016" | "es2017" | "es2018" | "es2019" | "es2020" | "es2021" | "es2022" | "node" | "async-node" | `node${number}` | `async-node${number}` | `node${number}.${number}` | `async-node${number}.${number}` | `electron${number}-main` | `electron${number}.${number}-main` | `electron${number}-renderer` | `electron${number}.${number}-renderer` | `electron${number}-preload` | `electron${number}.${number}-preload` | `nwjs${number}` | `nwjs${number}.${number}` | `node-webkit${number}` | `node-webkit${number}.${number}` | `browserslist:${string}` | "web" | "webworker" | "electron-main" | "electron-renderer" | "electron-preload" | "nwjs" | "node-webkit" | "browserslist" | ("es3" | "es5" | "es2015" | "es2016" | "es2017" | "es2018" | "es2019" | "es2020" | "es2021" | "es2022" | "node" | "async-node" | `node${number}` | `async-node${number}` | `node${number}.${number}` | `async-node${number}.${number}` | `electron${number}-main` | `electron${number}.${number}-main` | `electron${number}-renderer` | `electron${number}.${number}-renderer` | `electron${number}-preload` | `electron${number}.${number}-preload` | `nwjs${number}` | `nwjs${number}.${number}` | `node-webkit${number}` | `node-webkit${number}.${number}` | `browserslist:${string}` | "web" | "webworker" | "electron-main" | "electron-renderer" | "electron-preload" | "nwjs" | "node-webkit" | "browserslist")[] | undefined;
4230
- mode?: "none" | "development" | "production" | undefined;
4231
- experiments?: {
4232
- css?: boolean | undefined;
4233
- lazyCompilation?: boolean | {
4234
- entries?: boolean | undefined;
4235
- test?: RegExp | ((args_0: Module, ...args: unknown[]) => boolean) | undefined;
4236
- backend?: {
4237
- client?: string | undefined;
4238
- listen?: number | {
4239
- path?: string | undefined;
4240
- port?: number | undefined;
4241
- host?: string | undefined;
4242
- backlog?: number | undefined;
4243
- exclusive?: boolean | undefined;
4244
- readableAll?: boolean | undefined;
4245
- writableAll?: boolean | undefined;
4246
- ipv6Only?: boolean | undefined;
4247
- } | undefined;
4248
- protocol?: "http" | "https" | undefined;
4249
- } | undefined;
4250
- imports?: boolean | undefined;
4251
- } | undefined;
4252
- asyncWebAssembly?: boolean | undefined;
4253
- outputModule?: boolean | undefined;
4254
- topLevelAwait?: boolean | undefined;
4255
- layers?: boolean | undefined;
4256
- incremental?: boolean | {
4257
- make?: boolean | undefined;
4258
- providedExports?: boolean | undefined;
4259
- emitAssets?: boolean | undefined;
4260
- inferAsyncModules?: boolean | undefined;
4261
- dependenciesDiagnostics?: boolean | undefined;
4262
- modulesHashes?: boolean | undefined;
4263
- modulesCodegen?: boolean | undefined;
4264
- modulesRuntimeRequirements?: boolean | undefined;
4265
- } | undefined;
4266
- futureDefaults?: boolean | undefined;
4267
- rspackFuture?: {
4268
- bundlerInfo?: {
4269
- force?: boolean | ("version" | "uniqueId")[] | undefined;
4270
- version?: string | undefined;
4271
- bundler?: string | undefined;
4272
- } | undefined;
3840
+ wasmLoading?: string | false | undefined;
3841
+ enabledWasmLoadingTypes?: string[] | undefined;
3842
+ webassemblyModuleFilename?: string | undefined;
3843
+ chunkFormat?: string | false | undefined;
3844
+ enabledChunkLoadingTypes?: string[] | undefined;
3845
+ trustedTypes?: string | true | {
3846
+ policyName?: string | undefined;
4273
3847
  } | undefined;
3848
+ sourceMapFilename?: string | undefined;
3849
+ hashDigest?: string | undefined;
3850
+ hashDigestLength?: number | undefined;
3851
+ hashFunction?: "xxhash64" | "md4" | undefined;
3852
+ hashSalt?: string | undefined;
3853
+ workerChunkLoading?: string | false | undefined;
3854
+ workerWasmLoading?: string | false | undefined;
3855
+ workerPublicPath?: string | undefined;
3856
+ scriptType?: false | "module" | "text/javascript" | undefined;
3857
+ devtoolNamespace?: string | undefined;
3858
+ devtoolModuleFilenameTemplate?: string | ((args_0: any) => any) | undefined;
3859
+ devtoolFallbackModuleFilenameTemplate?: string | ((args_0: any) => any) | undefined;
3860
+ charset?: boolean | undefined;
3861
+ chunkLoadTimeout?: number | undefined;
3862
+ cssHeadDataCompression?: boolean | undefined;
3863
+ compareBeforeEmit?: boolean | undefined;
3864
+ libraryExport?: string | string[] | undefined;
3865
+ libraryTarget?: string | undefined;
3866
+ strictModuleExceptionHandling?: boolean | undefined;
4274
3867
  } | undefined;
4275
- externals?: string | RegExp | Record<string, string | boolean | string[] | Record<string, string | string[]>> | ((args_0: {
4276
- request?: string | undefined;
4277
- context?: string | undefined;
4278
- dependencyType?: string | undefined;
4279
- contextInfo?: {
4280
- issuer: string;
4281
- } | undefined;
4282
- }, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | Record<string, string | string[]> | undefined, args_2: "module" | "global" | "system" | "commonjs" | "umd" | "amd" | "jsonp" | "import" | "var" | "assign" | "this" | "window" | "self" | "commonjs2" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd2" | "promise" | "module-import" | "script" | "node-commonjs" | undefined, ...args: unknown[]) => void, ...args: unknown[]) => unknown) | ((args_0: {
4283
- request?: string | undefined;
4284
- context?: string | undefined;
4285
- dependencyType?: string | undefined;
4286
- contextInfo?: {
4287
- issuer: string;
4288
- } | undefined;
4289
- }, ...args: unknown[]) => Promise<string | boolean | string[] | Record<string, string | string[]>>) | (string | RegExp | Record<string, string | boolean | string[] | Record<string, string | string[]>> | ((args_0: {
4290
- request?: string | undefined;
4291
- context?: string | undefined;
4292
- dependencyType?: string | undefined;
4293
- contextInfo?: {
4294
- issuer: string;
3868
+ optimization?: {
3869
+ splitChunks?: false | {
3870
+ name?: string | false | ((args_0: Module | undefined, ...args: unknown[]) => unknown) | undefined;
3871
+ chunks?: RegExp | "all" | "async" | "initial" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
3872
+ usedExports?: boolean | undefined;
3873
+ defaultSizeTypes?: string[] | undefined;
3874
+ cacheGroups?: Record<string, false | {
3875
+ type?: string | RegExp | undefined;
3876
+ filename?: string | undefined;
3877
+ name?: string | false | ((args_0: Module | undefined, ...args: unknown[]) => unknown) | undefined;
3878
+ priority?: number | undefined;
3879
+ chunks?: RegExp | "all" | "async" | "initial" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
3880
+ usedExports?: boolean | undefined;
3881
+ defaultSizeTypes?: string[] | undefined;
3882
+ maxSize?: number | Record<string, number> | undefined;
3883
+ minChunks?: number | undefined;
3884
+ minSize?: number | Record<string, number> | undefined;
3885
+ maxAsyncSize?: number | Record<string, number> | undefined;
3886
+ maxInitialSize?: number | Record<string, number> | undefined;
3887
+ maxAsyncRequests?: number | undefined;
3888
+ maxInitialRequests?: number | undefined;
3889
+ automaticNameDelimiter?: string | undefined;
3890
+ test?: string | RegExp | ((args_0: Module, ...args: unknown[]) => unknown) | undefined;
3891
+ idHint?: string | undefined;
3892
+ reuseExistingChunk?: boolean | undefined;
3893
+ enforce?: boolean | undefined;
3894
+ }> | undefined;
3895
+ maxSize?: number | Record<string, number> | undefined;
3896
+ fallbackCacheGroup?: {
3897
+ chunks?: RegExp | "all" | "async" | "initial" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
3898
+ maxSize?: number | undefined;
3899
+ minSize?: number | undefined;
3900
+ maxAsyncSize?: number | undefined;
3901
+ maxInitialSize?: number | undefined;
3902
+ automaticNameDelimiter?: string | undefined;
3903
+ } | undefined;
3904
+ hidePathInfo?: boolean | undefined;
3905
+ minChunks?: number | undefined;
3906
+ minSize?: number | Record<string, number> | undefined;
3907
+ maxAsyncSize?: number | Record<string, number> | undefined;
3908
+ maxInitialSize?: number | Record<string, number> | undefined;
3909
+ maxAsyncRequests?: number | undefined;
3910
+ maxInitialRequests?: number | undefined;
3911
+ automaticNameDelimiter?: string | undefined;
4295
3912
  } | undefined;
4296
- }, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | Record<string, string | string[]> | undefined, args_2: "module" | "global" | "system" | "commonjs" | "umd" | "amd" | "jsonp" | "import" | "var" | "assign" | "this" | "window" | "self" | "commonjs2" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd2" | "promise" | "module-import" | "script" | "node-commonjs" | undefined, ...args: unknown[]) => void, ...args: unknown[]) => unknown) | ((args_0: {
4297
- request?: string | undefined;
4298
- context?: string | undefined;
4299
- dependencyType?: string | undefined;
4300
- contextInfo?: {
4301
- issuer: string;
3913
+ usedExports?: boolean | "global" | undefined;
3914
+ providedExports?: boolean | undefined;
3915
+ removeAvailableModules?: boolean | undefined;
3916
+ moduleIds?: "named" | "natural" | "deterministic" | undefined;
3917
+ chunkIds?: "named" | "natural" | "deterministic" | undefined;
3918
+ minimize?: boolean | undefined;
3919
+ minimizer?: (false | "" | 0 | t.RspackPluginInstance | "..." | t.WebpackPluginInstance | t.RspackPluginFunction | t.WebpackPluginFunction | null | undefined)[] | undefined;
3920
+ mergeDuplicateChunks?: boolean | undefined;
3921
+ runtimeChunk?: boolean | "single" | "multiple" | {
3922
+ name?: string | ((args_0: {
3923
+ name: string;
3924
+ }, ...args: unknown[]) => string) | undefined;
4302
3925
  } | undefined;
4303
- }, ...args: unknown[]) => Promise<string | boolean | string[] | Record<string, string | string[]>>))[] | undefined;
4304
- externalsType?: "module" | "global" | "system" | "commonjs" | "umd" | "amd" | "jsonp" | "import" | "var" | "assign" | "this" | "window" | "self" | "commonjs2" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd2" | "promise" | "module-import" | "script" | "node-commonjs" | undefined;
4305
- externalsPresets?: {
4306
- node?: boolean | undefined;
4307
- web?: boolean | undefined;
4308
- nwjs?: boolean | undefined;
4309
- webAsync?: boolean | undefined;
4310
- electron?: boolean | undefined;
4311
- electronMain?: boolean | undefined;
4312
- electronPreload?: boolean | undefined;
4313
- electronRenderer?: boolean | undefined;
4314
- } | undefined;
4315
- infrastructureLogging?: {
4316
- debug?: string | boolean | RegExp | ((args_0: string, ...args: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args: unknown[]) => boolean))[] | undefined;
4317
- colors?: boolean | undefined;
4318
- appendOnly?: boolean | undefined;
4319
- console?: Console | undefined;
4320
- level?: "log" | "info" | "verbose" | "none" | "error" | "warn" | undefined;
4321
- stream?: NodeJS.WritableStream | undefined;
4322
- } | undefined;
4323
- devtool?: false | "eval" | "cheap-source-map" | "cheap-module-source-map" | "source-map" | "inline-cheap-source-map" | "inline-cheap-module-source-map" | "inline-source-map" | "inline-nosources-cheap-source-map" | "inline-nosources-cheap-module-source-map" | "inline-nosources-source-map" | "nosources-cheap-source-map" | "nosources-cheap-module-source-map" | "nosources-source-map" | "hidden-nosources-cheap-source-map" | "hidden-nosources-cheap-module-source-map" | "hidden-nosources-source-map" | "hidden-cheap-source-map" | "hidden-cheap-module-source-map" | "hidden-source-map" | "eval-cheap-source-map" | "eval-cheap-module-source-map" | "eval-source-map" | "eval-nosources-cheap-source-map" | "eval-nosources-cheap-module-source-map" | "eval-nosources-source-map" | undefined;
4324
- ignoreWarnings?: (RegExp | ((args_0: Error, args_1: Compilation, ...args: unknown[]) => boolean))[] | undefined;
4325
- watchOptions?: {
4326
- aggregateTimeout?: number | undefined;
4327
- followSymlinks?: boolean | undefined;
4328
- ignored?: string | RegExp | string[] | undefined;
4329
- poll?: number | boolean | undefined;
4330
- stdin?: boolean | undefined;
3926
+ removeEmptyChunks?: boolean | undefined;
3927
+ realContentHash?: boolean | undefined;
3928
+ sideEffects?: boolean | "flag" | undefined;
3929
+ concatenateModules?: boolean | undefined;
3930
+ innerGraph?: boolean | undefined;
3931
+ mangleExports?: boolean | "size" | "deterministic" | undefined;
3932
+ nodeEnv?: string | false | undefined;
3933
+ emitOnErrors?: boolean | undefined;
4331
3934
  } | undefined;
4332
- watch?: boolean | undefined;
3935
+ snapshot?: {} | undefined;
4333
3936
  stats?: boolean | "verbose" | "normal" | "none" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | {
3937
+ modules?: boolean | undefined;
4334
3938
  source?: boolean | undefined;
4335
3939
  publicPath?: boolean | undefined;
4336
3940
  all?: boolean | undefined;
4337
3941
  preset?: boolean | "verbose" | "normal" | "none" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | undefined;
4338
3942
  assets?: boolean | undefined;
4339
3943
  chunks?: boolean | undefined;
4340
- modules?: boolean | undefined;
4341
3944
  entrypoints?: boolean | "auto" | undefined;
4342
3945
  chunkGroups?: boolean | undefined;
4343
3946
  warnings?: boolean | undefined;
@@ -4408,78 +4011,66 @@ export declare const rspackOptions: z.ZodObject<{
4408
4011
  errorsSpace?: number | undefined;
4409
4012
  warningsSpace?: number | undefined;
4410
4013
  } | undefined;
4411
- snapshot?: {} | undefined;
4412
- optimization?: {
4413
- splitChunks?: false | {
4414
- name?: string | false | ((args_0: Module | undefined, ...args: unknown[]) => unknown) | undefined;
4415
- chunks?: RegExp | "all" | "initial" | "async" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
4416
- usedExports?: boolean | undefined;
4417
- maxSize?: number | Record<string, number> | undefined;
4418
- defaultSizeTypes?: string[] | undefined;
4419
- minChunks?: number | undefined;
4420
- minSize?: number | Record<string, number> | undefined;
4421
- maxAsyncSize?: number | Record<string, number> | undefined;
4422
- maxInitialSize?: number | Record<string, number> | undefined;
4423
- maxAsyncRequests?: number | undefined;
4424
- maxInitialRequests?: number | undefined;
4425
- automaticNameDelimiter?: string | undefined;
4426
- cacheGroups?: Record<string, false | {
4427
- type?: string | RegExp | undefined;
4428
- filename?: string | undefined;
4429
- name?: string | false | ((args_0: Module | undefined, ...args: unknown[]) => unknown) | undefined;
4430
- priority?: number | undefined;
4431
- chunks?: RegExp | "all" | "initial" | "async" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
4432
- usedExports?: boolean | undefined;
4433
- test?: string | RegExp | ((args_0: Module, ...args: unknown[]) => unknown) | undefined;
4434
- enforce?: boolean | undefined;
4435
- maxSize?: number | Record<string, number> | undefined;
4436
- reuseExistingChunk?: boolean | undefined;
4437
- idHint?: string | undefined;
4438
- defaultSizeTypes?: string[] | undefined;
4439
- minChunks?: number | undefined;
4440
- minSize?: number | Record<string, number> | undefined;
4441
- maxAsyncSize?: number | Record<string, number> | undefined;
4442
- maxInitialSize?: number | Record<string, number> | undefined;
4443
- maxAsyncRequests?: number | undefined;
4444
- maxInitialRequests?: number | undefined;
4445
- automaticNameDelimiter?: string | undefined;
4446
- }> | undefined;
4447
- fallbackCacheGroup?: {
4448
- chunks?: RegExp | "all" | "initial" | "async" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
4449
- maxSize?: number | undefined;
4450
- minSize?: number | undefined;
4451
- maxAsyncSize?: number | undefined;
4452
- maxInitialSize?: number | undefined;
4453
- automaticNameDelimiter?: string | undefined;
4454
- } | undefined;
4455
- hidePathInfo?: boolean | undefined;
4014
+ loader?: Record<string, any> | undefined;
4015
+ resolveLoader?: t.ResolveOptions | undefined;
4016
+ externals?: string | RegExp | Record<string, string | boolean | string[] | Record<string, string | string[]>> | ((args_0: {
4017
+ request?: string | undefined;
4018
+ context?: string | undefined;
4019
+ dependencyType?: string | undefined;
4020
+ contextInfo?: {
4021
+ issuer: string;
4456
4022
  } | undefined;
4457
- usedExports?: boolean | "global" | undefined;
4458
- providedExports?: boolean | undefined;
4459
- sideEffects?: boolean | "flag" | undefined;
4460
- moduleIds?: "named" | "natural" | "deterministic" | undefined;
4461
- chunkIds?: "named" | "natural" | "deterministic" | undefined;
4462
- minimize?: boolean | undefined;
4463
- minimizer?: (false | "" | 0 | t.RspackPluginInstance | "..." | t.WebpackPluginInstance | t.RspackPluginFunction | t.WebpackPluginFunction | null | undefined)[] | undefined;
4464
- mergeDuplicateChunks?: boolean | undefined;
4465
- runtimeChunk?: boolean | "single" | "multiple" | {
4466
- name?: string | ((args_0: {
4467
- name: string;
4468
- }, ...args: unknown[]) => string) | 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
+ request?: string | undefined;
4025
+ context?: string | undefined;
4026
+ dependencyType?: string | undefined;
4027
+ contextInfo?: {
4028
+ issuer: string;
4469
4029
  } | undefined;
4470
- removeAvailableModules?: boolean | undefined;
4471
- removeEmptyChunks?: boolean | undefined;
4472
- realContentHash?: boolean | undefined;
4473
- concatenateModules?: boolean | undefined;
4474
- innerGraph?: boolean | undefined;
4475
- mangleExports?: boolean | "size" | "deterministic" | undefined;
4476
- nodeEnv?: string | false | undefined;
4477
- emitOnErrors?: boolean | 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
+ request?: string | undefined;
4032
+ context?: string | undefined;
4033
+ dependencyType?: string | undefined;
4034
+ contextInfo?: {
4035
+ issuer: string;
4036
+ } | 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
+ request?: string | undefined;
4039
+ context?: string | undefined;
4040
+ dependencyType?: string | undefined;
4041
+ contextInfo?: {
4042
+ issuer: string;
4043
+ } | undefined;
4044
+ }, ...args: unknown[]) => Promise<string | boolean | string[] | Record<string, string | string[]>>))[] | undefined;
4045
+ 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
+ externalsPresets?: {
4047
+ node?: boolean | undefined;
4048
+ web?: boolean | undefined;
4049
+ nwjs?: boolean | undefined;
4050
+ electron?: boolean | undefined;
4051
+ electronMain?: boolean | undefined;
4052
+ electronPreload?: boolean | undefined;
4053
+ electronRenderer?: boolean | undefined;
4054
+ webAsync?: boolean | undefined;
4055
+ } | undefined;
4056
+ infrastructureLogging?: {
4057
+ debug?: string | boolean | RegExp | ((args_0: string, ...args: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args: unknown[]) => boolean))[] | undefined;
4058
+ colors?: boolean | undefined;
4059
+ stream?: NodeJS.WritableStream | undefined;
4060
+ appendOnly?: boolean | undefined;
4061
+ console?: Console | undefined;
4062
+ level?: "log" | "info" | "verbose" | "none" | "error" | "warn" | undefined;
4478
4063
  } | undefined;
4479
- resolveLoader?: t.ResolveOptions | undefined;
4480
4064
  plugins?: (false | "" | 0 | t.RspackPluginInstance | t.WebpackPluginInstance | t.RspackPluginFunction | t.WebpackPluginFunction | null | undefined)[] | undefined;
4481
- devServer?: DevServer | undefined;
4065
+ watch?: boolean | undefined;
4066
+ watchOptions?: {
4067
+ aggregateTimeout?: number | undefined;
4068
+ followSymlinks?: boolean | undefined;
4069
+ ignored?: string | RegExp | string[] | undefined;
4070
+ poll?: number | boolean | undefined;
4071
+ stdin?: boolean | undefined;
4072
+ } | undefined;
4073
+ devServer?: t.DevServer | undefined;
4074
+ ignoreWarnings?: (RegExp | ((args_0: Error, args_1: Compilation, ...args: unknown[]) => boolean))[] | undefined;
4482
4075
  bail?: boolean | undefined;
4483
4076
  }>;
4484
- export type RspackOptions = z.infer<typeof rspackOptions>;
4485
- export type Configuration = RspackOptions;