@rspack/core 0.3.11 → 0.3.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. package/dist/Chunk.d.ts +23 -0
  2. package/dist/Chunk.d.ts.map +1 -0
  3. package/dist/Chunk.js +52 -0
  4. package/dist/Chunk.js.map +1 -0
  5. package/dist/Compilation.d.ts +4 -18
  6. package/dist/Compilation.d.ts.map +1 -1
  7. package/dist/Compilation.js +8 -21
  8. package/dist/Compilation.js.map +1 -1
  9. package/dist/Stats.d.ts +1 -0
  10. package/dist/Stats.d.ts.map +1 -1
  11. package/dist/Stats.js.map +1 -1
  12. package/dist/Template.d.ts +2 -2
  13. package/dist/Template.d.ts.map +1 -1
  14. package/dist/builtin-loader/swc/pluginImport.d.ts.map +1 -1
  15. package/dist/builtin-loader/swc/pluginImport.js +8 -0
  16. package/dist/builtin-loader/swc/pluginImport.js.map +1 -1
  17. package/dist/builtin-plugin/BannerPlugin.d.ts.map +1 -1
  18. package/dist/builtin-plugin/BannerPlugin.js +6 -52
  19. package/dist/builtin-plugin/BannerPlugin.js.map +1 -1
  20. package/dist/builtin-plugin/EntryPlugin.d.ts +2 -1
  21. package/dist/builtin-plugin/EntryPlugin.d.ts.map +1 -1
  22. package/dist/builtin-plugin/EntryPlugin.js +3 -1
  23. package/dist/builtin-plugin/EntryPlugin.js.map +1 -1
  24. package/dist/builtin-plugin/ExternalsPlugin.d.ts +2 -2
  25. package/dist/builtin-plugin/ExternalsPlugin.d.ts.map +1 -1
  26. package/dist/builtin-plugin/ExternalsPlugin.js +21 -45
  27. package/dist/builtin-plugin/ExternalsPlugin.js.map +1 -1
  28. package/dist/builtin-plugin/SwcJsMinimizerPlugin.d.ts +212 -2
  29. package/dist/builtin-plugin/SwcJsMinimizerPlugin.d.ts.map +1 -1
  30. package/dist/builtin-plugin/SwcJsMinimizerPlugin.js +67 -29
  31. package/dist/builtin-plugin/SwcJsMinimizerPlugin.js.map +1 -1
  32. package/dist/builtin-plugin/base.d.ts.map +1 -1
  33. package/dist/builtin-plugin/base.js +6 -2
  34. package/dist/builtin-plugin/base.js.map +1 -1
  35. package/dist/builtin-plugin/index.d.ts.map +1 -1
  36. package/dist/builtin-plugin/index.js +4 -0
  37. package/dist/builtin-plugin/index.js.map +1 -1
  38. package/dist/config/adapter.d.ts +2 -0
  39. package/dist/config/adapter.d.ts.map +1 -1
  40. package/dist/config/adapter.js +32 -17
  41. package/dist/config/adapter.js.map +1 -1
  42. package/dist/config/adapterRuleUse.d.ts +3 -0
  43. package/dist/config/adapterRuleUse.d.ts.map +1 -1
  44. package/dist/config/adapterRuleUse.js.map +1 -1
  45. package/dist/config/defaults.js +5 -1
  46. package/dist/config/defaults.js.map +1 -1
  47. package/dist/config/normalization.d.ts +1 -0
  48. package/dist/config/normalization.d.ts.map +1 -1
  49. package/dist/config/normalization.js +5 -1
  50. package/dist/config/normalization.js.map +1 -1
  51. package/dist/config/zod.d.ts +714 -139
  52. package/dist/config/zod.d.ts.map +1 -1
  53. package/dist/config/zod.js +45 -38
  54. package/dist/config/zod.js.map +1 -1
  55. package/dist/lib/EntryOptionPlugin.js +2 -2
  56. package/dist/lib/EntryOptionPlugin.js.map +1 -1
  57. package/dist/loader-runner/index.d.ts.map +1 -1
  58. package/dist/loader-runner/index.js +1 -14
  59. package/dist/loader-runner/index.js.map +1 -1
  60. package/dist/stats/DefaultStatsFactoryPlugin.js +1 -1
  61. package/dist/stats/DefaultStatsFactoryPlugin.js.map +1 -1
  62. package/dist/stats/statsFactoryUtils.d.ts +2 -2
  63. package/dist/stats/statsFactoryUtils.d.ts.map +1 -1
  64. package/dist/util/comparators.js +1 -1
  65. package/dist/util/comparators.js.map +1 -1
  66. package/package.json +7 -7
@@ -28,6 +28,144 @@ declare const wasmLoadingType: z.ZodUnion<[z.ZodEnum<["fetch-streaming", "fetch"
28
28
  export type WasmLoadingType = z.infer<typeof wasmLoadingType>;
29
29
  declare const wasmLoading: z.ZodUnion<[z.ZodLiteral<false>, z.ZodUnion<[z.ZodEnum<["fetch-streaming", "fetch", "async-node"]>, z.ZodString]>]>;
30
30
  export type WasmLoading = z.infer<typeof wasmLoading>;
31
+ declare const libraryCustomUmdObject: z.ZodObject<{
32
+ amd: z.ZodOptional<z.ZodString>;
33
+ commonjs: z.ZodOptional<z.ZodString>;
34
+ root: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
35
+ }, "strict", z.ZodTypeAny, {
36
+ amd?: string | undefined;
37
+ commonjs?: string | undefined;
38
+ root?: string | string[] | undefined;
39
+ }, {
40
+ amd?: string | undefined;
41
+ commonjs?: string | undefined;
42
+ root?: string | string[] | undefined;
43
+ }>;
44
+ export type LibraryCustomUmdObject = z.infer<typeof libraryCustomUmdObject>;
45
+ declare const libraryName: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
46
+ amd: z.ZodOptional<z.ZodString>;
47
+ commonjs: z.ZodOptional<z.ZodString>;
48
+ root: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
49
+ }, "strict", z.ZodTypeAny, {
50
+ amd?: string | undefined;
51
+ commonjs?: string | undefined;
52
+ root?: string | string[] | undefined;
53
+ }, {
54
+ amd?: string | undefined;
55
+ commonjs?: string | undefined;
56
+ root?: string | string[] | undefined;
57
+ }>]>;
58
+ export type LibraryName = z.infer<typeof libraryName>;
59
+ declare const libraryCustomUmdCommentObject: z.ZodObject<{
60
+ amd: z.ZodOptional<z.ZodString>;
61
+ commonjs: z.ZodOptional<z.ZodString>;
62
+ commonjs2: z.ZodOptional<z.ZodString>;
63
+ root: z.ZodOptional<z.ZodString>;
64
+ }, "strict", z.ZodTypeAny, {
65
+ amd?: string | undefined;
66
+ commonjs?: string | undefined;
67
+ commonjs2?: string | undefined;
68
+ root?: string | undefined;
69
+ }, {
70
+ amd?: string | undefined;
71
+ commonjs?: string | undefined;
72
+ commonjs2?: string | undefined;
73
+ root?: string | undefined;
74
+ }>;
75
+ export type LibraryCustomUmdCommentObject = z.infer<typeof libraryCustomUmdCommentObject>;
76
+ declare const amdContainer: z.ZodString;
77
+ export type AmdComtainer = z.infer<typeof amdContainer>;
78
+ declare const auxiliaryComment: z.ZodUnion<[z.ZodString, z.ZodObject<{
79
+ amd: z.ZodOptional<z.ZodString>;
80
+ commonjs: z.ZodOptional<z.ZodString>;
81
+ commonjs2: z.ZodOptional<z.ZodString>;
82
+ root: z.ZodOptional<z.ZodString>;
83
+ }, "strict", z.ZodTypeAny, {
84
+ amd?: string | undefined;
85
+ commonjs?: string | undefined;
86
+ commonjs2?: string | undefined;
87
+ root?: string | undefined;
88
+ }, {
89
+ amd?: string | undefined;
90
+ commonjs?: string | undefined;
91
+ commonjs2?: string | undefined;
92
+ root?: string | undefined;
93
+ }>]>;
94
+ export type AuxiliaryComment = z.infer<typeof auxiliaryComment>;
95
+ declare const libraryExport: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
96
+ export type LibraryExport = z.infer<typeof libraryExport>;
97
+ declare const libraryType: 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]>;
98
+ export type LibraryType = z.infer<typeof libraryType>;
99
+ declare const umdNamedDefine: z.ZodBoolean;
100
+ export type UmdNamedDefine = z.infer<typeof umdNamedDefine>;
101
+ declare const libraryOptions: z.ZodObject<{
102
+ amdContainer: z.ZodOptional<z.ZodString>;
103
+ auxiliaryComment: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
104
+ amd: z.ZodOptional<z.ZodString>;
105
+ commonjs: z.ZodOptional<z.ZodString>;
106
+ commonjs2: z.ZodOptional<z.ZodString>;
107
+ root: z.ZodOptional<z.ZodString>;
108
+ }, "strict", z.ZodTypeAny, {
109
+ amd?: string | undefined;
110
+ commonjs?: string | undefined;
111
+ commonjs2?: string | undefined;
112
+ root?: string | undefined;
113
+ }, {
114
+ amd?: string | undefined;
115
+ commonjs?: string | undefined;
116
+ commonjs2?: string | undefined;
117
+ root?: string | undefined;
118
+ }>]>>;
119
+ export: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
120
+ name: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
121
+ amd: z.ZodOptional<z.ZodString>;
122
+ commonjs: z.ZodOptional<z.ZodString>;
123
+ root: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
124
+ }, "strict", z.ZodTypeAny, {
125
+ amd?: string | undefined;
126
+ commonjs?: string | undefined;
127
+ root?: string | string[] | undefined;
128
+ }, {
129
+ amd?: string | undefined;
130
+ commonjs?: string | undefined;
131
+ root?: string | string[] | undefined;
132
+ }>]>>;
133
+ 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]>;
134
+ umdNamedDefine: z.ZodOptional<z.ZodBoolean>;
135
+ }, "strict", z.ZodTypeAny, {
136
+ type: string;
137
+ amdContainer?: string | undefined;
138
+ auxiliaryComment?: string | {
139
+ amd?: string | undefined;
140
+ commonjs?: string | undefined;
141
+ commonjs2?: string | undefined;
142
+ root?: string | undefined;
143
+ } | undefined;
144
+ export?: string | string[] | undefined;
145
+ name?: string | string[] | {
146
+ amd?: string | undefined;
147
+ commonjs?: string | undefined;
148
+ root?: string | string[] | undefined;
149
+ } | undefined;
150
+ umdNamedDefine?: boolean | undefined;
151
+ }, {
152
+ type: string;
153
+ amdContainer?: string | undefined;
154
+ auxiliaryComment?: string | {
155
+ amd?: string | undefined;
156
+ commonjs?: string | undefined;
157
+ commonjs2?: string | undefined;
158
+ root?: string | undefined;
159
+ } | undefined;
160
+ export?: string | string[] | undefined;
161
+ name?: string | string[] | {
162
+ amd?: string | undefined;
163
+ commonjs?: string | undefined;
164
+ root?: string | string[] | undefined;
165
+ } | undefined;
166
+ umdNamedDefine?: boolean | undefined;
167
+ }>;
168
+ export type LibraryOptions = z.infer<typeof libraryOptions>;
31
169
  declare const filenameTemplate: z.ZodString;
32
170
  export type FilenameTemplate = z.infer<typeof filenameTemplate>;
33
171
  declare const filename: z.ZodString;
@@ -47,6 +185,73 @@ declare const entryDescription: z.ZodObject<{
47
185
  asyncChunks: z.ZodOptional<z.ZodBoolean>;
48
186
  wasmLoading: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodUnion<[z.ZodEnum<["fetch-streaming", "fetch", "async-node"]>, z.ZodString]>]>>;
49
187
  filename: z.ZodOptional<z.ZodString>;
188
+ library: z.ZodOptional<z.ZodObject<{
189
+ amdContainer: z.ZodOptional<z.ZodString>;
190
+ auxiliaryComment: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
191
+ amd: z.ZodOptional<z.ZodString>;
192
+ commonjs: z.ZodOptional<z.ZodString>;
193
+ commonjs2: z.ZodOptional<z.ZodString>;
194
+ root: z.ZodOptional<z.ZodString>;
195
+ }, "strict", z.ZodTypeAny, {
196
+ amd?: string | undefined;
197
+ commonjs?: string | undefined;
198
+ commonjs2?: string | undefined;
199
+ root?: string | undefined;
200
+ }, {
201
+ amd?: string | undefined;
202
+ commonjs?: string | undefined;
203
+ commonjs2?: string | undefined;
204
+ root?: string | undefined;
205
+ }>]>>;
206
+ export: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
207
+ name: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
208
+ amd: z.ZodOptional<z.ZodString>;
209
+ commonjs: z.ZodOptional<z.ZodString>;
210
+ root: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
211
+ }, "strict", z.ZodTypeAny, {
212
+ amd?: string | undefined;
213
+ commonjs?: string | undefined;
214
+ root?: string | string[] | undefined;
215
+ }, {
216
+ amd?: string | undefined;
217
+ commonjs?: string | undefined;
218
+ root?: string | string[] | undefined;
219
+ }>]>>;
220
+ 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]>;
221
+ umdNamedDefine: z.ZodOptional<z.ZodBoolean>;
222
+ }, "strict", z.ZodTypeAny, {
223
+ type: string;
224
+ amdContainer?: string | undefined;
225
+ auxiliaryComment?: string | {
226
+ amd?: string | undefined;
227
+ commonjs?: string | undefined;
228
+ commonjs2?: string | undefined;
229
+ root?: string | undefined;
230
+ } | undefined;
231
+ export?: string | string[] | undefined;
232
+ name?: string | string[] | {
233
+ amd?: string | undefined;
234
+ commonjs?: string | undefined;
235
+ root?: string | string[] | undefined;
236
+ } | undefined;
237
+ umdNamedDefine?: boolean | undefined;
238
+ }, {
239
+ type: string;
240
+ amdContainer?: string | undefined;
241
+ auxiliaryComment?: string | {
242
+ amd?: string | undefined;
243
+ commonjs?: string | undefined;
244
+ commonjs2?: string | undefined;
245
+ root?: string | undefined;
246
+ } | undefined;
247
+ export?: string | string[] | undefined;
248
+ name?: string | string[] | {
249
+ amd?: string | undefined;
250
+ commonjs?: string | undefined;
251
+ root?: string | string[] | undefined;
252
+ } | undefined;
253
+ umdNamedDefine?: boolean | undefined;
254
+ }>>;
50
255
  }, "strict", z.ZodTypeAny, {
51
256
  import: (string | string[]) & (string | string[] | undefined);
52
257
  runtime?: string | false | undefined;
@@ -56,6 +261,23 @@ declare const entryDescription: z.ZodObject<{
56
261
  asyncChunks?: boolean | undefined;
57
262
  wasmLoading?: string | false | undefined;
58
263
  filename?: string | undefined;
264
+ library?: {
265
+ type: string;
266
+ amdContainer?: string | undefined;
267
+ auxiliaryComment?: string | {
268
+ amd?: string | undefined;
269
+ commonjs?: string | undefined;
270
+ commonjs2?: string | undefined;
271
+ root?: string | undefined;
272
+ } | undefined;
273
+ export?: string | string[] | undefined;
274
+ name?: string | string[] | {
275
+ amd?: string | undefined;
276
+ commonjs?: string | undefined;
277
+ root?: string | string[] | undefined;
278
+ } | undefined;
279
+ umdNamedDefine?: boolean | undefined;
280
+ } | undefined;
59
281
  }, {
60
282
  import: (string | string[]) & (string | string[] | undefined);
61
283
  runtime?: string | false | undefined;
@@ -65,6 +287,23 @@ declare const entryDescription: z.ZodObject<{
65
287
  asyncChunks?: boolean | undefined;
66
288
  wasmLoading?: string | false | undefined;
67
289
  filename?: string | undefined;
290
+ library?: {
291
+ type: string;
292
+ amdContainer?: string | undefined;
293
+ auxiliaryComment?: string | {
294
+ amd?: string | undefined;
295
+ commonjs?: string | undefined;
296
+ commonjs2?: string | undefined;
297
+ root?: string | undefined;
298
+ } | undefined;
299
+ export?: string | string[] | undefined;
300
+ name?: string | string[] | {
301
+ amd?: string | undefined;
302
+ commonjs?: string | undefined;
303
+ root?: string | string[] | undefined;
304
+ } | undefined;
305
+ umdNamedDefine?: boolean | undefined;
306
+ } | undefined;
68
307
  }>;
69
308
  export type EntryDescription = z.infer<typeof entryDescription>;
70
309
  declare const entryUnnamed: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
@@ -78,6 +317,73 @@ declare const entryObject: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodUnion<[z.Zo
78
317
  asyncChunks: z.ZodOptional<z.ZodBoolean>;
79
318
  wasmLoading: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodUnion<[z.ZodEnum<["fetch-streaming", "fetch", "async-node"]>, z.ZodString]>]>>;
80
319
  filename: z.ZodOptional<z.ZodString>;
320
+ library: z.ZodOptional<z.ZodObject<{
321
+ amdContainer: z.ZodOptional<z.ZodString>;
322
+ auxiliaryComment: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
323
+ amd: z.ZodOptional<z.ZodString>;
324
+ commonjs: z.ZodOptional<z.ZodString>;
325
+ commonjs2: z.ZodOptional<z.ZodString>;
326
+ root: z.ZodOptional<z.ZodString>;
327
+ }, "strict", z.ZodTypeAny, {
328
+ amd?: string | undefined;
329
+ commonjs?: string | undefined;
330
+ commonjs2?: string | undefined;
331
+ root?: string | undefined;
332
+ }, {
333
+ amd?: string | undefined;
334
+ commonjs?: string | undefined;
335
+ commonjs2?: string | undefined;
336
+ root?: string | undefined;
337
+ }>]>>;
338
+ export: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
339
+ name: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
340
+ amd: z.ZodOptional<z.ZodString>;
341
+ commonjs: z.ZodOptional<z.ZodString>;
342
+ root: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
343
+ }, "strict", z.ZodTypeAny, {
344
+ amd?: string | undefined;
345
+ commonjs?: string | undefined;
346
+ root?: string | string[] | undefined;
347
+ }, {
348
+ amd?: string | undefined;
349
+ commonjs?: string | undefined;
350
+ root?: string | string[] | undefined;
351
+ }>]>>;
352
+ 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]>;
353
+ umdNamedDefine: z.ZodOptional<z.ZodBoolean>;
354
+ }, "strict", z.ZodTypeAny, {
355
+ type: string;
356
+ amdContainer?: string | undefined;
357
+ auxiliaryComment?: string | {
358
+ amd?: string | undefined;
359
+ commonjs?: string | undefined;
360
+ commonjs2?: string | undefined;
361
+ root?: string | undefined;
362
+ } | undefined;
363
+ export?: string | string[] | undefined;
364
+ name?: string | string[] | {
365
+ amd?: string | undefined;
366
+ commonjs?: string | undefined;
367
+ root?: string | string[] | undefined;
368
+ } | undefined;
369
+ umdNamedDefine?: boolean | undefined;
370
+ }, {
371
+ type: string;
372
+ amdContainer?: string | undefined;
373
+ auxiliaryComment?: string | {
374
+ amd?: string | undefined;
375
+ commonjs?: string | undefined;
376
+ commonjs2?: string | undefined;
377
+ root?: string | undefined;
378
+ } | undefined;
379
+ export?: string | string[] | undefined;
380
+ name?: string | string[] | {
381
+ amd?: string | undefined;
382
+ commonjs?: string | undefined;
383
+ root?: string | string[] | undefined;
384
+ } | undefined;
385
+ umdNamedDefine?: boolean | undefined;
386
+ }>>;
81
387
  }, "strict", z.ZodTypeAny, {
82
388
  import: (string | string[]) & (string | string[] | undefined);
83
389
  runtime?: string | false | undefined;
@@ -87,6 +393,23 @@ declare const entryObject: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodUnion<[z.Zo
87
393
  asyncChunks?: boolean | undefined;
88
394
  wasmLoading?: string | false | undefined;
89
395
  filename?: string | undefined;
396
+ library?: {
397
+ type: string;
398
+ amdContainer?: string | undefined;
399
+ auxiliaryComment?: string | {
400
+ amd?: string | undefined;
401
+ commonjs?: string | undefined;
402
+ commonjs2?: string | undefined;
403
+ root?: string | undefined;
404
+ } | undefined;
405
+ export?: string | string[] | undefined;
406
+ name?: string | string[] | {
407
+ amd?: string | undefined;
408
+ commonjs?: string | undefined;
409
+ root?: string | string[] | undefined;
410
+ } | undefined;
411
+ umdNamedDefine?: boolean | undefined;
412
+ } | undefined;
90
413
  }, {
91
414
  import: (string | string[]) & (string | string[] | undefined);
92
415
  runtime?: string | false | undefined;
@@ -96,6 +419,23 @@ declare const entryObject: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodUnion<[z.Zo
96
419
  asyncChunks?: boolean | undefined;
97
420
  wasmLoading?: string | false | undefined;
98
421
  filename?: string | undefined;
422
+ library?: {
423
+ type: string;
424
+ amdContainer?: string | undefined;
425
+ auxiliaryComment?: string | {
426
+ amd?: string | undefined;
427
+ commonjs?: string | undefined;
428
+ commonjs2?: string | undefined;
429
+ root?: string | undefined;
430
+ } | undefined;
431
+ export?: string | string[] | undefined;
432
+ name?: string | string[] | {
433
+ amd?: string | undefined;
434
+ commonjs?: string | undefined;
435
+ root?: string | string[] | undefined;
436
+ } | undefined;
437
+ umdNamedDefine?: boolean | undefined;
438
+ } | undefined;
99
439
  }>]>>;
100
440
  export type EntryObject = z.infer<typeof entryObject>;
101
441
  declare const entryStatic: z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
@@ -107,6 +447,73 @@ declare const entryStatic: z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
107
447
  asyncChunks: z.ZodOptional<z.ZodBoolean>;
108
448
  wasmLoading: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodUnion<[z.ZodEnum<["fetch-streaming", "fetch", "async-node"]>, z.ZodString]>]>>;
109
449
  filename: z.ZodOptional<z.ZodString>;
450
+ library: z.ZodOptional<z.ZodObject<{
451
+ amdContainer: z.ZodOptional<z.ZodString>;
452
+ auxiliaryComment: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
453
+ amd: z.ZodOptional<z.ZodString>;
454
+ commonjs: z.ZodOptional<z.ZodString>;
455
+ commonjs2: z.ZodOptional<z.ZodString>;
456
+ root: z.ZodOptional<z.ZodString>;
457
+ }, "strict", z.ZodTypeAny, {
458
+ amd?: string | undefined;
459
+ commonjs?: string | undefined;
460
+ commonjs2?: string | undefined;
461
+ root?: string | undefined;
462
+ }, {
463
+ amd?: string | undefined;
464
+ commonjs?: string | undefined;
465
+ commonjs2?: string | undefined;
466
+ root?: string | undefined;
467
+ }>]>>;
468
+ export: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
469
+ name: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
470
+ amd: z.ZodOptional<z.ZodString>;
471
+ commonjs: z.ZodOptional<z.ZodString>;
472
+ root: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
473
+ }, "strict", z.ZodTypeAny, {
474
+ amd?: string | undefined;
475
+ commonjs?: string | undefined;
476
+ root?: string | string[] | undefined;
477
+ }, {
478
+ amd?: string | undefined;
479
+ commonjs?: string | undefined;
480
+ root?: string | string[] | undefined;
481
+ }>]>>;
482
+ 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]>;
483
+ umdNamedDefine: z.ZodOptional<z.ZodBoolean>;
484
+ }, "strict", z.ZodTypeAny, {
485
+ type: string;
486
+ amdContainer?: string | undefined;
487
+ auxiliaryComment?: string | {
488
+ amd?: string | undefined;
489
+ commonjs?: string | undefined;
490
+ commonjs2?: string | undefined;
491
+ root?: string | undefined;
492
+ } | undefined;
493
+ export?: string | string[] | undefined;
494
+ name?: string | string[] | {
495
+ amd?: string | undefined;
496
+ commonjs?: string | undefined;
497
+ root?: string | string[] | undefined;
498
+ } | undefined;
499
+ umdNamedDefine?: boolean | undefined;
500
+ }, {
501
+ type: string;
502
+ amdContainer?: string | undefined;
503
+ auxiliaryComment?: string | {
504
+ amd?: string | undefined;
505
+ commonjs?: string | undefined;
506
+ commonjs2?: string | undefined;
507
+ root?: string | undefined;
508
+ } | undefined;
509
+ export?: string | string[] | undefined;
510
+ name?: string | string[] | {
511
+ amd?: string | undefined;
512
+ commonjs?: string | undefined;
513
+ root?: string | string[] | undefined;
514
+ } | undefined;
515
+ umdNamedDefine?: boolean | undefined;
516
+ }>>;
110
517
  }, "strict", z.ZodTypeAny, {
111
518
  import: (string | string[]) & (string | string[] | undefined);
112
519
  runtime?: string | false | undefined;
@@ -116,6 +523,23 @@ declare const entryStatic: z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
116
523
  asyncChunks?: boolean | undefined;
117
524
  wasmLoading?: string | false | undefined;
118
525
  filename?: string | undefined;
526
+ library?: {
527
+ type: string;
528
+ amdContainer?: string | undefined;
529
+ auxiliaryComment?: string | {
530
+ amd?: string | undefined;
531
+ commonjs?: string | undefined;
532
+ commonjs2?: string | undefined;
533
+ root?: string | undefined;
534
+ } | undefined;
535
+ export?: string | string[] | undefined;
536
+ name?: string | string[] | {
537
+ amd?: string | undefined;
538
+ commonjs?: string | undefined;
539
+ root?: string | string[] | undefined;
540
+ } | undefined;
541
+ umdNamedDefine?: boolean | undefined;
542
+ } | undefined;
119
543
  }, {
120
544
  import: (string | string[]) & (string | string[] | undefined);
121
545
  runtime?: string | false | undefined;
@@ -125,6 +549,23 @@ declare const entryStatic: z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
125
549
  asyncChunks?: boolean | undefined;
126
550
  wasmLoading?: string | false | undefined;
127
551
  filename?: string | undefined;
552
+ library?: {
553
+ type: string;
554
+ amdContainer?: string | undefined;
555
+ auxiliaryComment?: string | {
556
+ amd?: string | undefined;
557
+ commonjs?: string | undefined;
558
+ commonjs2?: string | undefined;
559
+ root?: string | undefined;
560
+ } | undefined;
561
+ export?: string | string[] | undefined;
562
+ name?: string | string[] | {
563
+ amd?: string | undefined;
564
+ commonjs?: string | undefined;
565
+ root?: string | string[] | undefined;
566
+ } | undefined;
567
+ umdNamedDefine?: boolean | undefined;
568
+ } | undefined;
128
569
  }>]>>, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>]>;
129
570
  export type EntryStatic = z.infer<typeof entryStatic>;
130
571
  declare const entry: z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
@@ -136,6 +577,73 @@ declare const entry: z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodUnion
136
577
  asyncChunks: z.ZodOptional<z.ZodBoolean>;
137
578
  wasmLoading: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodUnion<[z.ZodEnum<["fetch-streaming", "fetch", "async-node"]>, z.ZodString]>]>>;
138
579
  filename: z.ZodOptional<z.ZodString>;
580
+ library: z.ZodOptional<z.ZodObject<{
581
+ amdContainer: z.ZodOptional<z.ZodString>;
582
+ auxiliaryComment: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
583
+ amd: z.ZodOptional<z.ZodString>;
584
+ commonjs: z.ZodOptional<z.ZodString>;
585
+ commonjs2: z.ZodOptional<z.ZodString>;
586
+ root: z.ZodOptional<z.ZodString>;
587
+ }, "strict", z.ZodTypeAny, {
588
+ amd?: string | undefined;
589
+ commonjs?: string | undefined;
590
+ commonjs2?: string | undefined;
591
+ root?: string | undefined;
592
+ }, {
593
+ amd?: string | undefined;
594
+ commonjs?: string | undefined;
595
+ commonjs2?: string | undefined;
596
+ root?: string | undefined;
597
+ }>]>>;
598
+ export: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
599
+ name: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
600
+ amd: z.ZodOptional<z.ZodString>;
601
+ commonjs: z.ZodOptional<z.ZodString>;
602
+ root: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
603
+ }, "strict", z.ZodTypeAny, {
604
+ amd?: string | undefined;
605
+ commonjs?: string | undefined;
606
+ root?: string | string[] | undefined;
607
+ }, {
608
+ amd?: string | undefined;
609
+ commonjs?: string | undefined;
610
+ root?: string | string[] | undefined;
611
+ }>]>>;
612
+ 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]>;
613
+ umdNamedDefine: z.ZodOptional<z.ZodBoolean>;
614
+ }, "strict", z.ZodTypeAny, {
615
+ type: string;
616
+ amdContainer?: string | undefined;
617
+ auxiliaryComment?: string | {
618
+ amd?: string | undefined;
619
+ commonjs?: string | undefined;
620
+ commonjs2?: string | undefined;
621
+ root?: string | undefined;
622
+ } | undefined;
623
+ export?: string | string[] | undefined;
624
+ name?: string | string[] | {
625
+ amd?: string | undefined;
626
+ commonjs?: string | undefined;
627
+ root?: string | string[] | undefined;
628
+ } | undefined;
629
+ umdNamedDefine?: boolean | undefined;
630
+ }, {
631
+ type: string;
632
+ amdContainer?: string | undefined;
633
+ auxiliaryComment?: string | {
634
+ amd?: string | undefined;
635
+ commonjs?: string | undefined;
636
+ commonjs2?: string | undefined;
637
+ root?: string | undefined;
638
+ } | undefined;
639
+ export?: string | string[] | undefined;
640
+ name?: string | string[] | {
641
+ amd?: string | undefined;
642
+ commonjs?: string | undefined;
643
+ root?: string | string[] | undefined;
644
+ } | undefined;
645
+ umdNamedDefine?: boolean | undefined;
646
+ }>>;
139
647
  }, "strict", z.ZodTypeAny, {
140
648
  import: (string | string[]) & (string | string[] | undefined);
141
649
  runtime?: string | false | undefined;
@@ -145,6 +653,23 @@ declare const entry: z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodUnion
145
653
  asyncChunks?: boolean | undefined;
146
654
  wasmLoading?: string | false | undefined;
147
655
  filename?: string | undefined;
656
+ library?: {
657
+ type: string;
658
+ amdContainer?: string | undefined;
659
+ auxiliaryComment?: string | {
660
+ amd?: string | undefined;
661
+ commonjs?: string | undefined;
662
+ commonjs2?: string | undefined;
663
+ root?: string | undefined;
664
+ } | undefined;
665
+ export?: string | string[] | undefined;
666
+ name?: string | string[] | {
667
+ amd?: string | undefined;
668
+ commonjs?: string | undefined;
669
+ root?: string | string[] | undefined;
670
+ } | undefined;
671
+ umdNamedDefine?: boolean | undefined;
672
+ } | undefined;
148
673
  }, {
149
674
  import: (string | string[]) & (string | string[] | undefined);
150
675
  runtime?: string | false | undefined;
@@ -154,6 +679,23 @@ declare const entry: z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodUnion
154
679
  asyncChunks?: boolean | undefined;
155
680
  wasmLoading?: string | false | undefined;
156
681
  filename?: string | undefined;
682
+ library?: {
683
+ type: string;
684
+ amdContainer?: string | undefined;
685
+ auxiliaryComment?: string | {
686
+ amd?: string | undefined;
687
+ commonjs?: string | undefined;
688
+ commonjs2?: string | undefined;
689
+ root?: string | undefined;
690
+ } | undefined;
691
+ export?: string | string[] | undefined;
692
+ name?: string | string[] | {
693
+ amd?: string | undefined;
694
+ commonjs?: string | undefined;
695
+ root?: string | string[] | undefined;
696
+ } | undefined;
697
+ umdNamedDefine?: boolean | undefined;
698
+ } | undefined;
157
699
  }>]>>, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>]>;
158
700
  export type Entry = z.infer<typeof entry>;
159
701
  declare const path: z.ZodString;
@@ -180,139 +722,6 @@ declare const uniqueName: z.ZodString;
180
722
  export type UniqueName = z.infer<typeof uniqueName>;
181
723
  declare const chunkLoadingGlobal: z.ZodString;
182
724
  export type ChunkLoadingGlobal = z.infer<typeof chunkLoadingGlobal>;
183
- declare const libraryCustomUmdObject: z.ZodObject<{
184
- amd: z.ZodOptional<z.ZodString>;
185
- commonjs: z.ZodOptional<z.ZodString>;
186
- root: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
187
- }, "strict", z.ZodTypeAny, {
188
- amd?: string | undefined;
189
- commonjs?: string | undefined;
190
- root?: string | string[] | undefined;
191
- }, {
192
- amd?: string | undefined;
193
- commonjs?: string | undefined;
194
- root?: string | string[] | undefined;
195
- }>;
196
- export type LibraryCustomUmdObject = z.infer<typeof libraryCustomUmdObject>;
197
- declare const libraryName: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
198
- amd: z.ZodOptional<z.ZodString>;
199
- commonjs: z.ZodOptional<z.ZodString>;
200
- root: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
201
- }, "strict", z.ZodTypeAny, {
202
- amd?: string | undefined;
203
- commonjs?: string | undefined;
204
- root?: string | string[] | undefined;
205
- }, {
206
- amd?: string | undefined;
207
- commonjs?: string | undefined;
208
- root?: string | string[] | undefined;
209
- }>]>;
210
- export type LibraryName = z.infer<typeof libraryName>;
211
- declare const libraryCustomUmdCommentObject: z.ZodObject<{
212
- amd: z.ZodOptional<z.ZodString>;
213
- commonjs: z.ZodOptional<z.ZodString>;
214
- commonjs2: z.ZodOptional<z.ZodString>;
215
- root: z.ZodOptional<z.ZodString>;
216
- }, "strict", z.ZodTypeAny, {
217
- amd?: string | undefined;
218
- commonjs?: string | undefined;
219
- commonjs2?: string | undefined;
220
- root?: string | undefined;
221
- }, {
222
- amd?: string | undefined;
223
- commonjs?: string | undefined;
224
- commonjs2?: string | undefined;
225
- root?: string | undefined;
226
- }>;
227
- export type LibraryCustomUmdCommentObject = z.infer<typeof libraryCustomUmdCommentObject>;
228
- declare const auxiliaryComment: z.ZodUnion<[z.ZodString, z.ZodObject<{
229
- amd: z.ZodOptional<z.ZodString>;
230
- commonjs: z.ZodOptional<z.ZodString>;
231
- commonjs2: z.ZodOptional<z.ZodString>;
232
- root: z.ZodOptional<z.ZodString>;
233
- }, "strict", z.ZodTypeAny, {
234
- amd?: string | undefined;
235
- commonjs?: string | undefined;
236
- commonjs2?: string | undefined;
237
- root?: string | undefined;
238
- }, {
239
- amd?: string | undefined;
240
- commonjs?: string | undefined;
241
- commonjs2?: string | undefined;
242
- root?: string | undefined;
243
- }>]>;
244
- export type AuxiliaryComment = z.infer<typeof auxiliaryComment>;
245
- declare const libraryExport: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
246
- export type LibraryExport = z.infer<typeof libraryExport>;
247
- declare const libraryType: 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]>;
248
- export type LibraryType = z.infer<typeof libraryType>;
249
- declare const umdNamedDefine: z.ZodBoolean;
250
- export type UmdNamedDefine = z.infer<typeof umdNamedDefine>;
251
- declare const libraryOptions: z.ZodObject<{
252
- auxiliaryComment: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
253
- amd: z.ZodOptional<z.ZodString>;
254
- commonjs: z.ZodOptional<z.ZodString>;
255
- commonjs2: z.ZodOptional<z.ZodString>;
256
- root: z.ZodOptional<z.ZodString>;
257
- }, "strict", z.ZodTypeAny, {
258
- amd?: string | undefined;
259
- commonjs?: string | undefined;
260
- commonjs2?: string | undefined;
261
- root?: string | undefined;
262
- }, {
263
- amd?: string | undefined;
264
- commonjs?: string | undefined;
265
- commonjs2?: string | undefined;
266
- root?: string | undefined;
267
- }>]>>;
268
- export: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
269
- name: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
270
- amd: z.ZodOptional<z.ZodString>;
271
- commonjs: z.ZodOptional<z.ZodString>;
272
- root: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
273
- }, "strict", z.ZodTypeAny, {
274
- amd?: string | undefined;
275
- commonjs?: string | undefined;
276
- root?: string | string[] | undefined;
277
- }, {
278
- amd?: string | undefined;
279
- commonjs?: string | undefined;
280
- root?: string | string[] | undefined;
281
- }>]>>;
282
- 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]>;
283
- umdNamedDefine: z.ZodOptional<z.ZodBoolean>;
284
- }, "strict", z.ZodTypeAny, {
285
- type: string;
286
- auxiliaryComment?: string | {
287
- amd?: string | undefined;
288
- commonjs?: string | undefined;
289
- commonjs2?: string | undefined;
290
- root?: string | undefined;
291
- } | undefined;
292
- export?: string | string[] | undefined;
293
- name?: string | string[] | {
294
- amd?: string | undefined;
295
- commonjs?: string | undefined;
296
- root?: string | string[] | undefined;
297
- } | undefined;
298
- umdNamedDefine?: boolean | undefined;
299
- }, {
300
- type: string;
301
- auxiliaryComment?: string | {
302
- amd?: string | undefined;
303
- commonjs?: string | undefined;
304
- commonjs2?: string | undefined;
305
- root?: string | undefined;
306
- } | undefined;
307
- export?: string | string[] | undefined;
308
- name?: string | string[] | {
309
- amd?: string | undefined;
310
- commonjs?: string | undefined;
311
- root?: string | string[] | undefined;
312
- } | undefined;
313
- umdNamedDefine?: boolean | undefined;
314
- }>;
315
- export type LibraryOptions = z.infer<typeof libraryOptions>;
316
725
  declare const enabledLibraryTypes: z.ZodArray<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]>, "many">;
317
726
  export type EnabledLibraryTypes = z.infer<typeof enabledLibraryTypes>;
318
727
  declare const clean: z.ZodBoolean;
@@ -382,6 +791,7 @@ declare const output: z.ZodObject<{
382
791
  commonjs?: string | undefined;
383
792
  root?: string | string[] | undefined;
384
793
  }>]>, z.ZodObject<{
794
+ amdContainer: z.ZodOptional<z.ZodString>;
385
795
  auxiliaryComment: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
386
796
  amd: z.ZodOptional<z.ZodString>;
387
797
  commonjs: z.ZodOptional<z.ZodString>;
@@ -416,6 +826,7 @@ declare const output: z.ZodObject<{
416
826
  umdNamedDefine: z.ZodOptional<z.ZodBoolean>;
417
827
  }, "strict", z.ZodTypeAny, {
418
828
  type: string;
829
+ amdContainer?: string | undefined;
419
830
  auxiliaryComment?: string | {
420
831
  amd?: string | undefined;
421
832
  commonjs?: string | undefined;
@@ -431,6 +842,7 @@ declare const output: z.ZodObject<{
431
842
  umdNamedDefine?: boolean | undefined;
432
843
  }, {
433
844
  type: string;
845
+ amdContainer?: string | undefined;
434
846
  auxiliaryComment?: string | {
435
847
  amd?: string | undefined;
436
848
  commonjs?: string | undefined;
@@ -448,6 +860,7 @@ declare const output: z.ZodObject<{
448
860
  libraryExport: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
449
861
  libraryTarget: z.ZodOptional<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]>>;
450
862
  umdNamedDefine: z.ZodOptional<z.ZodBoolean>;
863
+ amdContainer: z.ZodOptional<z.ZodString>;
451
864
  auxiliaryComment: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
452
865
  amd: z.ZodOptional<z.ZodString>;
453
866
  commonjs: z.ZodOptional<z.ZodString>;
@@ -513,6 +926,7 @@ declare const output: z.ZodObject<{
513
926
  root?: string | string[] | undefined;
514
927
  } | {
515
928
  type: string;
929
+ amdContainer?: string | undefined;
516
930
  auxiliaryComment?: string | {
517
931
  amd?: string | undefined;
518
932
  commonjs?: string | undefined;
@@ -530,6 +944,7 @@ declare const output: z.ZodObject<{
530
944
  libraryExport?: string | string[] | undefined;
531
945
  libraryTarget?: string | undefined;
532
946
  umdNamedDefine?: boolean | undefined;
947
+ amdContainer?: string | undefined;
533
948
  auxiliaryComment?: string | {
534
949
  amd?: string | undefined;
535
950
  commonjs?: string | undefined;
@@ -581,6 +996,7 @@ declare const output: z.ZodObject<{
581
996
  root?: string | string[] | undefined;
582
997
  } | {
583
998
  type: string;
999
+ amdContainer?: string | undefined;
584
1000
  auxiliaryComment?: string | {
585
1001
  amd?: string | undefined;
586
1002
  commonjs?: string | undefined;
@@ -598,6 +1014,7 @@ declare const output: z.ZodObject<{
598
1014
  libraryExport?: string | string[] | undefined;
599
1015
  libraryTarget?: string | undefined;
600
1016
  umdNamedDefine?: boolean | undefined;
1017
+ amdContainer?: string | undefined;
601
1018
  auxiliaryComment?: string | {
602
1019
  amd?: string | undefined;
603
1020
  commonjs?: string | undefined;
@@ -1812,6 +2229,7 @@ declare const statsOptions: z.ZodObject<{
1812
2229
  logging: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["none", "error", "warn", "info", "log", "verbose"]>, z.ZodBoolean]>>;
1813
2230
  loggingDebug: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodType<RegExp, z.ZodTypeDef, RegExp>, z.ZodString]>, z.ZodFunction<z.ZodTuple<[z.ZodString], z.ZodUnknown>, z.ZodBoolean>]>, "many">, z.ZodUnion<[z.ZodUnion<[z.ZodType<RegExp, z.ZodTypeDef, RegExp>, z.ZodString]>, z.ZodFunction<z.ZodTuple<[z.ZodString], z.ZodUnknown>, z.ZodBoolean>]>]>]>>;
1814
2231
  loggingTrace: z.ZodOptional<z.ZodBoolean>;
2232
+ runtimeModules: z.ZodOptional<z.ZodBoolean>;
1815
2233
  }, "strict", z.ZodTypeAny, {
1816
2234
  all?: boolean | undefined;
1817
2235
  preset?: "normal" | "none" | "verbose" | "errors-only" | "errors-warnings" | undefined;
@@ -1842,6 +2260,7 @@ declare const statsOptions: z.ZodObject<{
1842
2260
  logging?: boolean | "none" | "verbose" | "error" | "warn" | "info" | "log" | undefined;
1843
2261
  loggingDebug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
1844
2262
  loggingTrace?: boolean | undefined;
2263
+ runtimeModules?: boolean | undefined;
1845
2264
  }, {
1846
2265
  all?: boolean | undefined;
1847
2266
  preset?: "normal" | "none" | "verbose" | "errors-only" | "errors-warnings" | undefined;
@@ -1872,6 +2291,7 @@ declare const statsOptions: z.ZodObject<{
1872
2291
  logging?: boolean | "none" | "verbose" | "error" | "warn" | "info" | "log" | undefined;
1873
2292
  loggingDebug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
1874
2293
  loggingTrace?: boolean | undefined;
2294
+ runtimeModules?: boolean | undefined;
1875
2295
  }>;
1876
2296
  export type StatsOptions = z.infer<typeof statsOptions>;
1877
2297
  declare const statsValue: z.ZodUnion<[z.ZodUnion<[z.ZodEnum<["none", "errors-only", "errors-warnings", "normal", "verbose"]>, z.ZodBoolean]>, z.ZodObject<{
@@ -1904,6 +2324,7 @@ declare const statsValue: z.ZodUnion<[z.ZodUnion<[z.ZodEnum<["none", "errors-onl
1904
2324
  logging: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["none", "error", "warn", "info", "log", "verbose"]>, z.ZodBoolean]>>;
1905
2325
  loggingDebug: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodType<RegExp, z.ZodTypeDef, RegExp>, z.ZodString]>, z.ZodFunction<z.ZodTuple<[z.ZodString], z.ZodUnknown>, z.ZodBoolean>]>, "many">, z.ZodUnion<[z.ZodUnion<[z.ZodType<RegExp, z.ZodTypeDef, RegExp>, z.ZodString]>, z.ZodFunction<z.ZodTuple<[z.ZodString], z.ZodUnknown>, z.ZodBoolean>]>]>]>>;
1906
2326
  loggingTrace: z.ZodOptional<z.ZodBoolean>;
2327
+ runtimeModules: z.ZodOptional<z.ZodBoolean>;
1907
2328
  }, "strict", z.ZodTypeAny, {
1908
2329
  all?: boolean | undefined;
1909
2330
  preset?: "normal" | "none" | "verbose" | "errors-only" | "errors-warnings" | undefined;
@@ -1934,6 +2355,7 @@ declare const statsValue: z.ZodUnion<[z.ZodUnion<[z.ZodEnum<["none", "errors-onl
1934
2355
  logging?: boolean | "none" | "verbose" | "error" | "warn" | "info" | "log" | undefined;
1935
2356
  loggingDebug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
1936
2357
  loggingTrace?: boolean | undefined;
2358
+ runtimeModules?: boolean | undefined;
1937
2359
  }, {
1938
2360
  all?: boolean | undefined;
1939
2361
  preset?: "normal" | "none" | "verbose" | "errors-only" | "errors-warnings" | undefined;
@@ -1964,6 +2386,7 @@ declare const statsValue: z.ZodUnion<[z.ZodUnion<[z.ZodEnum<["none", "errors-onl
1964
2386
  logging?: boolean | "none" | "verbose" | "error" | "warn" | "info" | "log" | undefined;
1965
2387
  loggingDebug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
1966
2388
  loggingTrace?: boolean | undefined;
2389
+ runtimeModules?: boolean | undefined;
1967
2390
  }>]>;
1968
2391
  export type StatsValue = z.infer<typeof statsValue>;
1969
2392
  export interface RspackPluginInstance {
@@ -2552,6 +2975,73 @@ export declare const rspackOptions: z.ZodObject<{
2552
2975
  asyncChunks: z.ZodOptional<z.ZodBoolean>;
2553
2976
  wasmLoading: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodUnion<[z.ZodEnum<["fetch-streaming", "fetch", "async-node"]>, z.ZodString]>]>>;
2554
2977
  filename: z.ZodOptional<z.ZodString>;
2978
+ library: z.ZodOptional<z.ZodObject<{
2979
+ amdContainer: z.ZodOptional<z.ZodString>;
2980
+ auxiliaryComment: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
2981
+ amd: z.ZodOptional<z.ZodString>;
2982
+ commonjs: z.ZodOptional<z.ZodString>;
2983
+ commonjs2: z.ZodOptional<z.ZodString>;
2984
+ root: z.ZodOptional<z.ZodString>;
2985
+ }, "strict", z.ZodTypeAny, {
2986
+ amd?: string | undefined;
2987
+ commonjs?: string | undefined;
2988
+ commonjs2?: string | undefined;
2989
+ root?: string | undefined;
2990
+ }, {
2991
+ amd?: string | undefined;
2992
+ commonjs?: string | undefined;
2993
+ commonjs2?: string | undefined;
2994
+ root?: string | undefined;
2995
+ }>]>>;
2996
+ export: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
2997
+ name: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
2998
+ amd: z.ZodOptional<z.ZodString>;
2999
+ commonjs: z.ZodOptional<z.ZodString>;
3000
+ root: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
3001
+ }, "strict", z.ZodTypeAny, {
3002
+ amd?: string | undefined;
3003
+ commonjs?: string | undefined;
3004
+ root?: string | string[] | undefined;
3005
+ }, {
3006
+ amd?: string | undefined;
3007
+ commonjs?: string | undefined;
3008
+ root?: string | string[] | undefined;
3009
+ }>]>>;
3010
+ 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]>;
3011
+ umdNamedDefine: z.ZodOptional<z.ZodBoolean>;
3012
+ }, "strict", z.ZodTypeAny, {
3013
+ type: string;
3014
+ amdContainer?: string | undefined;
3015
+ auxiliaryComment?: string | {
3016
+ amd?: string | undefined;
3017
+ commonjs?: string | undefined;
3018
+ commonjs2?: string | undefined;
3019
+ root?: string | undefined;
3020
+ } | undefined;
3021
+ export?: string | string[] | undefined;
3022
+ name?: string | string[] | {
3023
+ amd?: string | undefined;
3024
+ commonjs?: string | undefined;
3025
+ root?: string | string[] | undefined;
3026
+ } | undefined;
3027
+ umdNamedDefine?: boolean | undefined;
3028
+ }, {
3029
+ type: string;
3030
+ amdContainer?: string | undefined;
3031
+ auxiliaryComment?: string | {
3032
+ amd?: string | undefined;
3033
+ commonjs?: string | undefined;
3034
+ commonjs2?: string | undefined;
3035
+ root?: string | undefined;
3036
+ } | undefined;
3037
+ export?: string | string[] | undefined;
3038
+ name?: string | string[] | {
3039
+ amd?: string | undefined;
3040
+ commonjs?: string | undefined;
3041
+ root?: string | string[] | undefined;
3042
+ } | undefined;
3043
+ umdNamedDefine?: boolean | undefined;
3044
+ }>>;
2555
3045
  }, "strict", z.ZodTypeAny, {
2556
3046
  import: (string | string[]) & (string | string[] | undefined);
2557
3047
  runtime?: string | false | undefined;
@@ -2561,6 +3051,23 @@ export declare const rspackOptions: z.ZodObject<{
2561
3051
  asyncChunks?: boolean | undefined;
2562
3052
  wasmLoading?: string | false | undefined;
2563
3053
  filename?: string | undefined;
3054
+ library?: {
3055
+ type: string;
3056
+ amdContainer?: string | undefined;
3057
+ auxiliaryComment?: string | {
3058
+ amd?: string | undefined;
3059
+ commonjs?: string | undefined;
3060
+ commonjs2?: string | undefined;
3061
+ root?: string | undefined;
3062
+ } | undefined;
3063
+ export?: string | string[] | undefined;
3064
+ name?: string | string[] | {
3065
+ amd?: string | undefined;
3066
+ commonjs?: string | undefined;
3067
+ root?: string | string[] | undefined;
3068
+ } | undefined;
3069
+ umdNamedDefine?: boolean | undefined;
3070
+ } | undefined;
2564
3071
  }, {
2565
3072
  import: (string | string[]) & (string | string[] | undefined);
2566
3073
  runtime?: string | false | undefined;
@@ -2570,6 +3077,23 @@ export declare const rspackOptions: z.ZodObject<{
2570
3077
  asyncChunks?: boolean | undefined;
2571
3078
  wasmLoading?: string | false | undefined;
2572
3079
  filename?: string | undefined;
3080
+ library?: {
3081
+ type: string;
3082
+ amdContainer?: string | undefined;
3083
+ auxiliaryComment?: string | {
3084
+ amd?: string | undefined;
3085
+ commonjs?: string | undefined;
3086
+ commonjs2?: string | undefined;
3087
+ root?: string | undefined;
3088
+ } | undefined;
3089
+ export?: string | string[] | undefined;
3090
+ name?: string | string[] | {
3091
+ amd?: string | undefined;
3092
+ commonjs?: string | undefined;
3093
+ root?: string | string[] | undefined;
3094
+ } | undefined;
3095
+ umdNamedDefine?: boolean | undefined;
3096
+ } | undefined;
2573
3097
  }>]>>, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>]>>;
2574
3098
  output: z.ZodOptional<z.ZodObject<{
2575
3099
  path: z.ZodOptional<z.ZodString>;
@@ -2600,6 +3124,7 @@ export declare const rspackOptions: z.ZodObject<{
2600
3124
  commonjs?: string | undefined;
2601
3125
  root?: string | string[] | undefined;
2602
3126
  }>]>, z.ZodObject<{
3127
+ amdContainer: z.ZodOptional<z.ZodString>;
2603
3128
  auxiliaryComment: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
2604
3129
  amd: z.ZodOptional<z.ZodString>;
2605
3130
  commonjs: z.ZodOptional<z.ZodString>;
@@ -2634,6 +3159,7 @@ export declare const rspackOptions: z.ZodObject<{
2634
3159
  umdNamedDefine: z.ZodOptional<z.ZodBoolean>;
2635
3160
  }, "strict", z.ZodTypeAny, {
2636
3161
  type: string;
3162
+ amdContainer?: string | undefined;
2637
3163
  auxiliaryComment?: string | {
2638
3164
  amd?: string | undefined;
2639
3165
  commonjs?: string | undefined;
@@ -2649,6 +3175,7 @@ export declare const rspackOptions: z.ZodObject<{
2649
3175
  umdNamedDefine?: boolean | undefined;
2650
3176
  }, {
2651
3177
  type: string;
3178
+ amdContainer?: string | undefined;
2652
3179
  auxiliaryComment?: string | {
2653
3180
  amd?: string | undefined;
2654
3181
  commonjs?: string | undefined;
@@ -2666,6 +3193,7 @@ export declare const rspackOptions: z.ZodObject<{
2666
3193
  libraryExport: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
2667
3194
  libraryTarget: z.ZodOptional<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]>>;
2668
3195
  umdNamedDefine: z.ZodOptional<z.ZodBoolean>;
3196
+ amdContainer: z.ZodOptional<z.ZodString>;
2669
3197
  auxiliaryComment: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
2670
3198
  amd: z.ZodOptional<z.ZodString>;
2671
3199
  commonjs: z.ZodOptional<z.ZodString>;
@@ -2731,6 +3259,7 @@ export declare const rspackOptions: z.ZodObject<{
2731
3259
  root?: string | string[] | undefined;
2732
3260
  } | {
2733
3261
  type: string;
3262
+ amdContainer?: string | undefined;
2734
3263
  auxiliaryComment?: string | {
2735
3264
  amd?: string | undefined;
2736
3265
  commonjs?: string | undefined;
@@ -2748,6 +3277,7 @@ export declare const rspackOptions: z.ZodObject<{
2748
3277
  libraryExport?: string | string[] | undefined;
2749
3278
  libraryTarget?: string | undefined;
2750
3279
  umdNamedDefine?: boolean | undefined;
3280
+ amdContainer?: string | undefined;
2751
3281
  auxiliaryComment?: string | {
2752
3282
  amd?: string | undefined;
2753
3283
  commonjs?: string | undefined;
@@ -2799,6 +3329,7 @@ export declare const rspackOptions: z.ZodObject<{
2799
3329
  root?: string | string[] | undefined;
2800
3330
  } | {
2801
3331
  type: string;
3332
+ amdContainer?: string | undefined;
2802
3333
  auxiliaryComment?: string | {
2803
3334
  amd?: string | undefined;
2804
3335
  commonjs?: string | undefined;
@@ -2816,6 +3347,7 @@ export declare const rspackOptions: z.ZodObject<{
2816
3347
  libraryExport?: string | string[] | undefined;
2817
3348
  libraryTarget?: string | undefined;
2818
3349
  umdNamedDefine?: boolean | undefined;
3350
+ amdContainer?: string | undefined;
2819
3351
  auxiliaryComment?: string | {
2820
3352
  amd?: string | undefined;
2821
3353
  commonjs?: string | undefined;
@@ -3078,6 +3610,7 @@ export declare const rspackOptions: z.ZodObject<{
3078
3610
  logging: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["none", "error", "warn", "info", "log", "verbose"]>, z.ZodBoolean]>>;
3079
3611
  loggingDebug: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodType<RegExp, z.ZodTypeDef, RegExp>, z.ZodString]>, z.ZodFunction<z.ZodTuple<[z.ZodString], z.ZodUnknown>, z.ZodBoolean>]>, "many">, z.ZodUnion<[z.ZodUnion<[z.ZodType<RegExp, z.ZodTypeDef, RegExp>, z.ZodString]>, z.ZodFunction<z.ZodTuple<[z.ZodString], z.ZodUnknown>, z.ZodBoolean>]>]>]>>;
3080
3612
  loggingTrace: z.ZodOptional<z.ZodBoolean>;
3613
+ runtimeModules: z.ZodOptional<z.ZodBoolean>;
3081
3614
  }, "strict", z.ZodTypeAny, {
3082
3615
  all?: boolean | undefined;
3083
3616
  preset?: "normal" | "none" | "verbose" | "errors-only" | "errors-warnings" | undefined;
@@ -3108,6 +3641,7 @@ export declare const rspackOptions: z.ZodObject<{
3108
3641
  logging?: boolean | "none" | "verbose" | "error" | "warn" | "info" | "log" | undefined;
3109
3642
  loggingDebug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
3110
3643
  loggingTrace?: boolean | undefined;
3644
+ runtimeModules?: boolean | undefined;
3111
3645
  }, {
3112
3646
  all?: boolean | undefined;
3113
3647
  preset?: "normal" | "none" | "verbose" | "errors-only" | "errors-warnings" | undefined;
@@ -3138,6 +3672,7 @@ export declare const rspackOptions: z.ZodObject<{
3138
3672
  logging?: boolean | "none" | "verbose" | "error" | "warn" | "info" | "log" | undefined;
3139
3673
  loggingDebug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
3140
3674
  loggingTrace?: boolean | undefined;
3675
+ runtimeModules?: boolean | undefined;
3141
3676
  }>]>>;
3142
3677
  snapshot: z.ZodOptional<z.ZodObject<{
3143
3678
  module: z.ZodOptional<z.ZodObject<{
@@ -3664,6 +4199,23 @@ export declare const rspackOptions: z.ZodObject<{
3664
4199
  asyncChunks?: boolean | undefined;
3665
4200
  wasmLoading?: string | false | undefined;
3666
4201
  filename?: string | undefined;
4202
+ library?: {
4203
+ type: string;
4204
+ amdContainer?: string | undefined;
4205
+ auxiliaryComment?: string | {
4206
+ amd?: string | undefined;
4207
+ commonjs?: string | undefined;
4208
+ commonjs2?: string | undefined;
4209
+ root?: string | undefined;
4210
+ } | undefined;
4211
+ export?: string | string[] | undefined;
4212
+ name?: string | string[] | {
4213
+ amd?: string | undefined;
4214
+ commonjs?: string | undefined;
4215
+ root?: string | string[] | undefined;
4216
+ } | undefined;
4217
+ umdNamedDefine?: boolean | undefined;
4218
+ } | undefined;
3667
4219
  }> | undefined;
3668
4220
  output?: {
3669
4221
  path?: string | undefined;
@@ -3687,6 +4239,7 @@ export declare const rspackOptions: z.ZodObject<{
3687
4239
  root?: string | string[] | undefined;
3688
4240
  } | {
3689
4241
  type: string;
4242
+ amdContainer?: string | undefined;
3690
4243
  auxiliaryComment?: string | {
3691
4244
  amd?: string | undefined;
3692
4245
  commonjs?: string | undefined;
@@ -3704,6 +4257,7 @@ export declare const rspackOptions: z.ZodObject<{
3704
4257
  libraryExport?: string | string[] | undefined;
3705
4258
  libraryTarget?: string | undefined;
3706
4259
  umdNamedDefine?: boolean | undefined;
4260
+ amdContainer?: string | undefined;
3707
4261
  auxiliaryComment?: string | {
3708
4262
  amd?: string | undefined;
3709
4263
  commonjs?: string | undefined;
@@ -3758,7 +4312,7 @@ export declare const rspackOptions: z.ZodObject<{
3758
4312
  context?: string | undefined;
3759
4313
  dependencyType?: string | undefined;
3760
4314
  request?: string | undefined;
3761
- }, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | Record<string, string | string[]> | undefined, args_2: "promise" | "jsonp" | "import" | "var" | "module" | "assign" | "this" | "window" | "self" | "global" | "commonjs" | "commonjs2" | "commonjs-module" | "commonjs-static" | "amd" | "amd-require" | "umd" | "umd2" | "system" | "script" | "node-commonjs" | undefined, ...args_3: unknown[]) => void, ...args_2: unknown[]) => unknown) | ((args_0: {
4315
+ }, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | Record<string, string | string[]> | undefined, args_2: "promise" | "jsonp" | "import" | "amd" | "commonjs" | "commonjs2" | "var" | "module" | "assign" | "this" | "window" | "self" | "global" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd" | "umd2" | "system" | "script" | "node-commonjs" | undefined, ...args_3: unknown[]) => void, ...args_2: unknown[]) => unknown) | ((args_0: {
3762
4316
  context?: string | undefined;
3763
4317
  dependencyType?: string | undefined;
3764
4318
  request?: string | undefined;
@@ -3766,12 +4320,12 @@ export declare const rspackOptions: z.ZodObject<{
3766
4320
  context?: string | undefined;
3767
4321
  dependencyType?: string | undefined;
3768
4322
  request?: string | undefined;
3769
- }, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | Record<string, string | string[]> | undefined, args_2: "promise" | "jsonp" | "import" | "var" | "module" | "assign" | "this" | "window" | "self" | "global" | "commonjs" | "commonjs2" | "commonjs-module" | "commonjs-static" | "amd" | "amd-require" | "umd" | "umd2" | "system" | "script" | "node-commonjs" | undefined, ...args_3: unknown[]) => void, ...args_2: unknown[]) => unknown) | ((args_0: {
4323
+ }, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | Record<string, string | string[]> | undefined, args_2: "promise" | "jsonp" | "import" | "amd" | "commonjs" | "commonjs2" | "var" | "module" | "assign" | "this" | "window" | "self" | "global" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd" | "umd2" | "system" | "script" | "node-commonjs" | undefined, ...args_3: unknown[]) => void, ...args_2: unknown[]) => unknown) | ((args_0: {
3770
4324
  context?: string | undefined;
3771
4325
  dependencyType?: string | undefined;
3772
4326
  request?: string | undefined;
3773
4327
  }, ...args_1: unknown[]) => Promise<string | boolean | string[] | Record<string, string | string[]>>))[] | undefined;
3774
- externalsType?: "promise" | "jsonp" | "import" | "var" | "module" | "assign" | "this" | "window" | "self" | "global" | "commonjs" | "commonjs2" | "commonjs-module" | "commonjs-static" | "amd" | "amd-require" | "umd" | "umd2" | "system" | "script" | "node-commonjs" | undefined;
4328
+ externalsType?: "promise" | "jsonp" | "import" | "amd" | "commonjs" | "commonjs2" | "var" | "module" | "assign" | "this" | "window" | "self" | "global" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd" | "umd2" | "system" | "script" | "node-commonjs" | undefined;
3775
4329
  externalsPresets?: {
3776
4330
  node?: boolean | undefined;
3777
4331
  web?: boolean | undefined;
@@ -3836,6 +4390,7 @@ export declare const rspackOptions: z.ZodObject<{
3836
4390
  logging?: boolean | "none" | "verbose" | "error" | "warn" | "info" | "log" | undefined;
3837
4391
  loggingDebug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
3838
4392
  loggingTrace?: boolean | undefined;
4393
+ runtimeModules?: boolean | undefined;
3839
4394
  } | undefined;
3840
4395
  snapshot?: {
3841
4396
  module?: {
@@ -3948,6 +4503,23 @@ export declare const rspackOptions: z.ZodObject<{
3948
4503
  asyncChunks?: boolean | undefined;
3949
4504
  wasmLoading?: string | false | undefined;
3950
4505
  filename?: string | undefined;
4506
+ library?: {
4507
+ type: string;
4508
+ amdContainer?: string | undefined;
4509
+ auxiliaryComment?: string | {
4510
+ amd?: string | undefined;
4511
+ commonjs?: string | undefined;
4512
+ commonjs2?: string | undefined;
4513
+ root?: string | undefined;
4514
+ } | undefined;
4515
+ export?: string | string[] | undefined;
4516
+ name?: string | string[] | {
4517
+ amd?: string | undefined;
4518
+ commonjs?: string | undefined;
4519
+ root?: string | string[] | undefined;
4520
+ } | undefined;
4521
+ umdNamedDefine?: boolean | undefined;
4522
+ } | undefined;
3951
4523
  }> | undefined;
3952
4524
  output?: {
3953
4525
  path?: string | undefined;
@@ -3971,6 +4543,7 @@ export declare const rspackOptions: z.ZodObject<{
3971
4543
  root?: string | string[] | undefined;
3972
4544
  } | {
3973
4545
  type: string;
4546
+ amdContainer?: string | undefined;
3974
4547
  auxiliaryComment?: string | {
3975
4548
  amd?: string | undefined;
3976
4549
  commonjs?: string | undefined;
@@ -3988,6 +4561,7 @@ export declare const rspackOptions: z.ZodObject<{
3988
4561
  libraryExport?: string | string[] | undefined;
3989
4562
  libraryTarget?: string | undefined;
3990
4563
  umdNamedDefine?: boolean | undefined;
4564
+ amdContainer?: string | undefined;
3991
4565
  auxiliaryComment?: string | {
3992
4566
  amd?: string | undefined;
3993
4567
  commonjs?: string | undefined;
@@ -4042,7 +4616,7 @@ export declare const rspackOptions: z.ZodObject<{
4042
4616
  context?: string | undefined;
4043
4617
  dependencyType?: string | undefined;
4044
4618
  request?: string | undefined;
4045
- }, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | Record<string, string | string[]> | undefined, args_2: "promise" | "jsonp" | "import" | "var" | "module" | "assign" | "this" | "window" | "self" | "global" | "commonjs" | "commonjs2" | "commonjs-module" | "commonjs-static" | "amd" | "amd-require" | "umd" | "umd2" | "system" | "script" | "node-commonjs" | undefined, ...args_3: unknown[]) => void, ...args_2: unknown[]) => unknown) | ((args_0: {
4619
+ }, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | Record<string, string | string[]> | undefined, args_2: "promise" | "jsonp" | "import" | "amd" | "commonjs" | "commonjs2" | "var" | "module" | "assign" | "this" | "window" | "self" | "global" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd" | "umd2" | "system" | "script" | "node-commonjs" | undefined, ...args_3: unknown[]) => void, ...args_2: unknown[]) => unknown) | ((args_0: {
4046
4620
  context?: string | undefined;
4047
4621
  dependencyType?: string | undefined;
4048
4622
  request?: string | undefined;
@@ -4050,12 +4624,12 @@ export declare const rspackOptions: z.ZodObject<{
4050
4624
  context?: string | undefined;
4051
4625
  dependencyType?: string | undefined;
4052
4626
  request?: string | undefined;
4053
- }, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | Record<string, string | string[]> | undefined, args_2: "promise" | "jsonp" | "import" | "var" | "module" | "assign" | "this" | "window" | "self" | "global" | "commonjs" | "commonjs2" | "commonjs-module" | "commonjs-static" | "amd" | "amd-require" | "umd" | "umd2" | "system" | "script" | "node-commonjs" | undefined, ...args_3: unknown[]) => void, ...args_2: unknown[]) => unknown) | ((args_0: {
4627
+ }, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | Record<string, string | string[]> | undefined, args_2: "promise" | "jsonp" | "import" | "amd" | "commonjs" | "commonjs2" | "var" | "module" | "assign" | "this" | "window" | "self" | "global" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd" | "umd2" | "system" | "script" | "node-commonjs" | undefined, ...args_3: unknown[]) => void, ...args_2: unknown[]) => unknown) | ((args_0: {
4054
4628
  context?: string | undefined;
4055
4629
  dependencyType?: string | undefined;
4056
4630
  request?: string | undefined;
4057
4631
  }, ...args_1: unknown[]) => Promise<string | boolean | string[] | Record<string, string | string[]>>))[] | undefined;
4058
- externalsType?: "promise" | "jsonp" | "import" | "var" | "module" | "assign" | "this" | "window" | "self" | "global" | "commonjs" | "commonjs2" | "commonjs-module" | "commonjs-static" | "amd" | "amd-require" | "umd" | "umd2" | "system" | "script" | "node-commonjs" | undefined;
4632
+ externalsType?: "promise" | "jsonp" | "import" | "amd" | "commonjs" | "commonjs2" | "var" | "module" | "assign" | "this" | "window" | "self" | "global" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd" | "umd2" | "system" | "script" | "node-commonjs" | undefined;
4059
4633
  externalsPresets?: {
4060
4634
  node?: boolean | undefined;
4061
4635
  web?: boolean | undefined;
@@ -4120,6 +4694,7 @@ export declare const rspackOptions: z.ZodObject<{
4120
4694
  logging?: boolean | "none" | "verbose" | "error" | "warn" | "info" | "log" | undefined;
4121
4695
  loggingDebug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
4122
4696
  loggingTrace?: boolean | undefined;
4697
+ runtimeModules?: boolean | undefined;
4123
4698
  } | undefined;
4124
4699
  snapshot?: {
4125
4700
  module?: {