@rspack/core 1.0.14 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/compiled/@swc/types/index.d.ts +1962 -0
- package/compiled/@swc/types/index.js +19 -0
- package/compiled/@swc/types/license +201 -0
- package/compiled/@swc/types/package.json +1 -0
- package/compiled/enhanced-resolve/CachedInputFileSystem.js +267 -80
- package/compiled/enhanced-resolve/index.d.ts +849 -236
- package/compiled/enhanced-resolve/package.json +1 -1
- package/compiled/graceful-fs/index.js +10 -10
- package/compiled/graceful-fs/package.json +1 -1
- package/compiled/zod/index.d.ts +2 -2
- package/dist/Compilation.d.ts +7 -18
- package/dist/DependenciesBlock.d.ts +6 -4
- package/dist/FileSystem.d.ts +7 -2
- package/dist/Module.d.ts +17 -14
- package/dist/builtin-loader/swc/types.d.ts +9 -435
- package/dist/builtin-plugin/EntryPlugin.d.ts +14 -11
- package/dist/builtin-plugin/FlagDependencyUsagePlugin.d.ts +10 -10
- package/dist/builtin-plugin/HtmlRspackPlugin.d.ts +1 -1
- package/dist/builtin-plugin/MangleExportsPlugin.d.ts +10 -10
- package/dist/builtin-plugin/ModuleConcatenationPlugin.d.ts +8 -10
- package/dist/builtin-plugin/RemoveDuplicateModulesPlugin.d.ts +10 -0
- package/dist/builtin-plugin/SizeLimitsPlugin.d.ts +8 -8
- package/dist/builtin-plugin/SplitChunksPlugin.d.ts +1 -1
- package/dist/builtin-plugin/index.d.ts +4 -2
- package/dist/builtin-plugin/lazy-compilation/lazyCompilation.d.ts +3 -3
- package/dist/builtin-plugin/lazy-compilation/plugin.d.ts +3 -3
- package/dist/config/adapter.d.ts +1 -1
- package/dist/config/adapterRuleUse.d.ts +1 -1
- package/dist/config/index.d.ts +1 -0
- package/dist/config/normalization.d.ts +4 -11
- package/dist/config/types.d.ts +417 -9
- package/dist/config/zod.d.ts +1044 -1303
- package/dist/exports.d.ts +4 -2
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1023 -5103
- package/dist/util/ArrayQueue.d.ts +1 -9
- package/dist/util/asyncLib.d.ts +54 -0
- package/package.json +9 -9
- package/dist/builtin-loader/swc/react.d.ts +0 -15
- package/dist/lib/Dependency.d.ts +0 -23
- package/dist/lib/formatLocation.d.ts +0 -16
- package/dist/logging/runtime.d.ts +0 -16
- package/dist/util/IterableHelpers.d.ts +0 -12
- package/dist/util/scheme.d.ts +0 -6
- package/dist/util/webpack.d.ts +0 -4
- /package/dist/builtin-plugin/{LightningCssMiminizerRspackPlugin.d.ts → LightningCssMinimizerRspackPlugin.d.ts} +0 -0
package/dist/config/zod.d.ts
CHANGED
|
@@ -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;
|
|
@@ -543,59 +88,59 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
543
88
|
layer: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
544
89
|
}, "strict", z.ZodTypeAny, {
|
|
545
90
|
import: string | string[];
|
|
91
|
+
layer?: string | null | undefined;
|
|
546
92
|
filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
547
93
|
publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
548
|
-
layer?: string | null | undefined;
|
|
549
94
|
runtime?: string | false | undefined;
|
|
550
|
-
baseUri?: string | undefined;
|
|
551
95
|
chunkLoading?: string | false | undefined;
|
|
552
96
|
asyncChunks?: boolean | undefined;
|
|
553
|
-
|
|
97
|
+
baseUri?: string | undefined;
|
|
554
98
|
library?: {
|
|
555
99
|
type: string;
|
|
556
100
|
name?: string | string[] | {
|
|
101
|
+
root?: string | string[] | undefined;
|
|
557
102
|
commonjs?: string | undefined;
|
|
558
103
|
amd?: string | undefined;
|
|
559
|
-
root?: string | string[] | undefined;
|
|
560
104
|
} | undefined;
|
|
561
105
|
amdContainer?: string | undefined;
|
|
562
106
|
auxiliaryComment?: string | {
|
|
107
|
+
root?: string | undefined;
|
|
563
108
|
commonjs?: string | undefined;
|
|
564
109
|
amd?: string | undefined;
|
|
565
110
|
commonjs2?: string | undefined;
|
|
566
|
-
root?: string | undefined;
|
|
567
111
|
} | undefined;
|
|
568
112
|
export?: string | string[] | undefined;
|
|
569
113
|
umdNamedDefine?: boolean | undefined;
|
|
570
114
|
} | undefined;
|
|
115
|
+
wasmLoading?: string | false | undefined;
|
|
571
116
|
dependOn?: string | string[] | undefined;
|
|
572
117
|
}, {
|
|
573
118
|
import: string | string[];
|
|
119
|
+
layer?: string | null | undefined;
|
|
574
120
|
filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
575
121
|
publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
576
|
-
layer?: string | null | undefined;
|
|
577
122
|
runtime?: string | false | undefined;
|
|
578
|
-
baseUri?: string | undefined;
|
|
579
123
|
chunkLoading?: string | false | undefined;
|
|
580
124
|
asyncChunks?: boolean | undefined;
|
|
581
|
-
|
|
125
|
+
baseUri?: string | undefined;
|
|
582
126
|
library?: {
|
|
583
127
|
type: string;
|
|
584
128
|
name?: string | string[] | {
|
|
129
|
+
root?: string | string[] | undefined;
|
|
585
130
|
commonjs?: string | undefined;
|
|
586
131
|
amd?: string | undefined;
|
|
587
|
-
root?: string | string[] | undefined;
|
|
588
132
|
} | undefined;
|
|
589
133
|
amdContainer?: string | undefined;
|
|
590
134
|
auxiliaryComment?: string | {
|
|
135
|
+
root?: string | undefined;
|
|
591
136
|
commonjs?: string | undefined;
|
|
592
137
|
amd?: string | undefined;
|
|
593
138
|
commonjs2?: string | undefined;
|
|
594
|
-
root?: string | undefined;
|
|
595
139
|
} | undefined;
|
|
596
140
|
export?: string | string[] | undefined;
|
|
597
141
|
umdNamedDefine?: boolean | undefined;
|
|
598
142
|
} | undefined;
|
|
143
|
+
wasmLoading?: string | false | undefined;
|
|
599
144
|
dependOn?: string | string[] | 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">]>;
|
|
@@ -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;
|
|
@@ -677,59 +222,59 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
677
222
|
layer: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
678
223
|
}, "strict", z.ZodTypeAny, {
|
|
679
224
|
import: string | string[];
|
|
225
|
+
layer?: string | null | undefined;
|
|
680
226
|
filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
681
227
|
publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
682
|
-
layer?: string | null | undefined;
|
|
683
228
|
runtime?: string | false | undefined;
|
|
684
|
-
baseUri?: string | undefined;
|
|
685
229
|
chunkLoading?: string | false | undefined;
|
|
686
230
|
asyncChunks?: boolean | undefined;
|
|
687
|
-
|
|
231
|
+
baseUri?: string | undefined;
|
|
688
232
|
library?: {
|
|
689
233
|
type: string;
|
|
690
234
|
name?: string | string[] | {
|
|
235
|
+
root?: string | string[] | undefined;
|
|
691
236
|
commonjs?: string | undefined;
|
|
692
237
|
amd?: string | undefined;
|
|
693
|
-
root?: string | string[] | undefined;
|
|
694
238
|
} | undefined;
|
|
695
239
|
amdContainer?: string | undefined;
|
|
696
240
|
auxiliaryComment?: string | {
|
|
241
|
+
root?: string | undefined;
|
|
697
242
|
commonjs?: string | undefined;
|
|
698
243
|
amd?: string | undefined;
|
|
699
244
|
commonjs2?: string | undefined;
|
|
700
|
-
root?: string | undefined;
|
|
701
245
|
} | undefined;
|
|
702
246
|
export?: string | string[] | undefined;
|
|
703
247
|
umdNamedDefine?: boolean | undefined;
|
|
704
248
|
} | undefined;
|
|
249
|
+
wasmLoading?: string | false | undefined;
|
|
705
250
|
dependOn?: string | string[] | undefined;
|
|
706
251
|
}, {
|
|
707
252
|
import: string | string[];
|
|
253
|
+
layer?: string | null | undefined;
|
|
708
254
|
filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
709
255
|
publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
710
|
-
layer?: string | null | undefined;
|
|
711
256
|
runtime?: string | false | undefined;
|
|
712
|
-
baseUri?: string | undefined;
|
|
713
257
|
chunkLoading?: string | false | undefined;
|
|
714
258
|
asyncChunks?: boolean | undefined;
|
|
715
|
-
|
|
259
|
+
baseUri?: string | undefined;
|
|
716
260
|
library?: {
|
|
717
261
|
type: string;
|
|
718
262
|
name?: string | string[] | {
|
|
263
|
+
root?: string | string[] | undefined;
|
|
719
264
|
commonjs?: string | undefined;
|
|
720
265
|
amd?: string | undefined;
|
|
721
|
-
root?: string | string[] | undefined;
|
|
722
266
|
} | undefined;
|
|
723
267
|
amdContainer?: string | undefined;
|
|
724
268
|
auxiliaryComment?: string | {
|
|
269
|
+
root?: string | undefined;
|
|
725
270
|
commonjs?: string | undefined;
|
|
726
271
|
amd?: string | undefined;
|
|
727
272
|
commonjs2?: string | undefined;
|
|
728
|
-
root?: string | undefined;
|
|
729
273
|
} | undefined;
|
|
730
274
|
export?: string | string[] | undefined;
|
|
731
275
|
umdNamedDefine?: boolean | undefined;
|
|
732
276
|
} | undefined;
|
|
277
|
+
wasmLoading?: string | false | undefined;
|
|
733
278
|
dependOn?: string | string[] | 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">]>;
|
|
@@ -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;
|
|
@@ -811,59 +356,59 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
811
356
|
layer: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
812
357
|
}, "strict", z.ZodTypeAny, {
|
|
813
358
|
import: string | string[];
|
|
359
|
+
layer?: string | null | undefined;
|
|
814
360
|
filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
815
361
|
publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
816
|
-
layer?: string | null | undefined;
|
|
817
362
|
runtime?: string | false | undefined;
|
|
818
|
-
baseUri?: string | undefined;
|
|
819
363
|
chunkLoading?: string | false | undefined;
|
|
820
364
|
asyncChunks?: boolean | undefined;
|
|
821
|
-
|
|
365
|
+
baseUri?: string | undefined;
|
|
822
366
|
library?: {
|
|
823
367
|
type: string;
|
|
824
368
|
name?: string | string[] | {
|
|
369
|
+
root?: string | string[] | undefined;
|
|
825
370
|
commonjs?: string | undefined;
|
|
826
371
|
amd?: string | undefined;
|
|
827
|
-
root?: string | string[] | undefined;
|
|
828
372
|
} | undefined;
|
|
829
373
|
amdContainer?: string | undefined;
|
|
830
374
|
auxiliaryComment?: string | {
|
|
375
|
+
root?: string | undefined;
|
|
831
376
|
commonjs?: string | undefined;
|
|
832
377
|
amd?: string | undefined;
|
|
833
378
|
commonjs2?: string | undefined;
|
|
834
|
-
root?: string | undefined;
|
|
835
379
|
} | undefined;
|
|
836
380
|
export?: string | string[] | undefined;
|
|
837
381
|
umdNamedDefine?: boolean | undefined;
|
|
838
382
|
} | undefined;
|
|
383
|
+
wasmLoading?: string | false | undefined;
|
|
839
384
|
dependOn?: string | string[] | undefined;
|
|
840
385
|
}, {
|
|
841
386
|
import: string | string[];
|
|
387
|
+
layer?: string | null | undefined;
|
|
842
388
|
filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
843
389
|
publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
844
|
-
layer?: string | null | undefined;
|
|
845
390
|
runtime?: string | false | undefined;
|
|
846
|
-
baseUri?: string | undefined;
|
|
847
391
|
chunkLoading?: string | false | undefined;
|
|
848
392
|
asyncChunks?: boolean | undefined;
|
|
849
|
-
|
|
393
|
+
baseUri?: string | undefined;
|
|
850
394
|
library?: {
|
|
851
395
|
type: string;
|
|
852
396
|
name?: string | string[] | {
|
|
397
|
+
root?: string | string[] | undefined;
|
|
853
398
|
commonjs?: string | undefined;
|
|
854
399
|
amd?: string | undefined;
|
|
855
|
-
root?: string | string[] | undefined;
|
|
856
400
|
} | undefined;
|
|
857
401
|
amdContainer?: string | undefined;
|
|
858
402
|
auxiliaryComment?: string | {
|
|
403
|
+
root?: string | undefined;
|
|
859
404
|
commonjs?: string | undefined;
|
|
860
405
|
amd?: string | undefined;
|
|
861
406
|
commonjs2?: string | undefined;
|
|
862
|
-
root?: string | undefined;
|
|
863
407
|
} | undefined;
|
|
864
408
|
export?: string | string[] | undefined;
|
|
865
409
|
umdNamedDefine?: boolean | undefined;
|
|
866
410
|
} | undefined;
|
|
411
|
+
wasmLoading?: string | false | undefined;
|
|
867
412
|
dependOn?: string | string[] | undefined;
|
|
868
413
|
}>]>>, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>]>>]>>]>>;
|
|
869
414
|
output: z.ZodOptional<z.ZodObject<{
|
|
@@ -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,104 +579,101 @@ 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 | {
|
|
1089
|
-
commonjs?: string | undefined;
|
|
1090
|
-
amd?: string | undefined;
|
|
1091
|
-
commonjs2?: string | undefined;
|
|
1092
|
-
root?: string | undefined;
|
|
1093
|
-
} | undefined;
|
|
1094
|
-
umdNamedDefine?: boolean | undefined;
|
|
1095
634
|
chunkLoading?: string | false | undefined;
|
|
1096
635
|
asyncChunks?: boolean | undefined;
|
|
1097
|
-
wasmLoading?: string | false | undefined;
|
|
1098
636
|
library?: string | string[] | {
|
|
637
|
+
root?: string | string[] | undefined;
|
|
1099
638
|
commonjs?: string | undefined;
|
|
1100
639
|
amd?: string | undefined;
|
|
1101
|
-
root?: string | string[] | undefined;
|
|
1102
640
|
} | {
|
|
1103
641
|
type: string;
|
|
1104
642
|
name?: string | string[] | {
|
|
643
|
+
root?: string | string[] | undefined;
|
|
1105
644
|
commonjs?: string | undefined;
|
|
1106
645
|
amd?: string | undefined;
|
|
1107
|
-
root?: string | string[] | undefined;
|
|
1108
646
|
} | undefined;
|
|
1109
647
|
amdContainer?: string | undefined;
|
|
1110
648
|
auxiliaryComment?: string | {
|
|
649
|
+
root?: string | undefined;
|
|
1111
650
|
commonjs?: string | undefined;
|
|
1112
651
|
amd?: string | undefined;
|
|
1113
652
|
commonjs2?: string | undefined;
|
|
1114
|
-
root?: string | undefined;
|
|
1115
653
|
} | undefined;
|
|
1116
654
|
export?: string | string[] | undefined;
|
|
1117
655
|
umdNamedDefine?: boolean | undefined;
|
|
1118
656
|
} | undefined;
|
|
1119
|
-
|
|
1120
|
-
|
|
657
|
+
wasmLoading?: string | false | undefined;
|
|
658
|
+
auxiliaryComment?: string | {
|
|
659
|
+
root?: string | undefined;
|
|
660
|
+
commonjs?: string | undefined;
|
|
661
|
+
amd?: string | undefined;
|
|
662
|
+
commonjs2?: string | undefined;
|
|
663
|
+
} | undefined;
|
|
664
|
+
umdNamedDefine?: boolean | undefined;
|
|
1121
665
|
crossOriginLoading?: false | "anonymous" | "use-credentials" | undefined;
|
|
666
|
+
uniqueName?: string | undefined;
|
|
667
|
+
pathinfo?: boolean | "verbose" | undefined;
|
|
668
|
+
clean?: boolean | undefined;
|
|
1122
669
|
cssFilename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
1123
|
-
cssHeadDataCompression?: boolean | undefined;
|
|
1124
670
|
cssChunkFilename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
1125
671
|
hotUpdateMainFilename?: string | undefined;
|
|
1126
672
|
hotUpdateChunkFilename?: string | undefined;
|
|
1127
673
|
hotUpdateGlobal?: string | undefined;
|
|
1128
674
|
assetModuleFilename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
1129
|
-
uniqueName?: string | undefined;
|
|
1130
675
|
chunkLoadingGlobal?: string | undefined;
|
|
1131
676
|
enabledLibraryTypes?: string[] | undefined;
|
|
1132
|
-
libraryExport?: string | string[] | undefined;
|
|
1133
|
-
libraryTarget?: string | undefined;
|
|
1134
|
-
strictModuleExceptionHandling?: boolean | undefined;
|
|
1135
677
|
strictModuleErrorHandling?: boolean | undefined;
|
|
1136
678
|
globalObject?: string | undefined;
|
|
1137
679
|
importFunctionName?: string | undefined;
|
|
@@ -1156,77 +698,78 @@ 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
730
|
chunkLoading?: string | false | undefined;
|
|
1191
731
|
asyncChunks?: boolean | undefined;
|
|
1192
|
-
wasmLoading?: string | false | undefined;
|
|
1193
732
|
library?: string | string[] | {
|
|
733
|
+
root?: string | string[] | undefined;
|
|
1194
734
|
commonjs?: string | undefined;
|
|
1195
735
|
amd?: string | undefined;
|
|
1196
|
-
root?: string | string[] | undefined;
|
|
1197
736
|
} | {
|
|
1198
737
|
type: string;
|
|
1199
738
|
name?: string | string[] | {
|
|
739
|
+
root?: string | string[] | undefined;
|
|
1200
740
|
commonjs?: string | undefined;
|
|
1201
741
|
amd?: string | undefined;
|
|
1202
|
-
root?: string | string[] | undefined;
|
|
1203
742
|
} | undefined;
|
|
1204
743
|
amdContainer?: string | undefined;
|
|
1205
744
|
auxiliaryComment?: string | {
|
|
745
|
+
root?: string | undefined;
|
|
1206
746
|
commonjs?: string | undefined;
|
|
1207
747
|
amd?: string | undefined;
|
|
1208
748
|
commonjs2?: string | undefined;
|
|
1209
|
-
root?: string | undefined;
|
|
1210
749
|
} | undefined;
|
|
1211
750
|
export?: string | string[] | undefined;
|
|
1212
751
|
umdNamedDefine?: boolean | undefined;
|
|
1213
752
|
} | undefined;
|
|
753
|
+
wasmLoading?: string | false | undefined;
|
|
754
|
+
auxiliaryComment?: string | {
|
|
755
|
+
root?: string | undefined;
|
|
756
|
+
commonjs?: string | undefined;
|
|
757
|
+
amd?: string | undefined;
|
|
758
|
+
commonjs2?: string | undefined;
|
|
759
|
+
} | undefined;
|
|
760
|
+
umdNamedDefine?: boolean | undefined;
|
|
761
|
+
crossOriginLoading?: false | "anonymous" | "use-credentials" | undefined;
|
|
762
|
+
uniqueName?: string | undefined;
|
|
1214
763
|
pathinfo?: boolean | "verbose" | undefined;
|
|
1215
764
|
clean?: boolean | undefined;
|
|
1216
|
-
crossOriginLoading?: false | "anonymous" | "use-credentials" | undefined;
|
|
1217
765
|
cssFilename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
1218
|
-
cssHeadDataCompression?: boolean | undefined;
|
|
1219
766
|
cssChunkFilename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
1220
767
|
hotUpdateMainFilename?: string | undefined;
|
|
1221
768
|
hotUpdateChunkFilename?: string | undefined;
|
|
1222
769
|
hotUpdateGlobal?: string | undefined;
|
|
1223
770
|
assetModuleFilename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
1224
|
-
uniqueName?: string | undefined;
|
|
1225
771
|
chunkLoadingGlobal?: string | undefined;
|
|
1226
772
|
enabledLibraryTypes?: string[] | undefined;
|
|
1227
|
-
libraryExport?: string | string[] | undefined;
|
|
1228
|
-
libraryTarget?: string | undefined;
|
|
1229
|
-
strictModuleExceptionHandling?: boolean | undefined;
|
|
1230
773
|
strictModuleErrorHandling?: boolean | undefined;
|
|
1231
774
|
globalObject?: string | undefined;
|
|
1232
775
|
importFunctionName?: string | 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
|
-
|
|
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
|
-
|
|
1485
|
-
|
|
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,8 +1034,45 @@ 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
|
-
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.
|
|
1060
|
+
externals: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBoolean]>, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
|
|
1061
|
+
root: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
|
1062
|
+
commonjs: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
|
1063
|
+
commonjs2: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
|
1064
|
+
amd: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
1065
|
+
}, "strict", z.ZodTypeAny, {
|
|
1066
|
+
root: string | string[];
|
|
1067
|
+
commonjs: string | string[];
|
|
1068
|
+
commonjs2: string | string[];
|
|
1069
|
+
amd?: string | string[] | undefined;
|
|
1070
|
+
}, {
|
|
1071
|
+
root: string | string[];
|
|
1072
|
+
commonjs: string | string[];
|
|
1073
|
+
commonjs2: string | string[];
|
|
1074
|
+
amd?: string | string[] | undefined;
|
|
1075
|
+
}>]>>]>, z.ZodFunction<z.ZodTuple<[z.ZodObject<{
|
|
1508
1076
|
context: z.ZodOptional<z.ZodString>;
|
|
1509
1077
|
dependencyType: z.ZodOptional<z.ZodString>;
|
|
1510
1078
|
request: z.ZodOptional<z.ZodString>;
|
|
@@ -1529,7 +1097,22 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
1529
1097
|
contextInfo?: {
|
|
1530
1098
|
issuer: string;
|
|
1531
1099
|
} | undefined;
|
|
1532
|
-
}>, z.ZodFunction<z.ZodTuple<[z.ZodOptional<z.ZodType<Error, z.ZodTypeDef, Error>>, z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBoolean]>, z.ZodArray<z.ZodString, "many">]>, z.
|
|
1100
|
+
}>, z.ZodFunction<z.ZodTuple<[z.ZodOptional<z.ZodType<Error, z.ZodTypeDef, Error>>, z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBoolean]>, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
|
|
1101
|
+
root: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
|
1102
|
+
commonjs: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
|
1103
|
+
commonjs2: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
|
1104
|
+
amd: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
1105
|
+
}, "strict", z.ZodTypeAny, {
|
|
1106
|
+
root: string | string[];
|
|
1107
|
+
commonjs: string | string[];
|
|
1108
|
+
commonjs2: string | string[];
|
|
1109
|
+
amd?: string | string[] | undefined;
|
|
1110
|
+
}, {
|
|
1111
|
+
root: string | string[];
|
|
1112
|
+
commonjs: string | string[];
|
|
1113
|
+
commonjs2: string | string[];
|
|
1114
|
+
amd?: string | string[] | undefined;
|
|
1115
|
+
}>]>>, z.ZodOptional<z.ZodEnum<["var", "module", "assign", "this", "window", "self", "global", "commonjs", "commonjs2", "commonjs-module", "commonjs-static", "amd", "amd-require", "umd", "umd2", "jsonp", "system", "promise", "import", "module-import", "script", "node-commonjs"]>>], z.ZodUnknown>, z.ZodVoid>], z.ZodUnknown>, z.ZodUnknown>]>, z.ZodFunction<z.ZodTuple<[z.ZodObject<{
|
|
1533
1116
|
context: z.ZodOptional<z.ZodString>;
|
|
1534
1117
|
dependencyType: z.ZodOptional<z.ZodString>;
|
|
1535
1118
|
request: z.ZodOptional<z.ZodString>;
|
|
@@ -1554,7 +1137,37 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
1554
1137
|
contextInfo?: {
|
|
1555
1138
|
issuer: string;
|
|
1556
1139
|
} | undefined;
|
|
1557
|
-
}>], z.ZodUnknown>, z.ZodPromise<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBoolean]>, z.ZodArray<z.ZodString, "many">]>, z.
|
|
1140
|
+
}>], z.ZodUnknown>, z.ZodPromise<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBoolean]>, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
|
|
1141
|
+
root: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
|
1142
|
+
commonjs: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
|
1143
|
+
commonjs2: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
|
1144
|
+
amd: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
1145
|
+
}, "strict", z.ZodTypeAny, {
|
|
1146
|
+
root: string | string[];
|
|
1147
|
+
commonjs: string | string[];
|
|
1148
|
+
commonjs2: string | string[];
|
|
1149
|
+
amd?: string | string[] | undefined;
|
|
1150
|
+
}, {
|
|
1151
|
+
root: string | string[];
|
|
1152
|
+
commonjs: string | string[];
|
|
1153
|
+
commonjs2: string | string[];
|
|
1154
|
+
amd?: string | string[] | undefined;
|
|
1155
|
+
}>]>>>]>, "many">, z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBoolean]>, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
|
|
1156
|
+
root: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
|
1157
|
+
commonjs: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
|
1158
|
+
commonjs2: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
|
1159
|
+
amd: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
1160
|
+
}, "strict", z.ZodTypeAny, {
|
|
1161
|
+
root: string | string[];
|
|
1162
|
+
commonjs: string | string[];
|
|
1163
|
+
commonjs2: string | string[];
|
|
1164
|
+
amd?: string | string[] | undefined;
|
|
1165
|
+
}, {
|
|
1166
|
+
root: string | string[];
|
|
1167
|
+
commonjs: string | string[];
|
|
1168
|
+
commonjs2: string | string[];
|
|
1169
|
+
amd?: string | string[] | undefined;
|
|
1170
|
+
}>]>>]>, z.ZodFunction<z.ZodTuple<[z.ZodObject<{
|
|
1558
1171
|
context: z.ZodOptional<z.ZodString>;
|
|
1559
1172
|
dependencyType: z.ZodOptional<z.ZodString>;
|
|
1560
1173
|
request: z.ZodOptional<z.ZodString>;
|
|
@@ -1579,7 +1192,22 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
1579
1192
|
contextInfo?: {
|
|
1580
1193
|
issuer: string;
|
|
1581
1194
|
} | undefined;
|
|
1582
|
-
}>, z.ZodFunction<z.ZodTuple<[z.ZodOptional<z.ZodType<Error, z.ZodTypeDef, Error>>, z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBoolean]>, z.ZodArray<z.ZodString, "many">]>, z.
|
|
1195
|
+
}>, z.ZodFunction<z.ZodTuple<[z.ZodOptional<z.ZodType<Error, z.ZodTypeDef, Error>>, z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBoolean]>, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
|
|
1196
|
+
root: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
|
1197
|
+
commonjs: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
|
1198
|
+
commonjs2: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
|
1199
|
+
amd: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
1200
|
+
}, "strict", z.ZodTypeAny, {
|
|
1201
|
+
root: string | string[];
|
|
1202
|
+
commonjs: string | string[];
|
|
1203
|
+
commonjs2: string | string[];
|
|
1204
|
+
amd?: string | string[] | undefined;
|
|
1205
|
+
}, {
|
|
1206
|
+
root: string | string[];
|
|
1207
|
+
commonjs: string | string[];
|
|
1208
|
+
commonjs2: string | string[];
|
|
1209
|
+
amd?: string | string[] | undefined;
|
|
1210
|
+
}>]>>, z.ZodOptional<z.ZodEnum<["var", "module", "assign", "this", "window", "self", "global", "commonjs", "commonjs2", "commonjs-module", "commonjs-static", "amd", "amd-require", "umd", "umd2", "jsonp", "system", "promise", "import", "module-import", "script", "node-commonjs"]>>], z.ZodUnknown>, z.ZodVoid>], z.ZodUnknown>, z.ZodUnknown>]>, z.ZodFunction<z.ZodTuple<[z.ZodObject<{
|
|
1583
1211
|
context: z.ZodOptional<z.ZodString>;
|
|
1584
1212
|
dependencyType: z.ZodOptional<z.ZodString>;
|
|
1585
1213
|
request: z.ZodOptional<z.ZodString>;
|
|
@@ -1604,7 +1232,22 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
1604
1232
|
contextInfo?: {
|
|
1605
1233
|
issuer: string;
|
|
1606
1234
|
} | undefined;
|
|
1607
|
-
}>], z.ZodUnknown>, z.ZodPromise<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBoolean]>, z.ZodArray<z.ZodString, "many">]>, z.
|
|
1235
|
+
}>], z.ZodUnknown>, z.ZodPromise<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBoolean]>, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
|
|
1236
|
+
root: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
|
1237
|
+
commonjs: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
|
1238
|
+
commonjs2: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
|
1239
|
+
amd: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
1240
|
+
}, "strict", z.ZodTypeAny, {
|
|
1241
|
+
root: string | string[];
|
|
1242
|
+
commonjs: string | string[];
|
|
1243
|
+
commonjs2: string | string[];
|
|
1244
|
+
amd?: string | string[] | undefined;
|
|
1245
|
+
}, {
|
|
1246
|
+
root: string | string[];
|
|
1247
|
+
commonjs: string | string[];
|
|
1248
|
+
commonjs2: string | string[];
|
|
1249
|
+
amd?: string | string[] | undefined;
|
|
1250
|
+
}>]>>>]>]>>;
|
|
1608
1251
|
externalsType: z.ZodOptional<z.ZodEnum<["var", "module", "assign", "this", "window", "self", "global", "commonjs", "commonjs2", "commonjs-module", "commonjs-static", "amd", "amd-require", "umd", "umd2", "jsonp", "system", "promise", "import", "module-import", "script", "node-commonjs"]>>;
|
|
1609
1252
|
externalsPresets: z.ZodOptional<z.ZodObject<{
|
|
1610
1253
|
node: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1619,20 +1262,20 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
1619
1262
|
node?: boolean | undefined;
|
|
1620
1263
|
web?: boolean | undefined;
|
|
1621
1264
|
nwjs?: boolean | undefined;
|
|
1622
|
-
webAsync?: boolean | undefined;
|
|
1623
1265
|
electron?: boolean | undefined;
|
|
1624
1266
|
electronMain?: boolean | undefined;
|
|
1625
1267
|
electronPreload?: boolean | undefined;
|
|
1626
1268
|
electronRenderer?: boolean | undefined;
|
|
1269
|
+
webAsync?: boolean | undefined;
|
|
1627
1270
|
}, {
|
|
1628
1271
|
node?: boolean | undefined;
|
|
1629
1272
|
web?: boolean | undefined;
|
|
1630
1273
|
nwjs?: boolean | undefined;
|
|
1631
|
-
webAsync?: boolean | undefined;
|
|
1632
1274
|
electron?: boolean | undefined;
|
|
1633
1275
|
electronMain?: boolean | undefined;
|
|
1634
1276
|
electronPreload?: boolean | undefined;
|
|
1635
1277
|
electronRenderer?: boolean | undefined;
|
|
1278
|
+
webAsync?: boolean | undefined;
|
|
1636
1279
|
}>>;
|
|
1637
1280
|
infrastructureLogging: z.ZodOptional<z.ZodObject<{
|
|
1638
1281
|
appendOnly: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1644,17 +1287,17 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
1644
1287
|
}, "strict", z.ZodTypeAny, {
|
|
1645
1288
|
debug?: string | boolean | RegExp | ((args_0: string, ...args: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args: unknown[]) => boolean))[] | undefined;
|
|
1646
1289
|
colors?: boolean | undefined;
|
|
1290
|
+
stream?: NodeJS.WritableStream | undefined;
|
|
1647
1291
|
appendOnly?: boolean | undefined;
|
|
1648
1292
|
console?: Console | undefined;
|
|
1649
1293
|
level?: "log" | "info" | "verbose" | "none" | "error" | "warn" | undefined;
|
|
1650
|
-
stream?: NodeJS.WritableStream | undefined;
|
|
1651
1294
|
}, {
|
|
1652
1295
|
debug?: string | boolean | RegExp | ((args_0: string, ...args: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args: unknown[]) => boolean))[] | undefined;
|
|
1653
1296
|
colors?: boolean | undefined;
|
|
1297
|
+
stream?: NodeJS.WritableStream | undefined;
|
|
1654
1298
|
appendOnly?: boolean | undefined;
|
|
1655
1299
|
console?: Console | undefined;
|
|
1656
1300
|
level?: "log" | "info" | "verbose" | "none" | "error" | "warn" | undefined;
|
|
1657
|
-
stream?: NodeJS.WritableStream | undefined;
|
|
1658
1301
|
}>>;
|
|
1659
1302
|
cache: z.ZodOptional<z.ZodBoolean>;
|
|
1660
1303
|
context: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
@@ -1772,13 +1415,12 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
1772
1415
|
errorsSpace: z.ZodOptional<z.ZodNumber>;
|
|
1773
1416
|
warningsSpace: z.ZodOptional<z.ZodNumber>;
|
|
1774
1417
|
}, "strict", z.ZodTypeAny, {
|
|
1775
|
-
|
|
1418
|
+
modules?: boolean | undefined;
|
|
1776
1419
|
publicPath?: boolean | undefined;
|
|
1777
1420
|
all?: boolean | undefined;
|
|
1778
1421
|
preset?: boolean | "verbose" | "normal" | "none" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | undefined;
|
|
1779
1422
|
assets?: boolean | undefined;
|
|
1780
1423
|
chunks?: boolean | undefined;
|
|
1781
|
-
modules?: boolean | undefined;
|
|
1782
1424
|
entrypoints?: boolean | "auto" | undefined;
|
|
1783
1425
|
chunkGroups?: boolean | undefined;
|
|
1784
1426
|
warnings?: boolean | undefined;
|
|
@@ -1797,6 +1439,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
1797
1439
|
builtAt?: boolean | undefined;
|
|
1798
1440
|
moduleAssets?: boolean | undefined;
|
|
1799
1441
|
nestedModules?: boolean | undefined;
|
|
1442
|
+
source?: boolean | undefined;
|
|
1800
1443
|
logging?: boolean | "log" | "info" | "verbose" | "none" | "error" | "warn" | undefined;
|
|
1801
1444
|
loggingDebug?: string | boolean | RegExp | ((args_0: string, ...args: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args: unknown[]) => boolean))[] | undefined;
|
|
1802
1445
|
loggingTrace?: boolean | undefined;
|
|
@@ -1849,13 +1492,12 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
1849
1492
|
errorsSpace?: number | undefined;
|
|
1850
1493
|
warningsSpace?: number | undefined;
|
|
1851
1494
|
}, {
|
|
1852
|
-
|
|
1495
|
+
modules?: boolean | undefined;
|
|
1853
1496
|
publicPath?: boolean | undefined;
|
|
1854
1497
|
all?: boolean | undefined;
|
|
1855
1498
|
preset?: boolean | "verbose" | "normal" | "none" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | undefined;
|
|
1856
1499
|
assets?: boolean | undefined;
|
|
1857
1500
|
chunks?: boolean | undefined;
|
|
1858
|
-
modules?: boolean | undefined;
|
|
1859
1501
|
entrypoints?: boolean | "auto" | undefined;
|
|
1860
1502
|
chunkGroups?: boolean | undefined;
|
|
1861
1503
|
warnings?: boolean | undefined;
|
|
@@ -1874,6 +1516,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
1874
1516
|
builtAt?: boolean | undefined;
|
|
1875
1517
|
moduleAssets?: boolean | undefined;
|
|
1876
1518
|
nestedModules?: boolean | undefined;
|
|
1519
|
+
source?: boolean | undefined;
|
|
1877
1520
|
logging?: boolean | "log" | "info" | "verbose" | "none" | "error" | "warn" | undefined;
|
|
1878
1521
|
loggingDebug?: string | boolean | RegExp | ((args_0: string, ...args: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args: unknown[]) => boolean))[] | undefined;
|
|
1879
1522
|
loggingTrace?: boolean | undefined;
|
|
@@ -1971,14 +1614,10 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
1971
1614
|
filename?: string | undefined;
|
|
1972
1615
|
name?: string | false | ((args_0: Module | undefined, ...args: unknown[]) => unknown) | undefined;
|
|
1973
1616
|
priority?: number | undefined;
|
|
1974
|
-
chunks?: RegExp | "all" | "
|
|
1617
|
+
chunks?: RegExp | "all" | "async" | "initial" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
|
1975
1618
|
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
1619
|
defaultSizeTypes?: string[] | undefined;
|
|
1620
|
+
maxSize?: number | Record<string, number> | undefined;
|
|
1982
1621
|
minChunks?: number | undefined;
|
|
1983
1622
|
minSize?: number | Record<string, number> | undefined;
|
|
1984
1623
|
maxAsyncSize?: number | Record<string, number> | undefined;
|
|
@@ -1986,19 +1625,19 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
1986
1625
|
maxAsyncRequests?: number | undefined;
|
|
1987
1626
|
maxInitialRequests?: number | undefined;
|
|
1988
1627
|
automaticNameDelimiter?: string | undefined;
|
|
1628
|
+
test?: string | RegExp | ((args_0: Module, ...args: unknown[]) => unknown) | undefined;
|
|
1629
|
+
idHint?: string | undefined;
|
|
1630
|
+
reuseExistingChunk?: boolean | undefined;
|
|
1631
|
+
enforce?: boolean | undefined;
|
|
1989
1632
|
}, {
|
|
1990
1633
|
type?: string | RegExp | undefined;
|
|
1991
1634
|
filename?: string | undefined;
|
|
1992
1635
|
name?: string | false | ((args_0: Module | undefined, ...args: unknown[]) => unknown) | undefined;
|
|
1993
1636
|
priority?: number | undefined;
|
|
1994
|
-
chunks?: RegExp | "all" | "
|
|
1637
|
+
chunks?: RegExp | "all" | "async" | "initial" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
|
1995
1638
|
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
1639
|
defaultSizeTypes?: string[] | undefined;
|
|
1640
|
+
maxSize?: number | Record<string, number> | undefined;
|
|
2002
1641
|
minChunks?: number | undefined;
|
|
2003
1642
|
minSize?: number | Record<string, number> | undefined;
|
|
2004
1643
|
maxAsyncSize?: number | Record<string, number> | undefined;
|
|
@@ -2006,6 +1645,10 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2006
1645
|
maxAsyncRequests?: number | undefined;
|
|
2007
1646
|
maxInitialRequests?: number | undefined;
|
|
2008
1647
|
automaticNameDelimiter?: string | undefined;
|
|
1648
|
+
test?: string | RegExp | ((args_0: Module, ...args: unknown[]) => unknown) | undefined;
|
|
1649
|
+
idHint?: string | undefined;
|
|
1650
|
+
reuseExistingChunk?: boolean | undefined;
|
|
1651
|
+
enforce?: boolean | undefined;
|
|
2009
1652
|
}>]>>>;
|
|
2010
1653
|
fallbackCacheGroup: z.ZodOptional<z.ZodObject<{
|
|
2011
1654
|
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 +1658,14 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2015
1658
|
maxInitialSize: z.ZodOptional<z.ZodNumber>;
|
|
2016
1659
|
automaticNameDelimiter: z.ZodOptional<z.ZodString>;
|
|
2017
1660
|
}, "strict", z.ZodTypeAny, {
|
|
2018
|
-
chunks?: RegExp | "all" | "
|
|
1661
|
+
chunks?: RegExp | "all" | "async" | "initial" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
|
2019
1662
|
maxSize?: number | undefined;
|
|
2020
1663
|
minSize?: number | undefined;
|
|
2021
1664
|
maxAsyncSize?: number | undefined;
|
|
2022
1665
|
maxInitialSize?: number | undefined;
|
|
2023
1666
|
automaticNameDelimiter?: string | undefined;
|
|
2024
1667
|
}, {
|
|
2025
|
-
chunks?: RegExp | "all" | "
|
|
1668
|
+
chunks?: RegExp | "all" | "async" | "initial" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
|
2026
1669
|
maxSize?: number | undefined;
|
|
2027
1670
|
minSize?: number | undefined;
|
|
2028
1671
|
maxAsyncSize?: number | undefined;
|
|
@@ -2032,30 +1675,18 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2032
1675
|
hidePathInfo: z.ZodOptional<z.ZodBoolean>;
|
|
2033
1676
|
}, "strict", z.ZodTypeAny, {
|
|
2034
1677
|
name?: string | false | ((args_0: Module | undefined, ...args: unknown[]) => unknown) | undefined;
|
|
2035
|
-
chunks?: RegExp | "all" | "
|
|
1678
|
+
chunks?: RegExp | "all" | "async" | "initial" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
|
2036
1679
|
usedExports?: boolean | undefined;
|
|
2037
|
-
maxSize?: number | Record<string, number> | undefined;
|
|
2038
1680
|
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
1681
|
cacheGroups?: Record<string, false | {
|
|
2047
1682
|
type?: string | RegExp | undefined;
|
|
2048
1683
|
filename?: string | undefined;
|
|
2049
1684
|
name?: string | false | ((args_0: Module | undefined, ...args: unknown[]) => unknown) | undefined;
|
|
2050
1685
|
priority?: number | undefined;
|
|
2051
|
-
chunks?: RegExp | "all" | "
|
|
1686
|
+
chunks?: RegExp | "all" | "async" | "initial" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
|
2052
1687
|
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
1688
|
defaultSizeTypes?: string[] | undefined;
|
|
1689
|
+
maxSize?: number | Record<string, number> | undefined;
|
|
2059
1690
|
minChunks?: number | undefined;
|
|
2060
1691
|
minSize?: number | Record<string, number> | undefined;
|
|
2061
1692
|
maxAsyncSize?: number | Record<string, number> | undefined;
|
|
@@ -2063,9 +1694,14 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2063
1694
|
maxAsyncRequests?: number | undefined;
|
|
2064
1695
|
maxInitialRequests?: number | undefined;
|
|
2065
1696
|
automaticNameDelimiter?: string | undefined;
|
|
1697
|
+
test?: string | RegExp | ((args_0: Module, ...args: unknown[]) => unknown) | undefined;
|
|
1698
|
+
idHint?: string | undefined;
|
|
1699
|
+
reuseExistingChunk?: boolean | undefined;
|
|
1700
|
+
enforce?: boolean | undefined;
|
|
2066
1701
|
}> | undefined;
|
|
1702
|
+
maxSize?: number | Record<string, number> | undefined;
|
|
2067
1703
|
fallbackCacheGroup?: {
|
|
2068
|
-
chunks?: RegExp | "all" | "
|
|
1704
|
+
chunks?: RegExp | "all" | "async" | "initial" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
|
2069
1705
|
maxSize?: number | undefined;
|
|
2070
1706
|
minSize?: number | undefined;
|
|
2071
1707
|
maxAsyncSize?: number | undefined;
|
|
@@ -2073,12 +1709,6 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2073
1709
|
automaticNameDelimiter?: string | undefined;
|
|
2074
1710
|
} | undefined;
|
|
2075
1711
|
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
1712
|
minChunks?: number | undefined;
|
|
2083
1713
|
minSize?: number | Record<string, number> | undefined;
|
|
2084
1714
|
maxAsyncSize?: number | Record<string, number> | undefined;
|
|
@@ -2086,19 +1716,20 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2086
1716
|
maxAsyncRequests?: number | undefined;
|
|
2087
1717
|
maxInitialRequests?: number | undefined;
|
|
2088
1718
|
automaticNameDelimiter?: string | undefined;
|
|
1719
|
+
}, {
|
|
1720
|
+
name?: string | false | ((args_0: Module | undefined, ...args: unknown[]) => unknown) | undefined;
|
|
1721
|
+
chunks?: RegExp | "all" | "async" | "initial" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
|
1722
|
+
usedExports?: boolean | undefined;
|
|
1723
|
+
defaultSizeTypes?: string[] | undefined;
|
|
2089
1724
|
cacheGroups?: Record<string, false | {
|
|
2090
1725
|
type?: string | RegExp | undefined;
|
|
2091
1726
|
filename?: string | undefined;
|
|
2092
1727
|
name?: string | false | ((args_0: Module | undefined, ...args: unknown[]) => unknown) | undefined;
|
|
2093
1728
|
priority?: number | undefined;
|
|
2094
|
-
chunks?: RegExp | "all" | "
|
|
1729
|
+
chunks?: RegExp | "all" | "async" | "initial" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
|
2095
1730
|
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
1731
|
defaultSizeTypes?: string[] | undefined;
|
|
1732
|
+
maxSize?: number | Record<string, number> | undefined;
|
|
2102
1733
|
minChunks?: number | undefined;
|
|
2103
1734
|
minSize?: number | Record<string, number> | undefined;
|
|
2104
1735
|
maxAsyncSize?: number | Record<string, number> | undefined;
|
|
@@ -2106,9 +1737,14 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2106
1737
|
maxAsyncRequests?: number | undefined;
|
|
2107
1738
|
maxInitialRequests?: number | undefined;
|
|
2108
1739
|
automaticNameDelimiter?: string | undefined;
|
|
1740
|
+
test?: string | RegExp | ((args_0: Module, ...args: unknown[]) => unknown) | undefined;
|
|
1741
|
+
idHint?: string | undefined;
|
|
1742
|
+
reuseExistingChunk?: boolean | undefined;
|
|
1743
|
+
enforce?: boolean | undefined;
|
|
2109
1744
|
}> | undefined;
|
|
1745
|
+
maxSize?: number | Record<string, number> | undefined;
|
|
2110
1746
|
fallbackCacheGroup?: {
|
|
2111
|
-
chunks?: RegExp | "all" | "
|
|
1747
|
+
chunks?: RegExp | "all" | "async" | "initial" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
|
2112
1748
|
maxSize?: number | undefined;
|
|
2113
1749
|
minSize?: number | undefined;
|
|
2114
1750
|
maxAsyncSize?: number | undefined;
|
|
@@ -2116,6 +1752,13 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2116
1752
|
automaticNameDelimiter?: string | undefined;
|
|
2117
1753
|
} | undefined;
|
|
2118
1754
|
hidePathInfo?: boolean | undefined;
|
|
1755
|
+
minChunks?: number | undefined;
|
|
1756
|
+
minSize?: number | Record<string, number> | undefined;
|
|
1757
|
+
maxAsyncSize?: number | Record<string, number> | undefined;
|
|
1758
|
+
maxInitialSize?: number | Record<string, number> | undefined;
|
|
1759
|
+
maxAsyncRequests?: number | undefined;
|
|
1760
|
+
maxInitialRequests?: number | undefined;
|
|
1761
|
+
automaticNameDelimiter?: string | undefined;
|
|
2119
1762
|
}>]>>;
|
|
2120
1763
|
runtimeChunk: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodEnum<["single", "multiple"]>, z.ZodBoolean]>, z.ZodObject<{
|
|
2121
1764
|
name: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodFunction<z.ZodTuple<[z.ZodObject<{
|
|
@@ -2148,30 +1791,18 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2148
1791
|
}, "strict", z.ZodTypeAny, {
|
|
2149
1792
|
splitChunks?: false | {
|
|
2150
1793
|
name?: string | false | ((args_0: Module | undefined, ...args: unknown[]) => unknown) | undefined;
|
|
2151
|
-
chunks?: RegExp | "all" | "
|
|
1794
|
+
chunks?: RegExp | "all" | "async" | "initial" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
|
2152
1795
|
usedExports?: boolean | undefined;
|
|
2153
|
-
maxSize?: number | Record<string, number> | undefined;
|
|
2154
1796
|
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
1797
|
cacheGroups?: Record<string, false | {
|
|
2163
1798
|
type?: string | RegExp | undefined;
|
|
2164
1799
|
filename?: string | undefined;
|
|
2165
1800
|
name?: string | false | ((args_0: Module | undefined, ...args: unknown[]) => unknown) | undefined;
|
|
2166
1801
|
priority?: number | undefined;
|
|
2167
|
-
chunks?: RegExp | "all" | "
|
|
1802
|
+
chunks?: RegExp | "all" | "async" | "initial" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
|
2168
1803
|
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
1804
|
defaultSizeTypes?: string[] | undefined;
|
|
1805
|
+
maxSize?: number | Record<string, number> | undefined;
|
|
2175
1806
|
minChunks?: number | undefined;
|
|
2176
1807
|
minSize?: number | Record<string, number> | undefined;
|
|
2177
1808
|
maxAsyncSize?: number | Record<string, number> | undefined;
|
|
@@ -2179,9 +1810,14 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2179
1810
|
maxAsyncRequests?: number | undefined;
|
|
2180
1811
|
maxInitialRequests?: number | undefined;
|
|
2181
1812
|
automaticNameDelimiter?: string | undefined;
|
|
1813
|
+
test?: string | RegExp | ((args_0: Module, ...args: unknown[]) => unknown) | undefined;
|
|
1814
|
+
idHint?: string | undefined;
|
|
1815
|
+
reuseExistingChunk?: boolean | undefined;
|
|
1816
|
+
enforce?: boolean | undefined;
|
|
2182
1817
|
}> | undefined;
|
|
1818
|
+
maxSize?: number | Record<string, number> | undefined;
|
|
2183
1819
|
fallbackCacheGroup?: {
|
|
2184
|
-
chunks?: RegExp | "all" | "
|
|
1820
|
+
chunks?: RegExp | "all" | "async" | "initial" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
|
2185
1821
|
maxSize?: number | undefined;
|
|
2186
1822
|
minSize?: number | undefined;
|
|
2187
1823
|
maxAsyncSize?: number | undefined;
|
|
@@ -2189,10 +1825,17 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2189
1825
|
automaticNameDelimiter?: string | undefined;
|
|
2190
1826
|
} | undefined;
|
|
2191
1827
|
hidePathInfo?: boolean | undefined;
|
|
1828
|
+
minChunks?: number | undefined;
|
|
1829
|
+
minSize?: number | Record<string, number> | undefined;
|
|
1830
|
+
maxAsyncSize?: number | Record<string, number> | undefined;
|
|
1831
|
+
maxInitialSize?: number | Record<string, number> | undefined;
|
|
1832
|
+
maxAsyncRequests?: number | undefined;
|
|
1833
|
+
maxInitialRequests?: number | undefined;
|
|
1834
|
+
automaticNameDelimiter?: string | undefined;
|
|
2192
1835
|
} | undefined;
|
|
2193
1836
|
usedExports?: boolean | "global" | undefined;
|
|
2194
1837
|
providedExports?: boolean | undefined;
|
|
2195
|
-
|
|
1838
|
+
removeAvailableModules?: boolean | undefined;
|
|
2196
1839
|
moduleIds?: "named" | "natural" | "deterministic" | undefined;
|
|
2197
1840
|
chunkIds?: "named" | "natural" | "deterministic" | undefined;
|
|
2198
1841
|
minimize?: boolean | undefined;
|
|
@@ -2203,9 +1846,9 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2203
1846
|
name: string;
|
|
2204
1847
|
}, ...args: unknown[]) => string) | undefined;
|
|
2205
1848
|
} | undefined;
|
|
2206
|
-
removeAvailableModules?: boolean | undefined;
|
|
2207
1849
|
removeEmptyChunks?: boolean | undefined;
|
|
2208
1850
|
realContentHash?: boolean | undefined;
|
|
1851
|
+
sideEffects?: boolean | "flag" | undefined;
|
|
2209
1852
|
concatenateModules?: boolean | undefined;
|
|
2210
1853
|
innerGraph?: boolean | undefined;
|
|
2211
1854
|
mangleExports?: boolean | "size" | "deterministic" | undefined;
|
|
@@ -2214,30 +1857,18 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2214
1857
|
}, {
|
|
2215
1858
|
splitChunks?: false | {
|
|
2216
1859
|
name?: string | false | ((args_0: Module | undefined, ...args: unknown[]) => unknown) | undefined;
|
|
2217
|
-
chunks?: RegExp | "all" | "
|
|
1860
|
+
chunks?: RegExp | "all" | "async" | "initial" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
|
2218
1861
|
usedExports?: boolean | undefined;
|
|
2219
|
-
maxSize?: number | Record<string, number> | undefined;
|
|
2220
1862
|
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
1863
|
cacheGroups?: Record<string, false | {
|
|
2229
1864
|
type?: string | RegExp | undefined;
|
|
2230
1865
|
filename?: string | undefined;
|
|
2231
1866
|
name?: string | false | ((args_0: Module | undefined, ...args: unknown[]) => unknown) | undefined;
|
|
2232
1867
|
priority?: number | undefined;
|
|
2233
|
-
chunks?: RegExp | "all" | "
|
|
1868
|
+
chunks?: RegExp | "all" | "async" | "initial" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
|
2234
1869
|
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
1870
|
defaultSizeTypes?: string[] | undefined;
|
|
1871
|
+
maxSize?: number | Record<string, number> | undefined;
|
|
2241
1872
|
minChunks?: number | undefined;
|
|
2242
1873
|
minSize?: number | Record<string, number> | undefined;
|
|
2243
1874
|
maxAsyncSize?: number | Record<string, number> | undefined;
|
|
@@ -2245,9 +1876,14 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2245
1876
|
maxAsyncRequests?: number | undefined;
|
|
2246
1877
|
maxInitialRequests?: number | undefined;
|
|
2247
1878
|
automaticNameDelimiter?: string | undefined;
|
|
1879
|
+
test?: string | RegExp | ((args_0: Module, ...args: unknown[]) => unknown) | undefined;
|
|
1880
|
+
idHint?: string | undefined;
|
|
1881
|
+
reuseExistingChunk?: boolean | undefined;
|
|
1882
|
+
enforce?: boolean | undefined;
|
|
2248
1883
|
}> | undefined;
|
|
1884
|
+
maxSize?: number | Record<string, number> | undefined;
|
|
2249
1885
|
fallbackCacheGroup?: {
|
|
2250
|
-
chunks?: RegExp | "all" | "
|
|
1886
|
+
chunks?: RegExp | "all" | "async" | "initial" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
|
2251
1887
|
maxSize?: number | undefined;
|
|
2252
1888
|
minSize?: number | undefined;
|
|
2253
1889
|
maxAsyncSize?: number | undefined;
|
|
@@ -2255,10 +1891,17 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2255
1891
|
automaticNameDelimiter?: string | undefined;
|
|
2256
1892
|
} | undefined;
|
|
2257
1893
|
hidePathInfo?: boolean | undefined;
|
|
1894
|
+
minChunks?: number | undefined;
|
|
1895
|
+
minSize?: number | Record<string, number> | undefined;
|
|
1896
|
+
maxAsyncSize?: number | Record<string, number> | undefined;
|
|
1897
|
+
maxInitialSize?: number | Record<string, number> | undefined;
|
|
1898
|
+
maxAsyncRequests?: number | undefined;
|
|
1899
|
+
maxInitialRequests?: number | undefined;
|
|
1900
|
+
automaticNameDelimiter?: string | undefined;
|
|
2258
1901
|
} | undefined;
|
|
2259
1902
|
usedExports?: boolean | "global" | undefined;
|
|
2260
1903
|
providedExports?: boolean | undefined;
|
|
2261
|
-
|
|
1904
|
+
removeAvailableModules?: boolean | undefined;
|
|
2262
1905
|
moduleIds?: "named" | "natural" | "deterministic" | undefined;
|
|
2263
1906
|
chunkIds?: "named" | "natural" | "deterministic" | undefined;
|
|
2264
1907
|
minimize?: boolean | undefined;
|
|
@@ -2269,9 +1912,9 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2269
1912
|
name: string;
|
|
2270
1913
|
}, ...args: unknown[]) => string) | undefined;
|
|
2271
1914
|
} | undefined;
|
|
2272
|
-
removeAvailableModules?: boolean | undefined;
|
|
2273
1915
|
removeEmptyChunks?: boolean | undefined;
|
|
2274
1916
|
realContentHash?: boolean | undefined;
|
|
1917
|
+
sideEffects?: boolean | "flag" | undefined;
|
|
2275
1918
|
concatenateModules?: boolean | undefined;
|
|
2276
1919
|
innerGraph?: boolean | undefined;
|
|
2277
1920
|
mangleExports?: boolean | "size" | "deterministic" | undefined;
|
|
@@ -2281,7 +1924,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2281
1924
|
resolve: z.ZodOptional<z.ZodType<t.ResolveOptions, z.ZodTypeDef, t.ResolveOptions>>;
|
|
2282
1925
|
resolveLoader: z.ZodOptional<z.ZodType<t.ResolveOptions, z.ZodTypeDef, t.ResolveOptions>>;
|
|
2283
1926
|
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>>;
|
|
1927
|
+
devServer: z.ZodOptional<z.ZodType<t.DevServer, z.ZodTypeDef, t.DevServer>>;
|
|
2285
1928
|
module: z.ZodOptional<z.ZodObject<{
|
|
2286
1929
|
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
1930
|
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 +1976,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2333
1976
|
url: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"relative">, z.ZodBoolean]>>;
|
|
2334
1977
|
exprContextCritical: z.ZodOptional<z.ZodBoolean>;
|
|
2335
1978
|
wrappedContextCritical: z.ZodOptional<z.ZodBoolean>;
|
|
1979
|
+
wrappedContextRegExp: z.ZodOptional<z.ZodType<RegExp, z.ZodTypeDef, RegExp>>;
|
|
2336
1980
|
exportsPresence: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["error", "warn", "auto"]>, z.ZodLiteral<false>]>>;
|
|
2337
1981
|
importExportsPresence: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["error", "warn", "auto"]>, z.ZodLiteral<false>]>>;
|
|
2338
1982
|
reexportExportsPresence: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["error", "warn", "auto"]>, z.ZodLiteral<false>]>>;
|
|
@@ -2352,6 +1996,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2352
1996
|
importMeta?: boolean | undefined;
|
|
2353
1997
|
exprContextCritical?: boolean | undefined;
|
|
2354
1998
|
wrappedContextCritical?: boolean | undefined;
|
|
1999
|
+
wrappedContextRegExp?: RegExp | undefined;
|
|
2355
2000
|
exportsPresence?: false | "auto" | "error" | "warn" | undefined;
|
|
2356
2001
|
importExportsPresence?: false | "auto" | "error" | "warn" | undefined;
|
|
2357
2002
|
reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined;
|
|
@@ -2371,6 +2016,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2371
2016
|
importMeta?: boolean | undefined;
|
|
2372
2017
|
exprContextCritical?: boolean | undefined;
|
|
2373
2018
|
wrappedContextCritical?: boolean | undefined;
|
|
2019
|
+
wrappedContextRegExp?: RegExp | undefined;
|
|
2374
2020
|
exportsPresence?: false | "auto" | "error" | "warn" | undefined;
|
|
2375
2021
|
importExportsPresence?: false | "auto" | "error" | "warn" | undefined;
|
|
2376
2022
|
reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined;
|
|
@@ -2391,6 +2037,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2391
2037
|
url: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"relative">, z.ZodBoolean]>>;
|
|
2392
2038
|
exprContextCritical: z.ZodOptional<z.ZodBoolean>;
|
|
2393
2039
|
wrappedContextCritical: z.ZodOptional<z.ZodBoolean>;
|
|
2040
|
+
wrappedContextRegExp: z.ZodOptional<z.ZodType<RegExp, z.ZodTypeDef, RegExp>>;
|
|
2394
2041
|
exportsPresence: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["error", "warn", "auto"]>, z.ZodLiteral<false>]>>;
|
|
2395
2042
|
importExportsPresence: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["error", "warn", "auto"]>, z.ZodLiteral<false>]>>;
|
|
2396
2043
|
reexportExportsPresence: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["error", "warn", "auto"]>, z.ZodLiteral<false>]>>;
|
|
@@ -2410,6 +2057,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2410
2057
|
importMeta?: boolean | undefined;
|
|
2411
2058
|
exprContextCritical?: boolean | undefined;
|
|
2412
2059
|
wrappedContextCritical?: boolean | undefined;
|
|
2060
|
+
wrappedContextRegExp?: RegExp | undefined;
|
|
2413
2061
|
exportsPresence?: false | "auto" | "error" | "warn" | undefined;
|
|
2414
2062
|
importExportsPresence?: false | "auto" | "error" | "warn" | undefined;
|
|
2415
2063
|
reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined;
|
|
@@ -2429,6 +2077,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2429
2077
|
importMeta?: boolean | undefined;
|
|
2430
2078
|
exprContextCritical?: boolean | undefined;
|
|
2431
2079
|
wrappedContextCritical?: boolean | undefined;
|
|
2080
|
+
wrappedContextRegExp?: RegExp | undefined;
|
|
2432
2081
|
exportsPresence?: false | "auto" | "error" | "warn" | undefined;
|
|
2433
2082
|
importExportsPresence?: false | "auto" | "error" | "warn" | undefined;
|
|
2434
2083
|
reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined;
|
|
@@ -2449,6 +2098,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2449
2098
|
url: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"relative">, z.ZodBoolean]>>;
|
|
2450
2099
|
exprContextCritical: z.ZodOptional<z.ZodBoolean>;
|
|
2451
2100
|
wrappedContextCritical: z.ZodOptional<z.ZodBoolean>;
|
|
2101
|
+
wrappedContextRegExp: z.ZodOptional<z.ZodType<RegExp, z.ZodTypeDef, RegExp>>;
|
|
2452
2102
|
exportsPresence: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["error", "warn", "auto"]>, z.ZodLiteral<false>]>>;
|
|
2453
2103
|
importExportsPresence: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["error", "warn", "auto"]>, z.ZodLiteral<false>]>>;
|
|
2454
2104
|
reexportExportsPresence: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["error", "warn", "auto"]>, z.ZodLiteral<false>]>>;
|
|
@@ -2468,6 +2118,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2468
2118
|
importMeta?: boolean | undefined;
|
|
2469
2119
|
exprContextCritical?: boolean | undefined;
|
|
2470
2120
|
wrappedContextCritical?: boolean | undefined;
|
|
2121
|
+
wrappedContextRegExp?: RegExp | undefined;
|
|
2471
2122
|
exportsPresence?: false | "auto" | "error" | "warn" | undefined;
|
|
2472
2123
|
importExportsPresence?: false | "auto" | "error" | "warn" | undefined;
|
|
2473
2124
|
reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined;
|
|
@@ -2487,6 +2138,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2487
2138
|
importMeta?: boolean | undefined;
|
|
2488
2139
|
exprContextCritical?: boolean | undefined;
|
|
2489
2140
|
wrappedContextCritical?: boolean | undefined;
|
|
2141
|
+
wrappedContextRegExp?: RegExp | undefined;
|
|
2490
2142
|
exportsPresence?: false | "auto" | "error" | "warn" | undefined;
|
|
2491
2143
|
importExportsPresence?: false | "auto" | "error" | "warn" | undefined;
|
|
2492
2144
|
reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined;
|
|
@@ -2507,6 +2159,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2507
2159
|
url: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"relative">, z.ZodBoolean]>>;
|
|
2508
2160
|
exprContextCritical: z.ZodOptional<z.ZodBoolean>;
|
|
2509
2161
|
wrappedContextCritical: z.ZodOptional<z.ZodBoolean>;
|
|
2162
|
+
wrappedContextRegExp: z.ZodOptional<z.ZodType<RegExp, z.ZodTypeDef, RegExp>>;
|
|
2510
2163
|
exportsPresence: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["error", "warn", "auto"]>, z.ZodLiteral<false>]>>;
|
|
2511
2164
|
importExportsPresence: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["error", "warn", "auto"]>, z.ZodLiteral<false>]>>;
|
|
2512
2165
|
reexportExportsPresence: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["error", "warn", "auto"]>, z.ZodLiteral<false>]>>;
|
|
@@ -2526,6 +2179,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2526
2179
|
importMeta?: boolean | undefined;
|
|
2527
2180
|
exprContextCritical?: boolean | undefined;
|
|
2528
2181
|
wrappedContextCritical?: boolean | undefined;
|
|
2182
|
+
wrappedContextRegExp?: RegExp | undefined;
|
|
2529
2183
|
exportsPresence?: false | "auto" | "error" | "warn" | undefined;
|
|
2530
2184
|
importExportsPresence?: false | "auto" | "error" | "warn" | undefined;
|
|
2531
2185
|
reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined;
|
|
@@ -2545,6 +2199,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2545
2199
|
importMeta?: boolean | undefined;
|
|
2546
2200
|
exprContextCritical?: boolean | undefined;
|
|
2547
2201
|
wrappedContextCritical?: boolean | undefined;
|
|
2202
|
+
wrappedContextRegExp?: RegExp | undefined;
|
|
2548
2203
|
exportsPresence?: false | "auto" | "error" | "warn" | undefined;
|
|
2549
2204
|
importExportsPresence?: false | "auto" | "error" | "warn" | undefined;
|
|
2550
2205
|
reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined;
|
|
@@ -2566,6 +2221,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2566
2221
|
importMeta?: boolean | undefined;
|
|
2567
2222
|
exprContextCritical?: boolean | undefined;
|
|
2568
2223
|
wrappedContextCritical?: boolean | undefined;
|
|
2224
|
+
wrappedContextRegExp?: RegExp | undefined;
|
|
2569
2225
|
exportsPresence?: false | "auto" | "error" | "warn" | undefined;
|
|
2570
2226
|
importExportsPresence?: false | "auto" | "error" | "warn" | undefined;
|
|
2571
2227
|
reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined;
|
|
@@ -2600,6 +2256,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2600
2256
|
importMeta?: boolean | undefined;
|
|
2601
2257
|
exprContextCritical?: boolean | undefined;
|
|
2602
2258
|
wrappedContextCritical?: boolean | undefined;
|
|
2259
|
+
wrappedContextRegExp?: RegExp | undefined;
|
|
2603
2260
|
exportsPresence?: false | "auto" | "error" | "warn" | undefined;
|
|
2604
2261
|
importExportsPresence?: false | "auto" | "error" | "warn" | undefined;
|
|
2605
2262
|
reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined;
|
|
@@ -2620,6 +2277,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2620
2277
|
importMeta?: boolean | undefined;
|
|
2621
2278
|
exprContextCritical?: boolean | undefined;
|
|
2622
2279
|
wrappedContextCritical?: boolean | undefined;
|
|
2280
|
+
wrappedContextRegExp?: RegExp | undefined;
|
|
2623
2281
|
exportsPresence?: false | "auto" | "error" | "warn" | undefined;
|
|
2624
2282
|
importExportsPresence?: false | "auto" | "error" | "warn" | undefined;
|
|
2625
2283
|
reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined;
|
|
@@ -2640,6 +2298,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2640
2298
|
importMeta?: boolean | undefined;
|
|
2641
2299
|
exprContextCritical?: boolean | undefined;
|
|
2642
2300
|
wrappedContextCritical?: boolean | undefined;
|
|
2301
|
+
wrappedContextRegExp?: RegExp | undefined;
|
|
2643
2302
|
exportsPresence?: false | "auto" | "error" | "warn" | undefined;
|
|
2644
2303
|
importExportsPresence?: false | "auto" | "error" | "warn" | undefined;
|
|
2645
2304
|
reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined;
|
|
@@ -2661,6 +2320,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2661
2320
|
importMeta?: boolean | undefined;
|
|
2662
2321
|
exprContextCritical?: boolean | undefined;
|
|
2663
2322
|
wrappedContextCritical?: boolean | undefined;
|
|
2323
|
+
wrappedContextRegExp?: RegExp | undefined;
|
|
2664
2324
|
exportsPresence?: false | "auto" | "error" | "warn" | undefined;
|
|
2665
2325
|
importExportsPresence?: false | "auto" | "error" | "warn" | undefined;
|
|
2666
2326
|
reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined;
|
|
@@ -2695,6 +2355,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2695
2355
|
importMeta?: boolean | undefined;
|
|
2696
2356
|
exprContextCritical?: boolean | undefined;
|
|
2697
2357
|
wrappedContextCritical?: boolean | undefined;
|
|
2358
|
+
wrappedContextRegExp?: RegExp | undefined;
|
|
2698
2359
|
exportsPresence?: false | "auto" | "error" | "warn" | undefined;
|
|
2699
2360
|
importExportsPresence?: false | "auto" | "error" | "warn" | undefined;
|
|
2700
2361
|
reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined;
|
|
@@ -2715,6 +2376,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2715
2376
|
importMeta?: boolean | undefined;
|
|
2716
2377
|
exprContextCritical?: boolean | undefined;
|
|
2717
2378
|
wrappedContextCritical?: boolean | undefined;
|
|
2379
|
+
wrappedContextRegExp?: RegExp | undefined;
|
|
2718
2380
|
exportsPresence?: false | "auto" | "error" | "warn" | undefined;
|
|
2719
2381
|
importExportsPresence?: false | "auto" | "error" | "warn" | undefined;
|
|
2720
2382
|
reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined;
|
|
@@ -2735,6 +2397,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2735
2397
|
importMeta?: boolean | undefined;
|
|
2736
2398
|
exprContextCritical?: boolean | undefined;
|
|
2737
2399
|
wrappedContextCritical?: boolean | undefined;
|
|
2400
|
+
wrappedContextRegExp?: RegExp | undefined;
|
|
2738
2401
|
exportsPresence?: false | "auto" | "error" | "warn" | undefined;
|
|
2739
2402
|
importExportsPresence?: false | "auto" | "error" | "warn" | undefined;
|
|
2740
2403
|
reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined;
|
|
@@ -2753,11 +2416,11 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2753
2416
|
encoding: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodLiteral<"base64">]>>;
|
|
2754
2417
|
mimetype: z.ZodOptional<z.ZodString>;
|
|
2755
2418
|
}, "strict", z.ZodTypeAny, {
|
|
2756
|
-
mimetype?: string | undefined;
|
|
2757
2419
|
encoding?: false | "base64" | undefined;
|
|
2758
|
-
}, {
|
|
2759
2420
|
mimetype?: string | undefined;
|
|
2421
|
+
}, {
|
|
2760
2422
|
encoding?: false | "base64" | undefined;
|
|
2423
|
+
mimetype?: string | undefined;
|
|
2761
2424
|
}>, z.ZodFunction<z.ZodTuple<[z.ZodObject<{
|
|
2762
2425
|
content: z.ZodString;
|
|
2763
2426
|
filename: z.ZodString;
|
|
@@ -2777,8 +2440,8 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2777
2440
|
publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
2778
2441
|
emit?: boolean | undefined;
|
|
2779
2442
|
dataUrl?: {
|
|
2780
|
-
mimetype?: string | undefined;
|
|
2781
2443
|
encoding?: false | "base64" | undefined;
|
|
2444
|
+
mimetype?: string | undefined;
|
|
2782
2445
|
} | ((args_0: {
|
|
2783
2446
|
filename: string;
|
|
2784
2447
|
content: string;
|
|
@@ -2788,8 +2451,8 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2788
2451
|
publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
2789
2452
|
emit?: boolean | undefined;
|
|
2790
2453
|
dataUrl?: {
|
|
2791
|
-
mimetype?: string | undefined;
|
|
2792
2454
|
encoding?: false | "base64" | undefined;
|
|
2455
|
+
mimetype?: string | undefined;
|
|
2793
2456
|
} | ((args_0: {
|
|
2794
2457
|
filename: string;
|
|
2795
2458
|
content: string;
|
|
@@ -2800,11 +2463,11 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2800
2463
|
encoding: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodLiteral<"base64">]>>;
|
|
2801
2464
|
mimetype: z.ZodOptional<z.ZodString>;
|
|
2802
2465
|
}, "strict", z.ZodTypeAny, {
|
|
2803
|
-
mimetype?: string | undefined;
|
|
2804
2466
|
encoding?: false | "base64" | undefined;
|
|
2805
|
-
}, {
|
|
2806
2467
|
mimetype?: string | undefined;
|
|
2468
|
+
}, {
|
|
2807
2469
|
encoding?: false | "base64" | undefined;
|
|
2470
|
+
mimetype?: string | undefined;
|
|
2808
2471
|
}>, z.ZodFunction<z.ZodTuple<[z.ZodObject<{
|
|
2809
2472
|
content: z.ZodString;
|
|
2810
2473
|
filename: z.ZodString;
|
|
@@ -2817,16 +2480,16 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2817
2480
|
}>], z.ZodUnknown>, z.ZodString>]>>;
|
|
2818
2481
|
}, "strict", z.ZodTypeAny, {
|
|
2819
2482
|
dataUrl?: {
|
|
2820
|
-
mimetype?: string | undefined;
|
|
2821
2483
|
encoding?: false | "base64" | undefined;
|
|
2484
|
+
mimetype?: string | undefined;
|
|
2822
2485
|
} | ((args_0: {
|
|
2823
2486
|
filename: string;
|
|
2824
2487
|
content: string;
|
|
2825
2488
|
}, ...args: unknown[]) => string) | undefined;
|
|
2826
2489
|
}, {
|
|
2827
2490
|
dataUrl?: {
|
|
2828
|
-
mimetype?: string | undefined;
|
|
2829
2491
|
encoding?: false | "base64" | undefined;
|
|
2492
|
+
mimetype?: string | undefined;
|
|
2830
2493
|
} | ((args_0: {
|
|
2831
2494
|
filename: string;
|
|
2832
2495
|
content: string;
|
|
@@ -2909,8 +2572,8 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2909
2572
|
publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
2910
2573
|
emit?: boolean | undefined;
|
|
2911
2574
|
dataUrl?: {
|
|
2912
|
-
mimetype?: string | undefined;
|
|
2913
2575
|
encoding?: false | "base64" | undefined;
|
|
2576
|
+
mimetype?: string | undefined;
|
|
2914
2577
|
} | ((args_0: {
|
|
2915
2578
|
filename: string;
|
|
2916
2579
|
content: string;
|
|
@@ -2918,8 +2581,8 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2918
2581
|
} | undefined;
|
|
2919
2582
|
"asset/inline"?: {
|
|
2920
2583
|
dataUrl?: {
|
|
2921
|
-
mimetype?: string | undefined;
|
|
2922
2584
|
encoding?: false | "base64" | undefined;
|
|
2585
|
+
mimetype?: string | undefined;
|
|
2923
2586
|
} | ((args_0: {
|
|
2924
2587
|
filename: string;
|
|
2925
2588
|
content: string;
|
|
@@ -2952,8 +2615,8 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2952
2615
|
publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
2953
2616
|
emit?: boolean | undefined;
|
|
2954
2617
|
dataUrl?: {
|
|
2955
|
-
mimetype?: string | undefined;
|
|
2956
2618
|
encoding?: false | "base64" | undefined;
|
|
2619
|
+
mimetype?: string | undefined;
|
|
2957
2620
|
} | ((args_0: {
|
|
2958
2621
|
filename: string;
|
|
2959
2622
|
content: string;
|
|
@@ -2961,8 +2624,8 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2961
2624
|
} | undefined;
|
|
2962
2625
|
"asset/inline"?: {
|
|
2963
2626
|
dataUrl?: {
|
|
2964
|
-
mimetype?: string | undefined;
|
|
2965
2627
|
encoding?: false | "base64" | undefined;
|
|
2628
|
+
mimetype?: string | undefined;
|
|
2966
2629
|
} | ((args_0: {
|
|
2967
2630
|
filename: string;
|
|
2968
2631
|
content: string;
|
|
@@ -2976,6 +2639,52 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2976
2639
|
}>, z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>>]>>;
|
|
2977
2640
|
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
2641
|
}, "strict", z.ZodTypeAny, {
|
|
2642
|
+
generator?: Record<string, Record<string, any>> | {
|
|
2643
|
+
css?: {
|
|
2644
|
+
exportsOnly?: boolean | undefined;
|
|
2645
|
+
esModule?: boolean | undefined;
|
|
2646
|
+
} | undefined;
|
|
2647
|
+
"css/auto"?: {
|
|
2648
|
+
exportsOnly?: boolean | undefined;
|
|
2649
|
+
esModule?: boolean | undefined;
|
|
2650
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2651
|
+
localIdentName?: string | undefined;
|
|
2652
|
+
} | undefined;
|
|
2653
|
+
"css/module"?: {
|
|
2654
|
+
exportsOnly?: boolean | undefined;
|
|
2655
|
+
esModule?: boolean | undefined;
|
|
2656
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2657
|
+
localIdentName?: string | undefined;
|
|
2658
|
+
} | undefined;
|
|
2659
|
+
asset?: {
|
|
2660
|
+
filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
2661
|
+
publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
2662
|
+
emit?: boolean | undefined;
|
|
2663
|
+
dataUrl?: {
|
|
2664
|
+
encoding?: false | "base64" | undefined;
|
|
2665
|
+
mimetype?: string | undefined;
|
|
2666
|
+
} | ((args_0: {
|
|
2667
|
+
filename: string;
|
|
2668
|
+
content: string;
|
|
2669
|
+
}, ...args: unknown[]) => string) | undefined;
|
|
2670
|
+
} | undefined;
|
|
2671
|
+
"asset/inline"?: {
|
|
2672
|
+
dataUrl?: {
|
|
2673
|
+
encoding?: false | "base64" | undefined;
|
|
2674
|
+
mimetype?: string | undefined;
|
|
2675
|
+
} | ((args_0: {
|
|
2676
|
+
filename: string;
|
|
2677
|
+
content: string;
|
|
2678
|
+
}, ...args: unknown[]) => string) | undefined;
|
|
2679
|
+
} | undefined;
|
|
2680
|
+
"asset/resource"?: {
|
|
2681
|
+
filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
2682
|
+
publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
2683
|
+
emit?: boolean | undefined;
|
|
2684
|
+
} | undefined;
|
|
2685
|
+
} | undefined;
|
|
2686
|
+
defaultRules?: (false | "" | 0 | "..." | t.RuleSetRule | null | undefined)[] | undefined;
|
|
2687
|
+
rules?: (false | "" | 0 | "..." | t.RuleSetRule | null | undefined)[] | undefined;
|
|
2979
2688
|
parser?: {
|
|
2980
2689
|
javascript?: {
|
|
2981
2690
|
url?: boolean | "relative" | undefined;
|
|
@@ -2986,6 +2695,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2986
2695
|
importMeta?: boolean | undefined;
|
|
2987
2696
|
exprContextCritical?: boolean | undefined;
|
|
2988
2697
|
wrappedContextCritical?: boolean | undefined;
|
|
2698
|
+
wrappedContextRegExp?: RegExp | undefined;
|
|
2989
2699
|
exportsPresence?: false | "auto" | "error" | "warn" | undefined;
|
|
2990
2700
|
importExportsPresence?: false | "auto" | "error" | "warn" | undefined;
|
|
2991
2701
|
reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined;
|
|
@@ -3020,6 +2730,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
3020
2730
|
importMeta?: boolean | undefined;
|
|
3021
2731
|
exprContextCritical?: boolean | undefined;
|
|
3022
2732
|
wrappedContextCritical?: boolean | undefined;
|
|
2733
|
+
wrappedContextRegExp?: RegExp | undefined;
|
|
3023
2734
|
exportsPresence?: false | "auto" | "error" | "warn" | undefined;
|
|
3024
2735
|
importExportsPresence?: false | "auto" | "error" | "warn" | undefined;
|
|
3025
2736
|
reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined;
|
|
@@ -3040,6 +2751,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
3040
2751
|
importMeta?: boolean | undefined;
|
|
3041
2752
|
exprContextCritical?: boolean | undefined;
|
|
3042
2753
|
wrappedContextCritical?: boolean | undefined;
|
|
2754
|
+
wrappedContextRegExp?: RegExp | undefined;
|
|
3043
2755
|
exportsPresence?: false | "auto" | "error" | "warn" | undefined;
|
|
3044
2756
|
importExportsPresence?: false | "auto" | "error" | "warn" | undefined;
|
|
3045
2757
|
reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined;
|
|
@@ -3060,6 +2772,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
3060
2772
|
importMeta?: boolean | undefined;
|
|
3061
2773
|
exprContextCritical?: boolean | undefined;
|
|
3062
2774
|
wrappedContextCritical?: boolean | undefined;
|
|
2775
|
+
wrappedContextRegExp?: RegExp | undefined;
|
|
3063
2776
|
exportsPresence?: false | "auto" | "error" | "warn" | undefined;
|
|
3064
2777
|
importExportsPresence?: false | "auto" | "error" | "warn" | undefined;
|
|
3065
2778
|
reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined;
|
|
@@ -3072,6 +2785,8 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
3072
2785
|
importDynamic?: boolean | undefined;
|
|
3073
2786
|
} | undefined;
|
|
3074
2787
|
} | Record<string, Record<string, any>> | undefined;
|
|
2788
|
+
noParse?: string | RegExp | ((args_0: string, ...args: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args: unknown[]) => boolean))[] | undefined;
|
|
2789
|
+
}, {
|
|
3075
2790
|
generator?: Record<string, Record<string, any>> | {
|
|
3076
2791
|
css?: {
|
|
3077
2792
|
exportsOnly?: boolean | undefined;
|
|
@@ -3094,8 +2809,8 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
3094
2809
|
publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
3095
2810
|
emit?: boolean | undefined;
|
|
3096
2811
|
dataUrl?: {
|
|
3097
|
-
mimetype?: string | undefined;
|
|
3098
2812
|
encoding?: false | "base64" | undefined;
|
|
2813
|
+
mimetype?: string | undefined;
|
|
3099
2814
|
} | ((args_0: {
|
|
3100
2815
|
filename: string;
|
|
3101
2816
|
content: string;
|
|
@@ -3103,8 +2818,8 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
3103
2818
|
} | undefined;
|
|
3104
2819
|
"asset/inline"?: {
|
|
3105
2820
|
dataUrl?: {
|
|
3106
|
-
mimetype?: string | undefined;
|
|
3107
2821
|
encoding?: false | "base64" | undefined;
|
|
2822
|
+
mimetype?: string | undefined;
|
|
3108
2823
|
} | ((args_0: {
|
|
3109
2824
|
filename: string;
|
|
3110
2825
|
content: string;
|
|
@@ -3116,10 +2831,8 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
3116
2831
|
emit?: boolean | undefined;
|
|
3117
2832
|
} | undefined;
|
|
3118
2833
|
} | undefined;
|
|
3119
|
-
rules?: (false | "" | 0 | "..." | t.RuleSetRule | null | undefined)[] | undefined;
|
|
3120
2834
|
defaultRules?: (false | "" | 0 | "..." | t.RuleSetRule | null | undefined)[] | undefined;
|
|
3121
|
-
|
|
3122
|
-
}, {
|
|
2835
|
+
rules?: (false | "" | 0 | "..." | t.RuleSetRule | null | undefined)[] | undefined;
|
|
3123
2836
|
parser?: {
|
|
3124
2837
|
javascript?: {
|
|
3125
2838
|
url?: boolean | "relative" | undefined;
|
|
@@ -3130,6 +2843,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
3130
2843
|
importMeta?: boolean | undefined;
|
|
3131
2844
|
exprContextCritical?: boolean | undefined;
|
|
3132
2845
|
wrappedContextCritical?: boolean | undefined;
|
|
2846
|
+
wrappedContextRegExp?: RegExp | undefined;
|
|
3133
2847
|
exportsPresence?: false | "auto" | "error" | "warn" | undefined;
|
|
3134
2848
|
importExportsPresence?: false | "auto" | "error" | "warn" | undefined;
|
|
3135
2849
|
reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined;
|
|
@@ -3164,6 +2878,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
3164
2878
|
importMeta?: boolean | undefined;
|
|
3165
2879
|
exprContextCritical?: boolean | undefined;
|
|
3166
2880
|
wrappedContextCritical?: boolean | undefined;
|
|
2881
|
+
wrappedContextRegExp?: RegExp | undefined;
|
|
3167
2882
|
exportsPresence?: false | "auto" | "error" | "warn" | undefined;
|
|
3168
2883
|
importExportsPresence?: false | "auto" | "error" | "warn" | undefined;
|
|
3169
2884
|
reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined;
|
|
@@ -3184,6 +2899,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
3184
2899
|
importMeta?: boolean | undefined;
|
|
3185
2900
|
exprContextCritical?: boolean | undefined;
|
|
3186
2901
|
wrappedContextCritical?: boolean | undefined;
|
|
2902
|
+
wrappedContextRegExp?: RegExp | undefined;
|
|
3187
2903
|
exportsPresence?: false | "auto" | "error" | "warn" | undefined;
|
|
3188
2904
|
importExportsPresence?: false | "auto" | "error" | "warn" | undefined;
|
|
3189
2905
|
reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined;
|
|
@@ -3204,6 +2920,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
3204
2920
|
importMeta?: boolean | undefined;
|
|
3205
2921
|
exprContextCritical?: boolean | undefined;
|
|
3206
2922
|
wrappedContextCritical?: boolean | undefined;
|
|
2923
|
+
wrappedContextRegExp?: RegExp | undefined;
|
|
3207
2924
|
exportsPresence?: false | "auto" | "error" | "warn" | undefined;
|
|
3208
2925
|
importExportsPresence?: false | "auto" | "error" | "warn" | undefined;
|
|
3209
2926
|
reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined;
|
|
@@ -3216,6 +2933,30 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
3216
2933
|
importDynamic?: boolean | undefined;
|
|
3217
2934
|
} | undefined;
|
|
3218
2935
|
} | Record<string, Record<string, any>> | undefined;
|
|
2936
|
+
noParse?: string | RegExp | ((args_0: string, ...args: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args: unknown[]) => boolean))[] | undefined;
|
|
2937
|
+
}>>;
|
|
2938
|
+
profile: z.ZodOptional<z.ZodBoolean>;
|
|
2939
|
+
bail: z.ZodOptional<z.ZodBoolean>;
|
|
2940
|
+
performance: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
2941
|
+
assetFilter: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodString], z.ZodUnknown>, z.ZodBoolean>>;
|
|
2942
|
+
hints: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["error", "warning"]>, z.ZodLiteral<false>]>>;
|
|
2943
|
+
maxAssetSize: z.ZodOptional<z.ZodNumber>;
|
|
2944
|
+
maxEntrypointSize: z.ZodOptional<z.ZodNumber>;
|
|
2945
|
+
}, "strict", z.ZodTypeAny, {
|
|
2946
|
+
maxAssetSize?: number | undefined;
|
|
2947
|
+
assetFilter?: ((args_0: string, ...args: unknown[]) => boolean) | undefined;
|
|
2948
|
+
hints?: false | "error" | "warning" | undefined;
|
|
2949
|
+
maxEntrypointSize?: number | undefined;
|
|
2950
|
+
}, {
|
|
2951
|
+
maxAssetSize?: number | undefined;
|
|
2952
|
+
assetFilter?: ((args_0: string, ...args: unknown[]) => boolean) | undefined;
|
|
2953
|
+
hints?: false | "error" | "warning" | undefined;
|
|
2954
|
+
maxEntrypointSize?: number | undefined;
|
|
2955
|
+
}>, z.ZodLiteral<false>]>>;
|
|
2956
|
+
}, "strict", z.ZodTypeAny, {
|
|
2957
|
+
dependencies?: string[] | undefined;
|
|
2958
|
+
context?: string | undefined;
|
|
2959
|
+
module?: {
|
|
3219
2960
|
generator?: Record<string, Record<string, any>> | {
|
|
3220
2961
|
css?: {
|
|
3221
2962
|
exportsOnly?: boolean | undefined;
|
|
@@ -3238,8 +2979,8 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
3238
2979
|
publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
3239
2980
|
emit?: boolean | undefined;
|
|
3240
2981
|
dataUrl?: {
|
|
3241
|
-
mimetype?: string | undefined;
|
|
3242
2982
|
encoding?: false | "base64" | undefined;
|
|
2983
|
+
mimetype?: string | undefined;
|
|
3243
2984
|
} | ((args_0: {
|
|
3244
2985
|
filename: string;
|
|
3245
2986
|
content: string;
|
|
@@ -3247,8 +2988,8 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
3247
2988
|
} | undefined;
|
|
3248
2989
|
"asset/inline"?: {
|
|
3249
2990
|
dataUrl?: {
|
|
3250
|
-
mimetype?: string | undefined;
|
|
3251
2991
|
encoding?: false | "base64" | undefined;
|
|
2992
|
+
mimetype?: string | undefined;
|
|
3252
2993
|
} | ((args_0: {
|
|
3253
2994
|
filename: string;
|
|
3254
2995
|
content: string;
|
|
@@ -3260,32 +3001,8 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
3260
3001
|
emit?: boolean | undefined;
|
|
3261
3002
|
} | undefined;
|
|
3262
3003
|
} | undefined;
|
|
3263
|
-
rules?: (false | "" | 0 | "..." | t.RuleSetRule | null | undefined)[] | undefined;
|
|
3264
3004
|
defaultRules?: (false | "" | 0 | "..." | t.RuleSetRule | null | undefined)[] | undefined;
|
|
3265
|
-
|
|
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?: {
|
|
3005
|
+
rules?: (false | "" | 0 | "..." | t.RuleSetRule | null | undefined)[] | undefined;
|
|
3289
3006
|
parser?: {
|
|
3290
3007
|
javascript?: {
|
|
3291
3008
|
url?: boolean | "relative" | undefined;
|
|
@@ -3296,6 +3013,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
3296
3013
|
importMeta?: boolean | undefined;
|
|
3297
3014
|
exprContextCritical?: boolean | undefined;
|
|
3298
3015
|
wrappedContextCritical?: boolean | undefined;
|
|
3016
|
+
wrappedContextRegExp?: RegExp | undefined;
|
|
3299
3017
|
exportsPresence?: false | "auto" | "error" | "warn" | undefined;
|
|
3300
3018
|
importExportsPresence?: false | "auto" | "error" | "warn" | undefined;
|
|
3301
3019
|
reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined;
|
|
@@ -3330,6 +3048,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
3330
3048
|
importMeta?: boolean | undefined;
|
|
3331
3049
|
exprContextCritical?: boolean | undefined;
|
|
3332
3050
|
wrappedContextCritical?: boolean | undefined;
|
|
3051
|
+
wrappedContextRegExp?: RegExp | undefined;
|
|
3333
3052
|
exportsPresence?: false | "auto" | "error" | "warn" | undefined;
|
|
3334
3053
|
importExportsPresence?: false | "auto" | "error" | "warn" | undefined;
|
|
3335
3054
|
reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined;
|
|
@@ -3350,6 +3069,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
3350
3069
|
importMeta?: boolean | undefined;
|
|
3351
3070
|
exprContextCritical?: boolean | undefined;
|
|
3352
3071
|
wrappedContextCritical?: boolean | undefined;
|
|
3072
|
+
wrappedContextRegExp?: RegExp | undefined;
|
|
3353
3073
|
exportsPresence?: false | "auto" | "error" | "warn" | undefined;
|
|
3354
3074
|
importExportsPresence?: false | "auto" | "error" | "warn" | undefined;
|
|
3355
3075
|
reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined;
|
|
@@ -3370,6 +3090,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
3370
3090
|
importMeta?: boolean | undefined;
|
|
3371
3091
|
exprContextCritical?: boolean | undefined;
|
|
3372
3092
|
wrappedContextCritical?: boolean | undefined;
|
|
3093
|
+
wrappedContextRegExp?: RegExp | undefined;
|
|
3373
3094
|
exportsPresence?: false | "auto" | "error" | "warn" | undefined;
|
|
3374
3095
|
importExportsPresence?: false | "auto" | "error" | "warn" | undefined;
|
|
3375
3096
|
reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined;
|
|
@@ -3382,144 +3103,98 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
3382
3103
|
importDynamic?: boolean | undefined;
|
|
3383
3104
|
} | undefined;
|
|
3384
3105
|
} | 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
3106
|
noParse?: string | RegExp | ((args_0: string, ...args: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args: unknown[]) => boolean))[] | undefined;
|
|
3432
3107
|
} | undefined;
|
|
3433
3108
|
name?: string | undefined;
|
|
3434
3109
|
performance?: false | {
|
|
3110
|
+
maxAssetSize?: number | undefined;
|
|
3435
3111
|
assetFilter?: ((args_0: string, ...args: unknown[]) => boolean) | undefined;
|
|
3436
3112
|
hints?: false | "error" | "warning" | undefined;
|
|
3437
|
-
maxAssetSize?: number | undefined;
|
|
3438
3113
|
maxEntrypointSize?: number | undefined;
|
|
3439
3114
|
} | undefined;
|
|
3440
3115
|
entry?: string | string[] | Record<string, string | string[] | {
|
|
3441
3116
|
import: string | string[];
|
|
3117
|
+
layer?: string | null | undefined;
|
|
3442
3118
|
filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
3443
3119
|
publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
3444
|
-
layer?: string | null | undefined;
|
|
3445
3120
|
runtime?: string | false | undefined;
|
|
3446
|
-
baseUri?: string | undefined;
|
|
3447
3121
|
chunkLoading?: string | false | undefined;
|
|
3448
3122
|
asyncChunks?: boolean | undefined;
|
|
3449
|
-
|
|
3123
|
+
baseUri?: string | undefined;
|
|
3450
3124
|
library?: {
|
|
3451
3125
|
type: string;
|
|
3452
3126
|
name?: string | string[] | {
|
|
3127
|
+
root?: string | string[] | undefined;
|
|
3453
3128
|
commonjs?: string | undefined;
|
|
3454
3129
|
amd?: string | undefined;
|
|
3455
|
-
root?: string | string[] | undefined;
|
|
3456
3130
|
} | undefined;
|
|
3457
3131
|
amdContainer?: string | undefined;
|
|
3458
3132
|
auxiliaryComment?: string | {
|
|
3133
|
+
root?: string | undefined;
|
|
3459
3134
|
commonjs?: string | undefined;
|
|
3460
3135
|
amd?: string | undefined;
|
|
3461
3136
|
commonjs2?: string | undefined;
|
|
3462
|
-
root?: string | undefined;
|
|
3463
3137
|
} | undefined;
|
|
3464
3138
|
export?: string | string[] | undefined;
|
|
3465
3139
|
umdNamedDefine?: boolean | undefined;
|
|
3466
3140
|
} | undefined;
|
|
3141
|
+
wasmLoading?: string | false | undefined;
|
|
3467
3142
|
dependOn?: string | string[] | undefined;
|
|
3468
3143
|
}> | ((...args: unknown[]) => string | string[] | Record<string, string | string[] | {
|
|
3469
3144
|
import: string | string[];
|
|
3145
|
+
layer?: string | null | undefined;
|
|
3470
3146
|
filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
3471
3147
|
publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
3472
|
-
layer?: string | null | undefined;
|
|
3473
3148
|
runtime?: string | false | undefined;
|
|
3474
|
-
baseUri?: string | undefined;
|
|
3475
3149
|
chunkLoading?: string | false | undefined;
|
|
3476
3150
|
asyncChunks?: boolean | undefined;
|
|
3477
|
-
|
|
3151
|
+
baseUri?: string | undefined;
|
|
3478
3152
|
library?: {
|
|
3479
3153
|
type: string;
|
|
3480
3154
|
name?: string | string[] | {
|
|
3155
|
+
root?: string | string[] | undefined;
|
|
3481
3156
|
commonjs?: string | undefined;
|
|
3482
3157
|
amd?: string | undefined;
|
|
3483
|
-
root?: string | string[] | undefined;
|
|
3484
3158
|
} | undefined;
|
|
3485
3159
|
amdContainer?: string | undefined;
|
|
3486
3160
|
auxiliaryComment?: string | {
|
|
3161
|
+
root?: string | undefined;
|
|
3487
3162
|
commonjs?: string | undefined;
|
|
3488
3163
|
amd?: string | undefined;
|
|
3489
3164
|
commonjs2?: string | undefined;
|
|
3490
|
-
root?: string | undefined;
|
|
3491
3165
|
} | undefined;
|
|
3492
3166
|
export?: string | string[] | undefined;
|
|
3493
3167
|
umdNamedDefine?: boolean | undefined;
|
|
3494
3168
|
} | undefined;
|
|
3169
|
+
wasmLoading?: string | false | undefined;
|
|
3495
3170
|
dependOn?: string | string[] | undefined;
|
|
3496
3171
|
}> | Promise<string | string[] | Record<string, string | string[] | {
|
|
3497
3172
|
import: string | string[];
|
|
3173
|
+
layer?: string | null | undefined;
|
|
3498
3174
|
filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
3499
3175
|
publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
3500
|
-
layer?: string | null | undefined;
|
|
3501
3176
|
runtime?: string | false | undefined;
|
|
3502
|
-
baseUri?: string | undefined;
|
|
3503
3177
|
chunkLoading?: string | false | undefined;
|
|
3504
3178
|
asyncChunks?: boolean | undefined;
|
|
3505
|
-
|
|
3179
|
+
baseUri?: string | undefined;
|
|
3506
3180
|
library?: {
|
|
3507
3181
|
type: string;
|
|
3508
3182
|
name?: string | string[] | {
|
|
3183
|
+
root?: string | string[] | undefined;
|
|
3509
3184
|
commonjs?: string | undefined;
|
|
3510
3185
|
amd?: string | undefined;
|
|
3511
|
-
root?: string | string[] | undefined;
|
|
3512
3186
|
} | undefined;
|
|
3513
3187
|
amdContainer?: string | undefined;
|
|
3514
3188
|
auxiliaryComment?: string | {
|
|
3189
|
+
root?: string | undefined;
|
|
3515
3190
|
commonjs?: string | undefined;
|
|
3516
3191
|
amd?: string | undefined;
|
|
3517
3192
|
commonjs2?: string | undefined;
|
|
3518
|
-
root?: string | undefined;
|
|
3519
3193
|
} | undefined;
|
|
3520
3194
|
export?: string | string[] | undefined;
|
|
3521
3195
|
umdNamedDefine?: boolean | undefined;
|
|
3522
3196
|
} | undefined;
|
|
3197
|
+
wasmLoading?: string | false | undefined;
|
|
3523
3198
|
dependOn?: string | string[] | undefined;
|
|
3524
3199
|
}>>) | undefined;
|
|
3525
3200
|
node?: false | {
|
|
@@ -3529,77 +3204,120 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
3529
3204
|
} | undefined;
|
|
3530
3205
|
profile?: boolean | undefined;
|
|
3531
3206
|
cache?: boolean | undefined;
|
|
3532
|
-
|
|
3533
|
-
|
|
3534
|
-
|
|
3535
|
-
|
|
3536
|
-
|
|
3537
|
-
|
|
3538
|
-
|
|
3539
|
-
|
|
3540
|
-
|
|
3541
|
-
|
|
3542
|
-
|
|
3543
|
-
|
|
3544
|
-
|
|
3545
|
-
|
|
3207
|
+
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;
|
|
3208
|
+
mode?: "none" | "development" | "production" | undefined;
|
|
3209
|
+
experiments?: {
|
|
3210
|
+
css?: boolean | undefined;
|
|
3211
|
+
topLevelAwait?: boolean | undefined;
|
|
3212
|
+
layers?: boolean | undefined;
|
|
3213
|
+
incremental?: boolean | {
|
|
3214
|
+
make?: boolean | undefined;
|
|
3215
|
+
providedExports?: boolean | undefined;
|
|
3216
|
+
emitAssets?: boolean | undefined;
|
|
3217
|
+
inferAsyncModules?: boolean | undefined;
|
|
3218
|
+
dependenciesDiagnostics?: boolean | undefined;
|
|
3219
|
+
modulesHashes?: boolean | undefined;
|
|
3220
|
+
modulesCodegen?: boolean | undefined;
|
|
3221
|
+
modulesRuntimeRequirements?: boolean | undefined;
|
|
3222
|
+
buildChunkGraph?: boolean | undefined;
|
|
3223
|
+
} | undefined;
|
|
3224
|
+
rspackFuture?: {
|
|
3225
|
+
bundlerInfo?: {
|
|
3226
|
+
force?: boolean | ("version" | "uniqueId")[] | undefined;
|
|
3227
|
+
version?: string | undefined;
|
|
3228
|
+
bundler?: string | undefined;
|
|
3229
|
+
} | undefined;
|
|
3230
|
+
} | undefined;
|
|
3231
|
+
asyncWebAssembly?: boolean | undefined;
|
|
3232
|
+
outputModule?: boolean | undefined;
|
|
3233
|
+
futureDefaults?: boolean | undefined;
|
|
3234
|
+
lazyCompilation?: boolean | {
|
|
3235
|
+
entries?: boolean | undefined;
|
|
3236
|
+
imports?: boolean | undefined;
|
|
3237
|
+
test?: RegExp | ((args_0: Module, ...args: unknown[]) => boolean) | undefined;
|
|
3238
|
+
backend?: {
|
|
3239
|
+
client?: string | undefined;
|
|
3240
|
+
listen?: number | {
|
|
3241
|
+
path?: string | undefined;
|
|
3242
|
+
port?: number | undefined;
|
|
3243
|
+
host?: string | undefined;
|
|
3244
|
+
backlog?: number | undefined;
|
|
3245
|
+
exclusive?: boolean | undefined;
|
|
3246
|
+
readableAll?: boolean | undefined;
|
|
3247
|
+
writableAll?: boolean | undefined;
|
|
3248
|
+
ipv6Only?: boolean | undefined;
|
|
3249
|
+
} | undefined;
|
|
3250
|
+
protocol?: "http" | "https" | undefined;
|
|
3251
|
+
} | undefined;
|
|
3252
|
+
} | undefined;
|
|
3253
|
+
} | undefined;
|
|
3254
|
+
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;
|
|
3255
|
+
resolve?: t.ResolveOptions | undefined;
|
|
3256
|
+
output?: {
|
|
3257
|
+
module?: boolean | undefined;
|
|
3258
|
+
filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
3259
|
+
publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
3260
|
+
environment?: {
|
|
3261
|
+
module?: boolean | undefined;
|
|
3262
|
+
const?: boolean | undefined;
|
|
3263
|
+
document?: boolean | undefined;
|
|
3264
|
+
nodePrefixForCoreModules?: boolean | undefined;
|
|
3265
|
+
globalThis?: boolean | undefined;
|
|
3266
|
+
bigIntLiteral?: boolean | undefined;
|
|
3267
|
+
arrowFunction?: boolean | undefined;
|
|
3268
|
+
forOf?: boolean | undefined;
|
|
3269
|
+
destructuring?: boolean | undefined;
|
|
3546
3270
|
dynamicImport?: boolean | undefined;
|
|
3547
3271
|
dynamicImportInWorker?: boolean | undefined;
|
|
3548
|
-
forOf?: boolean | undefined;
|
|
3549
|
-
globalThis?: boolean | undefined;
|
|
3550
|
-
nodePrefixForCoreModules?: boolean | undefined;
|
|
3551
3272
|
optionalChaining?: boolean | undefined;
|
|
3552
3273
|
templateLiteral?: boolean | undefined;
|
|
3274
|
+
asyncFunction?: boolean | undefined;
|
|
3553
3275
|
} | undefined;
|
|
3554
3276
|
chunkFilename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
3555
3277
|
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
3278
|
chunkLoading?: string | false | undefined;
|
|
3564
3279
|
asyncChunks?: boolean | undefined;
|
|
3565
|
-
wasmLoading?: string | false | undefined;
|
|
3566
3280
|
library?: string | string[] | {
|
|
3281
|
+
root?: string | string[] | undefined;
|
|
3567
3282
|
commonjs?: string | undefined;
|
|
3568
3283
|
amd?: string | undefined;
|
|
3569
|
-
root?: string | string[] | undefined;
|
|
3570
3284
|
} | {
|
|
3571
3285
|
type: string;
|
|
3572
3286
|
name?: string | string[] | {
|
|
3287
|
+
root?: string | string[] | undefined;
|
|
3573
3288
|
commonjs?: string | undefined;
|
|
3574
3289
|
amd?: string | undefined;
|
|
3575
|
-
root?: string | string[] | undefined;
|
|
3576
3290
|
} | undefined;
|
|
3577
3291
|
amdContainer?: string | undefined;
|
|
3578
3292
|
auxiliaryComment?: string | {
|
|
3293
|
+
root?: string | undefined;
|
|
3579
3294
|
commonjs?: string | undefined;
|
|
3580
3295
|
amd?: string | undefined;
|
|
3581
3296
|
commonjs2?: string | undefined;
|
|
3582
|
-
root?: string | undefined;
|
|
3583
3297
|
} | undefined;
|
|
3584
3298
|
export?: string | string[] | undefined;
|
|
3585
3299
|
umdNamedDefine?: boolean | undefined;
|
|
3586
3300
|
} | undefined;
|
|
3301
|
+
wasmLoading?: string | false | undefined;
|
|
3302
|
+
auxiliaryComment?: string | {
|
|
3303
|
+
root?: string | undefined;
|
|
3304
|
+
commonjs?: string | undefined;
|
|
3305
|
+
amd?: string | undefined;
|
|
3306
|
+
commonjs2?: string | undefined;
|
|
3307
|
+
} | undefined;
|
|
3308
|
+
umdNamedDefine?: boolean | undefined;
|
|
3309
|
+
crossOriginLoading?: false | "anonymous" | "use-credentials" | undefined;
|
|
3310
|
+
uniqueName?: string | undefined;
|
|
3587
3311
|
pathinfo?: boolean | "verbose" | undefined;
|
|
3588
3312
|
clean?: boolean | undefined;
|
|
3589
|
-
crossOriginLoading?: false | "anonymous" | "use-credentials" | undefined;
|
|
3590
3313
|
cssFilename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
3591
|
-
cssHeadDataCompression?: boolean | undefined;
|
|
3592
3314
|
cssChunkFilename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
3593
3315
|
hotUpdateMainFilename?: string | undefined;
|
|
3594
3316
|
hotUpdateChunkFilename?: string | undefined;
|
|
3595
3317
|
hotUpdateGlobal?: string | undefined;
|
|
3596
3318
|
assetModuleFilename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
3597
|
-
uniqueName?: string | undefined;
|
|
3598
3319
|
chunkLoadingGlobal?: string | undefined;
|
|
3599
3320
|
enabledLibraryTypes?: string[] | undefined;
|
|
3600
|
-
libraryExport?: string | string[] | undefined;
|
|
3601
|
-
libraryTarget?: string | undefined;
|
|
3602
|
-
strictModuleExceptionHandling?: boolean | undefined;
|
|
3603
3321
|
strictModuleErrorHandling?: boolean | undefined;
|
|
3604
3322
|
globalObject?: string | undefined;
|
|
3605
3323
|
importFunctionName?: string | undefined;
|
|
@@ -3624,121 +3342,89 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
3624
3342
|
devtoolNamespace?: string | undefined;
|
|
3625
3343
|
devtoolModuleFilenameTemplate?: string | ((args_0: any) => any) | undefined;
|
|
3626
3344
|
devtoolFallbackModuleFilenameTemplate?: string | ((args_0: any) => any) | undefined;
|
|
3627
|
-
chunkLoadTimeout?: number | undefined;
|
|
3628
3345
|
charset?: boolean | undefined;
|
|
3346
|
+
chunkLoadTimeout?: number | undefined;
|
|
3347
|
+
cssHeadDataCompression?: boolean | undefined;
|
|
3348
|
+
compareBeforeEmit?: boolean | undefined;
|
|
3349
|
+
libraryExport?: string | string[] | undefined;
|
|
3350
|
+
libraryTarget?: string | undefined;
|
|
3351
|
+
strictModuleExceptionHandling?: boolean | undefined;
|
|
3629
3352
|
} | undefined;
|
|
3630
|
-
|
|
3631
|
-
|
|
3632
|
-
|
|
3633
|
-
|
|
3634
|
-
|
|
3635
|
-
|
|
3636
|
-
|
|
3637
|
-
|
|
3638
|
-
|
|
3639
|
-
|
|
3640
|
-
|
|
3641
|
-
|
|
3642
|
-
|
|
3643
|
-
|
|
3644
|
-
|
|
3645
|
-
|
|
3646
|
-
|
|
3647
|
-
|
|
3648
|
-
|
|
3649
|
-
|
|
3650
|
-
|
|
3651
|
-
|
|
3652
|
-
|
|
3653
|
-
|
|
3654
|
-
|
|
3655
|
-
|
|
3656
|
-
|
|
3657
|
-
|
|
3658
|
-
|
|
3659
|
-
|
|
3660
|
-
|
|
3661
|
-
|
|
3662
|
-
|
|
3663
|
-
|
|
3664
|
-
|
|
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;
|
|
3353
|
+
optimization?: {
|
|
3354
|
+
splitChunks?: false | {
|
|
3355
|
+
name?: string | false | ((args_0: Module | undefined, ...args: unknown[]) => unknown) | undefined;
|
|
3356
|
+
chunks?: RegExp | "all" | "async" | "initial" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
|
3357
|
+
usedExports?: boolean | undefined;
|
|
3358
|
+
defaultSizeTypes?: string[] | undefined;
|
|
3359
|
+
cacheGroups?: Record<string, false | {
|
|
3360
|
+
type?: string | RegExp | undefined;
|
|
3361
|
+
filename?: string | undefined;
|
|
3362
|
+
name?: string | false | ((args_0: Module | undefined, ...args: unknown[]) => unknown) | undefined;
|
|
3363
|
+
priority?: number | undefined;
|
|
3364
|
+
chunks?: RegExp | "all" | "async" | "initial" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
|
3365
|
+
usedExports?: boolean | undefined;
|
|
3366
|
+
defaultSizeTypes?: string[] | undefined;
|
|
3367
|
+
maxSize?: number | Record<string, number> | undefined;
|
|
3368
|
+
minChunks?: number | undefined;
|
|
3369
|
+
minSize?: number | Record<string, number> | undefined;
|
|
3370
|
+
maxAsyncSize?: number | Record<string, number> | undefined;
|
|
3371
|
+
maxInitialSize?: number | Record<string, number> | undefined;
|
|
3372
|
+
maxAsyncRequests?: number | undefined;
|
|
3373
|
+
maxInitialRequests?: number | undefined;
|
|
3374
|
+
automaticNameDelimiter?: string | undefined;
|
|
3375
|
+
test?: string | RegExp | ((args_0: Module, ...args: unknown[]) => unknown) | undefined;
|
|
3376
|
+
idHint?: string | undefined;
|
|
3377
|
+
reuseExistingChunk?: boolean | undefined;
|
|
3378
|
+
enforce?: boolean | undefined;
|
|
3379
|
+
}> | undefined;
|
|
3380
|
+
maxSize?: number | Record<string, number> | undefined;
|
|
3381
|
+
fallbackCacheGroup?: {
|
|
3382
|
+
chunks?: RegExp | "all" | "async" | "initial" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
|
3383
|
+
maxSize?: number | undefined;
|
|
3384
|
+
minSize?: number | undefined;
|
|
3385
|
+
maxAsyncSize?: number | undefined;
|
|
3386
|
+
maxInitialSize?: number | undefined;
|
|
3387
|
+
automaticNameDelimiter?: string | undefined;
|
|
3673
3388
|
} | undefined;
|
|
3389
|
+
hidePathInfo?: boolean | undefined;
|
|
3390
|
+
minChunks?: number | undefined;
|
|
3391
|
+
minSize?: number | Record<string, number> | undefined;
|
|
3392
|
+
maxAsyncSize?: number | Record<string, number> | undefined;
|
|
3393
|
+
maxInitialSize?: number | Record<string, number> | undefined;
|
|
3394
|
+
maxAsyncRequests?: number | undefined;
|
|
3395
|
+
maxInitialRequests?: number | undefined;
|
|
3396
|
+
automaticNameDelimiter?: string | undefined;
|
|
3674
3397
|
} | undefined;
|
|
3675
|
-
|
|
3676
|
-
|
|
3677
|
-
|
|
3678
|
-
|
|
3679
|
-
|
|
3680
|
-
|
|
3681
|
-
|
|
3682
|
-
|
|
3683
|
-
|
|
3684
|
-
|
|
3685
|
-
|
|
3686
|
-
|
|
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;
|
|
3398
|
+
usedExports?: boolean | "global" | undefined;
|
|
3399
|
+
providedExports?: boolean | undefined;
|
|
3400
|
+
removeAvailableModules?: boolean | undefined;
|
|
3401
|
+
moduleIds?: "named" | "natural" | "deterministic" | undefined;
|
|
3402
|
+
chunkIds?: "named" | "natural" | "deterministic" | undefined;
|
|
3403
|
+
minimize?: boolean | undefined;
|
|
3404
|
+
minimizer?: (false | "" | 0 | t.RspackPluginInstance | "..." | t.WebpackPluginInstance | t.RspackPluginFunction | t.WebpackPluginFunction | null | undefined)[] | undefined;
|
|
3405
|
+
mergeDuplicateChunks?: boolean | undefined;
|
|
3406
|
+
runtimeChunk?: boolean | "single" | "multiple" | {
|
|
3407
|
+
name?: string | ((args_0: {
|
|
3408
|
+
name: string;
|
|
3409
|
+
}, ...args: unknown[]) => string) | undefined;
|
|
3703
3410
|
} | undefined;
|
|
3704
|
-
|
|
3705
|
-
|
|
3706
|
-
|
|
3707
|
-
|
|
3708
|
-
|
|
3709
|
-
|
|
3710
|
-
|
|
3711
|
-
|
|
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;
|
|
3411
|
+
removeEmptyChunks?: boolean | undefined;
|
|
3412
|
+
realContentHash?: boolean | undefined;
|
|
3413
|
+
sideEffects?: boolean | "flag" | undefined;
|
|
3414
|
+
concatenateModules?: boolean | undefined;
|
|
3415
|
+
innerGraph?: boolean | undefined;
|
|
3416
|
+
mangleExports?: boolean | "size" | "deterministic" | undefined;
|
|
3417
|
+
nodeEnv?: string | false | undefined;
|
|
3418
|
+
emitOnErrors?: boolean | undefined;
|
|
3732
3419
|
} | undefined;
|
|
3733
|
-
|
|
3420
|
+
snapshot?: {} | undefined;
|
|
3734
3421
|
stats?: boolean | "verbose" | "normal" | "none" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | {
|
|
3735
|
-
|
|
3422
|
+
modules?: boolean | undefined;
|
|
3736
3423
|
publicPath?: boolean | undefined;
|
|
3737
3424
|
all?: boolean | undefined;
|
|
3738
3425
|
preset?: boolean | "verbose" | "normal" | "none" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | undefined;
|
|
3739
3426
|
assets?: boolean | undefined;
|
|
3740
3427
|
chunks?: boolean | undefined;
|
|
3741
|
-
modules?: boolean | undefined;
|
|
3742
3428
|
entrypoints?: boolean | "auto" | undefined;
|
|
3743
3429
|
chunkGroups?: boolean | undefined;
|
|
3744
3430
|
warnings?: boolean | undefined;
|
|
@@ -3757,6 +3443,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
3757
3443
|
builtAt?: boolean | undefined;
|
|
3758
3444
|
moduleAssets?: boolean | undefined;
|
|
3759
3445
|
nestedModules?: boolean | undefined;
|
|
3446
|
+
source?: boolean | undefined;
|
|
3760
3447
|
logging?: boolean | "log" | "info" | "verbose" | "none" | "error" | "warn" | undefined;
|
|
3761
3448
|
loggingDebug?: string | boolean | RegExp | ((args_0: string, ...args: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args: unknown[]) => boolean))[] | undefined;
|
|
3762
3449
|
loggingTrace?: boolean | undefined;
|
|
@@ -3809,82 +3496,148 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
3809
3496
|
errorsSpace?: number | undefined;
|
|
3810
3497
|
warningsSpace?: number | undefined;
|
|
3811
3498
|
} | undefined;
|
|
3812
|
-
|
|
3813
|
-
|
|
3814
|
-
|
|
3815
|
-
|
|
3816
|
-
|
|
3817
|
-
|
|
3818
|
-
|
|
3819
|
-
|
|
3820
|
-
|
|
3821
|
-
|
|
3822
|
-
|
|
3823
|
-
|
|
3824
|
-
|
|
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;
|
|
3499
|
+
loader?: Record<string, any> | undefined;
|
|
3500
|
+
resolveLoader?: t.ResolveOptions | undefined;
|
|
3501
|
+
externals?: string | RegExp | Record<string, string | boolean | string[] | {
|
|
3502
|
+
root: string | string[];
|
|
3503
|
+
commonjs: string | string[];
|
|
3504
|
+
commonjs2: string | string[];
|
|
3505
|
+
amd?: string | string[] | undefined;
|
|
3506
|
+
}> | ((args_0: {
|
|
3507
|
+
request?: string | undefined;
|
|
3508
|
+
context?: string | undefined;
|
|
3509
|
+
dependencyType?: string | undefined;
|
|
3510
|
+
contextInfo?: {
|
|
3511
|
+
issuer: string;
|
|
3857
3512
|
} | undefined;
|
|
3858
|
-
|
|
3859
|
-
|
|
3860
|
-
|
|
3861
|
-
|
|
3862
|
-
|
|
3863
|
-
|
|
3864
|
-
|
|
3865
|
-
|
|
3866
|
-
|
|
3867
|
-
|
|
3868
|
-
|
|
3869
|
-
}, ...args: unknown[]) => string) | undefined;
|
|
3513
|
+
}, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | {
|
|
3514
|
+
root: string | string[];
|
|
3515
|
+
commonjs: string | string[];
|
|
3516
|
+
commonjs2: string | string[];
|
|
3517
|
+
amd?: string | string[] | undefined;
|
|
3518
|
+
} | undefined, args_2: "module" | "global" | "system" | "script" | "commonjs" | "umd" | "amd" | "var" | "jsonp" | "import" | "assign" | "this" | "window" | "self" | "commonjs2" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd2" | "promise" | "module-import" | "node-commonjs" | undefined, ...args: unknown[]) => void, ...args: unknown[]) => unknown) | ((args_0: {
|
|
3519
|
+
request?: string | undefined;
|
|
3520
|
+
context?: string | undefined;
|
|
3521
|
+
dependencyType?: string | undefined;
|
|
3522
|
+
contextInfo?: {
|
|
3523
|
+
issuer: string;
|
|
3870
3524
|
} | undefined;
|
|
3871
|
-
|
|
3872
|
-
|
|
3873
|
-
|
|
3874
|
-
|
|
3875
|
-
|
|
3876
|
-
|
|
3877
|
-
|
|
3878
|
-
|
|
3525
|
+
}, ...args: unknown[]) => Promise<string | boolean | string[] | {
|
|
3526
|
+
root: string | string[];
|
|
3527
|
+
commonjs: string | string[];
|
|
3528
|
+
commonjs2: string | string[];
|
|
3529
|
+
amd?: string | string[] | undefined;
|
|
3530
|
+
}>) | (string | RegExp | Record<string, string | boolean | string[] | {
|
|
3531
|
+
root: string | string[];
|
|
3532
|
+
commonjs: string | string[];
|
|
3533
|
+
commonjs2: string | string[];
|
|
3534
|
+
amd?: string | string[] | undefined;
|
|
3535
|
+
}> | ((args_0: {
|
|
3536
|
+
request?: string | undefined;
|
|
3537
|
+
context?: string | undefined;
|
|
3538
|
+
dependencyType?: string | undefined;
|
|
3539
|
+
contextInfo?: {
|
|
3540
|
+
issuer: string;
|
|
3541
|
+
} | undefined;
|
|
3542
|
+
}, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | {
|
|
3543
|
+
root: string | string[];
|
|
3544
|
+
commonjs: string | string[];
|
|
3545
|
+
commonjs2: string | string[];
|
|
3546
|
+
amd?: string | string[] | undefined;
|
|
3547
|
+
} | undefined, args_2: "module" | "global" | "system" | "script" | "commonjs" | "umd" | "amd" | "var" | "jsonp" | "import" | "assign" | "this" | "window" | "self" | "commonjs2" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd2" | "promise" | "module-import" | "node-commonjs" | undefined, ...args: unknown[]) => void, ...args: unknown[]) => unknown) | ((args_0: {
|
|
3548
|
+
request?: string | undefined;
|
|
3549
|
+
context?: string | undefined;
|
|
3550
|
+
dependencyType?: string | undefined;
|
|
3551
|
+
contextInfo?: {
|
|
3552
|
+
issuer: string;
|
|
3553
|
+
} | undefined;
|
|
3554
|
+
}, ...args: unknown[]) => Promise<string | boolean | string[] | {
|
|
3555
|
+
root: string | string[];
|
|
3556
|
+
commonjs: string | string[];
|
|
3557
|
+
commonjs2: string | string[];
|
|
3558
|
+
amd?: string | string[] | undefined;
|
|
3559
|
+
}>))[] | undefined;
|
|
3560
|
+
externalsType?: "module" | "global" | "system" | "script" | "commonjs" | "umd" | "amd" | "var" | "jsonp" | "import" | "assign" | "this" | "window" | "self" | "commonjs2" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd2" | "promise" | "module-import" | "node-commonjs" | undefined;
|
|
3561
|
+
externalsPresets?: {
|
|
3562
|
+
node?: boolean | undefined;
|
|
3563
|
+
web?: boolean | undefined;
|
|
3564
|
+
nwjs?: boolean | undefined;
|
|
3565
|
+
electron?: boolean | undefined;
|
|
3566
|
+
electronMain?: boolean | undefined;
|
|
3567
|
+
electronPreload?: boolean | undefined;
|
|
3568
|
+
electronRenderer?: boolean | undefined;
|
|
3569
|
+
webAsync?: boolean | undefined;
|
|
3570
|
+
} | undefined;
|
|
3571
|
+
infrastructureLogging?: {
|
|
3572
|
+
debug?: string | boolean | RegExp | ((args_0: string, ...args: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args: unknown[]) => boolean))[] | undefined;
|
|
3573
|
+
colors?: boolean | undefined;
|
|
3574
|
+
stream?: NodeJS.WritableStream | undefined;
|
|
3575
|
+
appendOnly?: boolean | undefined;
|
|
3576
|
+
console?: Console | undefined;
|
|
3577
|
+
level?: "log" | "info" | "verbose" | "none" | "error" | "warn" | undefined;
|
|
3879
3578
|
} | undefined;
|
|
3880
|
-
resolveLoader?: t.ResolveOptions | undefined;
|
|
3881
3579
|
plugins?: (false | "" | 0 | t.RspackPluginInstance | t.WebpackPluginInstance | t.RspackPluginFunction | t.WebpackPluginFunction | null | undefined)[] | undefined;
|
|
3882
|
-
|
|
3580
|
+
watch?: boolean | undefined;
|
|
3581
|
+
watchOptions?: {
|
|
3582
|
+
aggregateTimeout?: number | undefined;
|
|
3583
|
+
followSymlinks?: boolean | undefined;
|
|
3584
|
+
ignored?: string | RegExp | string[] | undefined;
|
|
3585
|
+
poll?: number | boolean | undefined;
|
|
3586
|
+
stdin?: boolean | undefined;
|
|
3587
|
+
} | undefined;
|
|
3588
|
+
devServer?: t.DevServer | undefined;
|
|
3589
|
+
ignoreWarnings?: (RegExp | ((args_0: Error, args_1: Compilation, ...args: unknown[]) => boolean))[] | undefined;
|
|
3883
3590
|
bail?: boolean | undefined;
|
|
3884
3591
|
}, {
|
|
3885
|
-
context?: string | undefined;
|
|
3886
3592
|
dependencies?: string[] | undefined;
|
|
3593
|
+
context?: string | undefined;
|
|
3887
3594
|
module?: {
|
|
3595
|
+
generator?: Record<string, Record<string, any>> | {
|
|
3596
|
+
css?: {
|
|
3597
|
+
exportsOnly?: boolean | undefined;
|
|
3598
|
+
esModule?: boolean | undefined;
|
|
3599
|
+
} | undefined;
|
|
3600
|
+
"css/auto"?: {
|
|
3601
|
+
exportsOnly?: boolean | undefined;
|
|
3602
|
+
esModule?: boolean | undefined;
|
|
3603
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
3604
|
+
localIdentName?: string | undefined;
|
|
3605
|
+
} | undefined;
|
|
3606
|
+
"css/module"?: {
|
|
3607
|
+
exportsOnly?: boolean | undefined;
|
|
3608
|
+
esModule?: boolean | undefined;
|
|
3609
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
3610
|
+
localIdentName?: string | undefined;
|
|
3611
|
+
} | undefined;
|
|
3612
|
+
asset?: {
|
|
3613
|
+
filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
3614
|
+
publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
3615
|
+
emit?: boolean | undefined;
|
|
3616
|
+
dataUrl?: {
|
|
3617
|
+
encoding?: false | "base64" | undefined;
|
|
3618
|
+
mimetype?: string | undefined;
|
|
3619
|
+
} | ((args_0: {
|
|
3620
|
+
filename: string;
|
|
3621
|
+
content: string;
|
|
3622
|
+
}, ...args: unknown[]) => string) | undefined;
|
|
3623
|
+
} | undefined;
|
|
3624
|
+
"asset/inline"?: {
|
|
3625
|
+
dataUrl?: {
|
|
3626
|
+
encoding?: false | "base64" | undefined;
|
|
3627
|
+
mimetype?: string | undefined;
|
|
3628
|
+
} | ((args_0: {
|
|
3629
|
+
filename: string;
|
|
3630
|
+
content: string;
|
|
3631
|
+
}, ...args: unknown[]) => string) | undefined;
|
|
3632
|
+
} | undefined;
|
|
3633
|
+
"asset/resource"?: {
|
|
3634
|
+
filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
3635
|
+
publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
3636
|
+
emit?: boolean | undefined;
|
|
3637
|
+
} | undefined;
|
|
3638
|
+
} | undefined;
|
|
3639
|
+
defaultRules?: (false | "" | 0 | "..." | t.RuleSetRule | null | undefined)[] | undefined;
|
|
3640
|
+
rules?: (false | "" | 0 | "..." | t.RuleSetRule | null | undefined)[] | undefined;
|
|
3888
3641
|
parser?: {
|
|
3889
3642
|
javascript?: {
|
|
3890
3643
|
url?: boolean | "relative" | undefined;
|
|
@@ -3895,6 +3648,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
3895
3648
|
importMeta?: boolean | undefined;
|
|
3896
3649
|
exprContextCritical?: boolean | undefined;
|
|
3897
3650
|
wrappedContextCritical?: boolean | undefined;
|
|
3651
|
+
wrappedContextRegExp?: RegExp | undefined;
|
|
3898
3652
|
exportsPresence?: false | "auto" | "error" | "warn" | undefined;
|
|
3899
3653
|
importExportsPresence?: false | "auto" | "error" | "warn" | undefined;
|
|
3900
3654
|
reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined;
|
|
@@ -3929,6 +3683,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
3929
3683
|
importMeta?: boolean | undefined;
|
|
3930
3684
|
exprContextCritical?: boolean | undefined;
|
|
3931
3685
|
wrappedContextCritical?: boolean | undefined;
|
|
3686
|
+
wrappedContextRegExp?: RegExp | undefined;
|
|
3932
3687
|
exportsPresence?: false | "auto" | "error" | "warn" | undefined;
|
|
3933
3688
|
importExportsPresence?: false | "auto" | "error" | "warn" | undefined;
|
|
3934
3689
|
reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined;
|
|
@@ -3949,6 +3704,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
3949
3704
|
importMeta?: boolean | undefined;
|
|
3950
3705
|
exprContextCritical?: boolean | undefined;
|
|
3951
3706
|
wrappedContextCritical?: boolean | undefined;
|
|
3707
|
+
wrappedContextRegExp?: RegExp | undefined;
|
|
3952
3708
|
exportsPresence?: false | "auto" | "error" | "warn" | undefined;
|
|
3953
3709
|
importExportsPresence?: false | "auto" | "error" | "warn" | undefined;
|
|
3954
3710
|
reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined;
|
|
@@ -3969,6 +3725,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
3969
3725
|
importMeta?: boolean | undefined;
|
|
3970
3726
|
exprContextCritical?: boolean | undefined;
|
|
3971
3727
|
wrappedContextCritical?: boolean | undefined;
|
|
3728
|
+
wrappedContextRegExp?: RegExp | undefined;
|
|
3972
3729
|
exportsPresence?: false | "auto" | "error" | "warn" | undefined;
|
|
3973
3730
|
importExportsPresence?: false | "auto" | "error" | "warn" | undefined;
|
|
3974
3731
|
reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined;
|
|
@@ -3981,144 +3738,98 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
3981
3738
|
importDynamic?: boolean | undefined;
|
|
3982
3739
|
} | undefined;
|
|
3983
3740
|
} | 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
3741
|
noParse?: string | RegExp | ((args_0: string, ...args: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args: unknown[]) => boolean))[] | undefined;
|
|
4031
3742
|
} | undefined;
|
|
4032
3743
|
name?: string | undefined;
|
|
4033
3744
|
performance?: false | {
|
|
3745
|
+
maxAssetSize?: number | undefined;
|
|
4034
3746
|
assetFilter?: ((args_0: string, ...args: unknown[]) => boolean) | undefined;
|
|
4035
3747
|
hints?: false | "error" | "warning" | undefined;
|
|
4036
|
-
maxAssetSize?: number | undefined;
|
|
4037
3748
|
maxEntrypointSize?: number | undefined;
|
|
4038
3749
|
} | undefined;
|
|
4039
3750
|
entry?: string | string[] | Record<string, string | string[] | {
|
|
4040
3751
|
import: string | string[];
|
|
3752
|
+
layer?: string | null | undefined;
|
|
4041
3753
|
filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
4042
3754
|
publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
4043
|
-
layer?: string | null | undefined;
|
|
4044
3755
|
runtime?: string | false | undefined;
|
|
4045
|
-
baseUri?: string | undefined;
|
|
4046
3756
|
chunkLoading?: string | false | undefined;
|
|
4047
3757
|
asyncChunks?: boolean | undefined;
|
|
4048
|
-
|
|
3758
|
+
baseUri?: string | undefined;
|
|
4049
3759
|
library?: {
|
|
4050
3760
|
type: string;
|
|
4051
3761
|
name?: string | string[] | {
|
|
3762
|
+
root?: string | string[] | undefined;
|
|
4052
3763
|
commonjs?: string | undefined;
|
|
4053
3764
|
amd?: string | undefined;
|
|
4054
|
-
root?: string | string[] | undefined;
|
|
4055
3765
|
} | undefined;
|
|
4056
3766
|
amdContainer?: string | undefined;
|
|
4057
3767
|
auxiliaryComment?: string | {
|
|
3768
|
+
root?: string | undefined;
|
|
4058
3769
|
commonjs?: string | undefined;
|
|
4059
3770
|
amd?: string | undefined;
|
|
4060
3771
|
commonjs2?: string | undefined;
|
|
4061
|
-
root?: string | undefined;
|
|
4062
3772
|
} | undefined;
|
|
4063
3773
|
export?: string | string[] | undefined;
|
|
4064
3774
|
umdNamedDefine?: boolean | undefined;
|
|
4065
3775
|
} | undefined;
|
|
3776
|
+
wasmLoading?: string | false | undefined;
|
|
4066
3777
|
dependOn?: string | string[] | undefined;
|
|
4067
3778
|
}> | ((...args: unknown[]) => string | string[] | Record<string, string | string[] | {
|
|
4068
3779
|
import: string | string[];
|
|
3780
|
+
layer?: string | null | undefined;
|
|
4069
3781
|
filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
4070
3782
|
publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
4071
|
-
layer?: string | null | undefined;
|
|
4072
3783
|
runtime?: string | false | undefined;
|
|
4073
|
-
baseUri?: string | undefined;
|
|
4074
3784
|
chunkLoading?: string | false | undefined;
|
|
4075
3785
|
asyncChunks?: boolean | undefined;
|
|
4076
|
-
|
|
3786
|
+
baseUri?: string | undefined;
|
|
4077
3787
|
library?: {
|
|
4078
3788
|
type: string;
|
|
4079
3789
|
name?: string | string[] | {
|
|
3790
|
+
root?: string | string[] | undefined;
|
|
4080
3791
|
commonjs?: string | undefined;
|
|
4081
3792
|
amd?: string | undefined;
|
|
4082
|
-
root?: string | string[] | undefined;
|
|
4083
3793
|
} | undefined;
|
|
4084
3794
|
amdContainer?: string | undefined;
|
|
4085
3795
|
auxiliaryComment?: string | {
|
|
3796
|
+
root?: string | undefined;
|
|
4086
3797
|
commonjs?: string | undefined;
|
|
4087
3798
|
amd?: string | undefined;
|
|
4088
3799
|
commonjs2?: string | undefined;
|
|
4089
|
-
root?: string | undefined;
|
|
4090
3800
|
} | undefined;
|
|
4091
3801
|
export?: string | string[] | undefined;
|
|
4092
3802
|
umdNamedDefine?: boolean | undefined;
|
|
4093
3803
|
} | undefined;
|
|
3804
|
+
wasmLoading?: string | false | undefined;
|
|
4094
3805
|
dependOn?: string | string[] | undefined;
|
|
4095
3806
|
}> | Promise<string | string[] | Record<string, string | string[] | {
|
|
4096
3807
|
import: string | string[];
|
|
3808
|
+
layer?: string | null | undefined;
|
|
4097
3809
|
filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
4098
3810
|
publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
4099
|
-
layer?: string | null | undefined;
|
|
4100
3811
|
runtime?: string | false | undefined;
|
|
4101
|
-
baseUri?: string | undefined;
|
|
4102
3812
|
chunkLoading?: string | false | undefined;
|
|
4103
3813
|
asyncChunks?: boolean | undefined;
|
|
4104
|
-
|
|
3814
|
+
baseUri?: string | undefined;
|
|
4105
3815
|
library?: {
|
|
4106
3816
|
type: string;
|
|
4107
3817
|
name?: string | string[] | {
|
|
3818
|
+
root?: string | string[] | undefined;
|
|
4108
3819
|
commonjs?: string | undefined;
|
|
4109
3820
|
amd?: string | undefined;
|
|
4110
|
-
root?: string | string[] | undefined;
|
|
4111
3821
|
} | undefined;
|
|
4112
3822
|
amdContainer?: string | undefined;
|
|
4113
3823
|
auxiliaryComment?: string | {
|
|
3824
|
+
root?: string | undefined;
|
|
4114
3825
|
commonjs?: string | undefined;
|
|
4115
3826
|
amd?: string | undefined;
|
|
4116
3827
|
commonjs2?: string | undefined;
|
|
4117
|
-
root?: string | undefined;
|
|
4118
3828
|
} | undefined;
|
|
4119
3829
|
export?: string | string[] | undefined;
|
|
4120
3830
|
umdNamedDefine?: boolean | undefined;
|
|
4121
3831
|
} | undefined;
|
|
3832
|
+
wasmLoading?: string | false | undefined;
|
|
4122
3833
|
dependOn?: string | string[] | undefined;
|
|
4123
3834
|
}>>) | undefined;
|
|
4124
3835
|
node?: false | {
|
|
@@ -4128,7 +3839,54 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
4128
3839
|
} | undefined;
|
|
4129
3840
|
profile?: boolean | undefined;
|
|
4130
3841
|
cache?: boolean | undefined;
|
|
4131
|
-
|
|
3842
|
+
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;
|
|
3843
|
+
mode?: "none" | "development" | "production" | undefined;
|
|
3844
|
+
experiments?: {
|
|
3845
|
+
css?: boolean | undefined;
|
|
3846
|
+
topLevelAwait?: boolean | undefined;
|
|
3847
|
+
layers?: boolean | undefined;
|
|
3848
|
+
incremental?: boolean | {
|
|
3849
|
+
make?: boolean | undefined;
|
|
3850
|
+
providedExports?: boolean | undefined;
|
|
3851
|
+
emitAssets?: boolean | undefined;
|
|
3852
|
+
inferAsyncModules?: boolean | undefined;
|
|
3853
|
+
dependenciesDiagnostics?: boolean | undefined;
|
|
3854
|
+
modulesHashes?: boolean | undefined;
|
|
3855
|
+
modulesCodegen?: boolean | undefined;
|
|
3856
|
+
modulesRuntimeRequirements?: boolean | undefined;
|
|
3857
|
+
buildChunkGraph?: boolean | undefined;
|
|
3858
|
+
} | undefined;
|
|
3859
|
+
rspackFuture?: {
|
|
3860
|
+
bundlerInfo?: {
|
|
3861
|
+
force?: boolean | ("version" | "uniqueId")[] | undefined;
|
|
3862
|
+
version?: string | undefined;
|
|
3863
|
+
bundler?: string | undefined;
|
|
3864
|
+
} | undefined;
|
|
3865
|
+
} | undefined;
|
|
3866
|
+
asyncWebAssembly?: boolean | undefined;
|
|
3867
|
+
outputModule?: boolean | undefined;
|
|
3868
|
+
futureDefaults?: boolean | undefined;
|
|
3869
|
+
lazyCompilation?: boolean | {
|
|
3870
|
+
entries?: boolean | undefined;
|
|
3871
|
+
imports?: boolean | undefined;
|
|
3872
|
+
test?: RegExp | ((args_0: Module, ...args: unknown[]) => boolean) | undefined;
|
|
3873
|
+
backend?: {
|
|
3874
|
+
client?: string | undefined;
|
|
3875
|
+
listen?: number | {
|
|
3876
|
+
path?: string | undefined;
|
|
3877
|
+
port?: number | undefined;
|
|
3878
|
+
host?: string | undefined;
|
|
3879
|
+
backlog?: number | undefined;
|
|
3880
|
+
exclusive?: boolean | undefined;
|
|
3881
|
+
readableAll?: boolean | undefined;
|
|
3882
|
+
writableAll?: boolean | undefined;
|
|
3883
|
+
ipv6Only?: boolean | undefined;
|
|
3884
|
+
} | undefined;
|
|
3885
|
+
protocol?: "http" | "https" | undefined;
|
|
3886
|
+
} | undefined;
|
|
3887
|
+
} | undefined;
|
|
3888
|
+
} | undefined;
|
|
3889
|
+
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
3890
|
resolve?: t.ResolveOptions | undefined;
|
|
4133
3891
|
output?: {
|
|
4134
3892
|
module?: boolean | undefined;
|
|
@@ -4136,208 +3894,172 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
4136
3894
|
publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
4137
3895
|
environment?: {
|
|
4138
3896
|
module?: boolean | undefined;
|
|
4139
|
-
arrowFunction?: boolean | undefined;
|
|
4140
|
-
asyncFunction?: boolean | undefined;
|
|
4141
|
-
bigIntLiteral?: boolean | undefined;
|
|
4142
3897
|
const?: boolean | undefined;
|
|
4143
|
-
destructuring?: boolean | undefined;
|
|
4144
3898
|
document?: boolean | undefined;
|
|
3899
|
+
nodePrefixForCoreModules?: boolean | undefined;
|
|
3900
|
+
globalThis?: boolean | undefined;
|
|
3901
|
+
bigIntLiteral?: boolean | undefined;
|
|
3902
|
+
arrowFunction?: boolean | undefined;
|
|
3903
|
+
forOf?: boolean | undefined;
|
|
3904
|
+
destructuring?: boolean | undefined;
|
|
4145
3905
|
dynamicImport?: boolean | undefined;
|
|
4146
3906
|
dynamicImportInWorker?: boolean | undefined;
|
|
4147
|
-
forOf?: boolean | undefined;
|
|
4148
|
-
globalThis?: boolean | undefined;
|
|
4149
|
-
nodePrefixForCoreModules?: boolean | undefined;
|
|
4150
3907
|
optionalChaining?: boolean | undefined;
|
|
4151
3908
|
templateLiteral?: boolean | undefined;
|
|
3909
|
+
asyncFunction?: boolean | undefined;
|
|
4152
3910
|
} | undefined;
|
|
4153
3911
|
chunkFilename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
4154
3912
|
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
3913
|
chunkLoading?: string | false | undefined;
|
|
4163
3914
|
asyncChunks?: boolean | undefined;
|
|
4164
|
-
wasmLoading?: string | false | undefined;
|
|
4165
3915
|
library?: string | string[] | {
|
|
3916
|
+
root?: string | string[] | undefined;
|
|
4166
3917
|
commonjs?: string | undefined;
|
|
4167
3918
|
amd?: string | undefined;
|
|
4168
|
-
root?: string | string[] | undefined;
|
|
4169
3919
|
} | {
|
|
4170
3920
|
type: string;
|
|
4171
3921
|
name?: string | string[] | {
|
|
3922
|
+
root?: string | string[] | undefined;
|
|
4172
3923
|
commonjs?: string | undefined;
|
|
4173
3924
|
amd?: string | undefined;
|
|
4174
|
-
root?: string | string[] | undefined;
|
|
4175
3925
|
} | undefined;
|
|
4176
3926
|
amdContainer?: string | undefined;
|
|
4177
3927
|
auxiliaryComment?: string | {
|
|
3928
|
+
root?: string | undefined;
|
|
4178
3929
|
commonjs?: string | undefined;
|
|
4179
3930
|
amd?: string | undefined;
|
|
4180
3931
|
commonjs2?: string | undefined;
|
|
4181
|
-
root?: string | undefined;
|
|
4182
3932
|
} | undefined;
|
|
4183
3933
|
export?: string | string[] | undefined;
|
|
4184
3934
|
umdNamedDefine?: boolean | undefined;
|
|
4185
3935
|
} | undefined;
|
|
3936
|
+
wasmLoading?: string | false | undefined;
|
|
3937
|
+
auxiliaryComment?: string | {
|
|
3938
|
+
root?: string | undefined;
|
|
3939
|
+
commonjs?: string | undefined;
|
|
3940
|
+
amd?: string | undefined;
|
|
3941
|
+
commonjs2?: string | undefined;
|
|
3942
|
+
} | undefined;
|
|
3943
|
+
umdNamedDefine?: boolean | undefined;
|
|
3944
|
+
crossOriginLoading?: false | "anonymous" | "use-credentials" | undefined;
|
|
3945
|
+
uniqueName?: string | undefined;
|
|
4186
3946
|
pathinfo?: boolean | "verbose" | undefined;
|
|
4187
3947
|
clean?: boolean | undefined;
|
|
4188
|
-
crossOriginLoading?: false | "anonymous" | "use-credentials" | undefined;
|
|
4189
3948
|
cssFilename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
4190
|
-
cssHeadDataCompression?: boolean | undefined;
|
|
4191
3949
|
cssChunkFilename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
4192
3950
|
hotUpdateMainFilename?: string | undefined;
|
|
4193
3951
|
hotUpdateChunkFilename?: string | undefined;
|
|
4194
3952
|
hotUpdateGlobal?: string | undefined;
|
|
4195
3953
|
assetModuleFilename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
4196
|
-
uniqueName?: string | undefined;
|
|
4197
3954
|
chunkLoadingGlobal?: string | undefined;
|
|
4198
3955
|
enabledLibraryTypes?: string[] | undefined;
|
|
4199
|
-
libraryExport?: string | string[] | undefined;
|
|
4200
|
-
libraryTarget?: string | undefined;
|
|
4201
|
-
strictModuleExceptionHandling?: boolean | undefined;
|
|
4202
3956
|
strictModuleErrorHandling?: boolean | undefined;
|
|
4203
|
-
globalObject?: string | undefined;
|
|
4204
|
-
importFunctionName?: string | undefined;
|
|
4205
|
-
importMetaName?: string | undefined;
|
|
4206
|
-
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;
|
|
3957
|
+
globalObject?: string | undefined;
|
|
3958
|
+
importFunctionName?: string | undefined;
|
|
3959
|
+
importMetaName?: string | undefined;
|
|
3960
|
+
iife?: boolean | undefined;
|
|
3961
|
+
enabledWasmLoadingTypes?: string[] | undefined;
|
|
3962
|
+
webassemblyModuleFilename?: string | undefined;
|
|
3963
|
+
chunkFormat?: string | false | undefined;
|
|
3964
|
+
enabledChunkLoadingTypes?: string[] | undefined;
|
|
3965
|
+
trustedTypes?: string | true | {
|
|
3966
|
+
policyName?: string | undefined;
|
|
4273
3967
|
} | undefined;
|
|
3968
|
+
sourceMapFilename?: string | undefined;
|
|
3969
|
+
hashDigest?: string | undefined;
|
|
3970
|
+
hashDigestLength?: number | undefined;
|
|
3971
|
+
hashFunction?: "xxhash64" | "md4" | undefined;
|
|
3972
|
+
hashSalt?: string | undefined;
|
|
3973
|
+
workerChunkLoading?: string | false | undefined;
|
|
3974
|
+
workerWasmLoading?: string | false | undefined;
|
|
3975
|
+
workerPublicPath?: string | undefined;
|
|
3976
|
+
scriptType?: false | "module" | "text/javascript" | undefined;
|
|
3977
|
+
devtoolNamespace?: string | undefined;
|
|
3978
|
+
devtoolModuleFilenameTemplate?: string | ((args_0: any) => any) | undefined;
|
|
3979
|
+
devtoolFallbackModuleFilenameTemplate?: string | ((args_0: any) => any) | undefined;
|
|
3980
|
+
charset?: boolean | undefined;
|
|
3981
|
+
chunkLoadTimeout?: number | undefined;
|
|
3982
|
+
cssHeadDataCompression?: boolean | undefined;
|
|
3983
|
+
compareBeforeEmit?: boolean | undefined;
|
|
3984
|
+
libraryExport?: string | string[] | undefined;
|
|
3985
|
+
libraryTarget?: string | undefined;
|
|
3986
|
+
strictModuleExceptionHandling?: boolean | undefined;
|
|
4274
3987
|
} | undefined;
|
|
4275
|
-
|
|
4276
|
-
|
|
4277
|
-
|
|
4278
|
-
|
|
4279
|
-
|
|
4280
|
-
|
|
4281
|
-
|
|
4282
|
-
|
|
4283
|
-
|
|
4284
|
-
|
|
4285
|
-
|
|
4286
|
-
|
|
4287
|
-
|
|
4288
|
-
|
|
4289
|
-
|
|
4290
|
-
|
|
4291
|
-
|
|
4292
|
-
|
|
4293
|
-
|
|
4294
|
-
|
|
3988
|
+
optimization?: {
|
|
3989
|
+
splitChunks?: false | {
|
|
3990
|
+
name?: string | false | ((args_0: Module | undefined, ...args: unknown[]) => unknown) | undefined;
|
|
3991
|
+
chunks?: RegExp | "all" | "async" | "initial" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
|
3992
|
+
usedExports?: boolean | undefined;
|
|
3993
|
+
defaultSizeTypes?: string[] | undefined;
|
|
3994
|
+
cacheGroups?: Record<string, false | {
|
|
3995
|
+
type?: string | RegExp | undefined;
|
|
3996
|
+
filename?: string | undefined;
|
|
3997
|
+
name?: string | false | ((args_0: Module | undefined, ...args: unknown[]) => unknown) | undefined;
|
|
3998
|
+
priority?: number | undefined;
|
|
3999
|
+
chunks?: RegExp | "all" | "async" | "initial" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
|
4000
|
+
usedExports?: boolean | undefined;
|
|
4001
|
+
defaultSizeTypes?: string[] | undefined;
|
|
4002
|
+
maxSize?: number | Record<string, number> | undefined;
|
|
4003
|
+
minChunks?: number | undefined;
|
|
4004
|
+
minSize?: number | Record<string, number> | undefined;
|
|
4005
|
+
maxAsyncSize?: number | Record<string, number> | undefined;
|
|
4006
|
+
maxInitialSize?: number | Record<string, number> | undefined;
|
|
4007
|
+
maxAsyncRequests?: number | undefined;
|
|
4008
|
+
maxInitialRequests?: number | undefined;
|
|
4009
|
+
automaticNameDelimiter?: string | undefined;
|
|
4010
|
+
test?: string | RegExp | ((args_0: Module, ...args: unknown[]) => unknown) | undefined;
|
|
4011
|
+
idHint?: string | undefined;
|
|
4012
|
+
reuseExistingChunk?: boolean | undefined;
|
|
4013
|
+
enforce?: boolean | undefined;
|
|
4014
|
+
}> | undefined;
|
|
4015
|
+
maxSize?: number | Record<string, number> | undefined;
|
|
4016
|
+
fallbackCacheGroup?: {
|
|
4017
|
+
chunks?: RegExp | "all" | "async" | "initial" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
|
4018
|
+
maxSize?: number | undefined;
|
|
4019
|
+
minSize?: number | undefined;
|
|
4020
|
+
maxAsyncSize?: number | undefined;
|
|
4021
|
+
maxInitialSize?: number | undefined;
|
|
4022
|
+
automaticNameDelimiter?: string | undefined;
|
|
4023
|
+
} | undefined;
|
|
4024
|
+
hidePathInfo?: boolean | undefined;
|
|
4025
|
+
minChunks?: number | undefined;
|
|
4026
|
+
minSize?: number | Record<string, number> | undefined;
|
|
4027
|
+
maxAsyncSize?: number | Record<string, number> | undefined;
|
|
4028
|
+
maxInitialSize?: number | Record<string, number> | undefined;
|
|
4029
|
+
maxAsyncRequests?: number | undefined;
|
|
4030
|
+
maxInitialRequests?: number | undefined;
|
|
4031
|
+
automaticNameDelimiter?: string | undefined;
|
|
4295
4032
|
} | undefined;
|
|
4296
|
-
|
|
4297
|
-
|
|
4298
|
-
|
|
4299
|
-
|
|
4300
|
-
|
|
4301
|
-
|
|
4033
|
+
usedExports?: boolean | "global" | undefined;
|
|
4034
|
+
providedExports?: boolean | undefined;
|
|
4035
|
+
removeAvailableModules?: boolean | undefined;
|
|
4036
|
+
moduleIds?: "named" | "natural" | "deterministic" | undefined;
|
|
4037
|
+
chunkIds?: "named" | "natural" | "deterministic" | undefined;
|
|
4038
|
+
minimize?: boolean | undefined;
|
|
4039
|
+
minimizer?: (false | "" | 0 | t.RspackPluginInstance | "..." | t.WebpackPluginInstance | t.RspackPluginFunction | t.WebpackPluginFunction | null | undefined)[] | undefined;
|
|
4040
|
+
mergeDuplicateChunks?: boolean | undefined;
|
|
4041
|
+
runtimeChunk?: boolean | "single" | "multiple" | {
|
|
4042
|
+
name?: string | ((args_0: {
|
|
4043
|
+
name: string;
|
|
4044
|
+
}, ...args: unknown[]) => string) | undefined;
|
|
4302
4045
|
} | undefined;
|
|
4303
|
-
|
|
4304
|
-
|
|
4305
|
-
|
|
4306
|
-
|
|
4307
|
-
|
|
4308
|
-
|
|
4309
|
-
|
|
4310
|
-
|
|
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;
|
|
4046
|
+
removeEmptyChunks?: boolean | undefined;
|
|
4047
|
+
realContentHash?: boolean | undefined;
|
|
4048
|
+
sideEffects?: boolean | "flag" | undefined;
|
|
4049
|
+
concatenateModules?: boolean | undefined;
|
|
4050
|
+
innerGraph?: boolean | undefined;
|
|
4051
|
+
mangleExports?: boolean | "size" | "deterministic" | undefined;
|
|
4052
|
+
nodeEnv?: string | false | undefined;
|
|
4053
|
+
emitOnErrors?: boolean | undefined;
|
|
4331
4054
|
} | undefined;
|
|
4332
|
-
|
|
4055
|
+
snapshot?: {} | undefined;
|
|
4333
4056
|
stats?: boolean | "verbose" | "normal" | "none" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | {
|
|
4334
|
-
|
|
4057
|
+
modules?: boolean | undefined;
|
|
4335
4058
|
publicPath?: boolean | undefined;
|
|
4336
4059
|
all?: boolean | undefined;
|
|
4337
4060
|
preset?: boolean | "verbose" | "normal" | "none" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | undefined;
|
|
4338
4061
|
assets?: boolean | undefined;
|
|
4339
4062
|
chunks?: boolean | undefined;
|
|
4340
|
-
modules?: boolean | undefined;
|
|
4341
4063
|
entrypoints?: boolean | "auto" | undefined;
|
|
4342
4064
|
chunkGroups?: boolean | undefined;
|
|
4343
4065
|
warnings?: boolean | undefined;
|
|
@@ -4356,6 +4078,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
4356
4078
|
builtAt?: boolean | undefined;
|
|
4357
4079
|
moduleAssets?: boolean | undefined;
|
|
4358
4080
|
nestedModules?: boolean | undefined;
|
|
4081
|
+
source?: boolean | undefined;
|
|
4359
4082
|
logging?: boolean | "log" | "info" | "verbose" | "none" | "error" | "warn" | undefined;
|
|
4360
4083
|
loggingDebug?: string | boolean | RegExp | ((args_0: string, ...args: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args: unknown[]) => boolean))[] | undefined;
|
|
4361
4084
|
loggingTrace?: boolean | undefined;
|
|
@@ -4408,78 +4131,96 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
4408
4131
|
errorsSpace?: number | undefined;
|
|
4409
4132
|
warningsSpace?: number | undefined;
|
|
4410
4133
|
} | undefined;
|
|
4411
|
-
|
|
4412
|
-
|
|
4413
|
-
|
|
4414
|
-
|
|
4415
|
-
|
|
4416
|
-
|
|
4417
|
-
|
|
4418
|
-
|
|
4419
|
-
|
|
4420
|
-
|
|
4421
|
-
|
|
4422
|
-
|
|
4423
|
-
|
|
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;
|
|
4134
|
+
loader?: Record<string, any> | undefined;
|
|
4135
|
+
resolveLoader?: t.ResolveOptions | undefined;
|
|
4136
|
+
externals?: string | RegExp | Record<string, string | boolean | string[] | {
|
|
4137
|
+
root: string | string[];
|
|
4138
|
+
commonjs: string | string[];
|
|
4139
|
+
commonjs2: string | string[];
|
|
4140
|
+
amd?: string | string[] | undefined;
|
|
4141
|
+
}> | ((args_0: {
|
|
4142
|
+
request?: string | undefined;
|
|
4143
|
+
context?: string | undefined;
|
|
4144
|
+
dependencyType?: string | undefined;
|
|
4145
|
+
contextInfo?: {
|
|
4146
|
+
issuer: string;
|
|
4456
4147
|
} | undefined;
|
|
4457
|
-
|
|
4458
|
-
|
|
4459
|
-
|
|
4460
|
-
|
|
4461
|
-
|
|
4462
|
-
|
|
4463
|
-
|
|
4464
|
-
|
|
4465
|
-
|
|
4466
|
-
|
|
4467
|
-
|
|
4468
|
-
}, ...args: unknown[]) => string) | undefined;
|
|
4148
|
+
}, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | {
|
|
4149
|
+
root: string | string[];
|
|
4150
|
+
commonjs: string | string[];
|
|
4151
|
+
commonjs2: string | string[];
|
|
4152
|
+
amd?: string | string[] | undefined;
|
|
4153
|
+
} | undefined, args_2: "module" | "global" | "system" | "script" | "commonjs" | "umd" | "amd" | "var" | "jsonp" | "import" | "assign" | "this" | "window" | "self" | "commonjs2" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd2" | "promise" | "module-import" | "node-commonjs" | undefined, ...args: unknown[]) => void, ...args: unknown[]) => unknown) | ((args_0: {
|
|
4154
|
+
request?: string | undefined;
|
|
4155
|
+
context?: string | undefined;
|
|
4156
|
+
dependencyType?: string | undefined;
|
|
4157
|
+
contextInfo?: {
|
|
4158
|
+
issuer: string;
|
|
4469
4159
|
} | undefined;
|
|
4470
|
-
|
|
4471
|
-
|
|
4472
|
-
|
|
4473
|
-
|
|
4474
|
-
|
|
4475
|
-
|
|
4476
|
-
|
|
4477
|
-
|
|
4160
|
+
}, ...args: unknown[]) => Promise<string | boolean | string[] | {
|
|
4161
|
+
root: string | string[];
|
|
4162
|
+
commonjs: string | string[];
|
|
4163
|
+
commonjs2: string | string[];
|
|
4164
|
+
amd?: string | string[] | undefined;
|
|
4165
|
+
}>) | (string | RegExp | Record<string, string | boolean | string[] | {
|
|
4166
|
+
root: string | string[];
|
|
4167
|
+
commonjs: string | string[];
|
|
4168
|
+
commonjs2: string | string[];
|
|
4169
|
+
amd?: string | string[] | undefined;
|
|
4170
|
+
}> | ((args_0: {
|
|
4171
|
+
request?: string | undefined;
|
|
4172
|
+
context?: string | undefined;
|
|
4173
|
+
dependencyType?: string | undefined;
|
|
4174
|
+
contextInfo?: {
|
|
4175
|
+
issuer: string;
|
|
4176
|
+
} | undefined;
|
|
4177
|
+
}, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | {
|
|
4178
|
+
root: string | string[];
|
|
4179
|
+
commonjs: string | string[];
|
|
4180
|
+
commonjs2: string | string[];
|
|
4181
|
+
amd?: string | string[] | undefined;
|
|
4182
|
+
} | undefined, args_2: "module" | "global" | "system" | "script" | "commonjs" | "umd" | "amd" | "var" | "jsonp" | "import" | "assign" | "this" | "window" | "self" | "commonjs2" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd2" | "promise" | "module-import" | "node-commonjs" | undefined, ...args: unknown[]) => void, ...args: unknown[]) => unknown) | ((args_0: {
|
|
4183
|
+
request?: string | undefined;
|
|
4184
|
+
context?: string | undefined;
|
|
4185
|
+
dependencyType?: string | undefined;
|
|
4186
|
+
contextInfo?: {
|
|
4187
|
+
issuer: string;
|
|
4188
|
+
} | undefined;
|
|
4189
|
+
}, ...args: unknown[]) => Promise<string | boolean | string[] | {
|
|
4190
|
+
root: string | string[];
|
|
4191
|
+
commonjs: string | string[];
|
|
4192
|
+
commonjs2: string | string[];
|
|
4193
|
+
amd?: string | string[] | undefined;
|
|
4194
|
+
}>))[] | undefined;
|
|
4195
|
+
externalsType?: "module" | "global" | "system" | "script" | "commonjs" | "umd" | "amd" | "var" | "jsonp" | "import" | "assign" | "this" | "window" | "self" | "commonjs2" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd2" | "promise" | "module-import" | "node-commonjs" | undefined;
|
|
4196
|
+
externalsPresets?: {
|
|
4197
|
+
node?: boolean | undefined;
|
|
4198
|
+
web?: boolean | undefined;
|
|
4199
|
+
nwjs?: boolean | undefined;
|
|
4200
|
+
electron?: boolean | undefined;
|
|
4201
|
+
electronMain?: boolean | undefined;
|
|
4202
|
+
electronPreload?: boolean | undefined;
|
|
4203
|
+
electronRenderer?: boolean | undefined;
|
|
4204
|
+
webAsync?: boolean | undefined;
|
|
4205
|
+
} | undefined;
|
|
4206
|
+
infrastructureLogging?: {
|
|
4207
|
+
debug?: string | boolean | RegExp | ((args_0: string, ...args: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args: unknown[]) => boolean))[] | undefined;
|
|
4208
|
+
colors?: boolean | undefined;
|
|
4209
|
+
stream?: NodeJS.WritableStream | undefined;
|
|
4210
|
+
appendOnly?: boolean | undefined;
|
|
4211
|
+
console?: Console | undefined;
|
|
4212
|
+
level?: "log" | "info" | "verbose" | "none" | "error" | "warn" | undefined;
|
|
4478
4213
|
} | undefined;
|
|
4479
|
-
resolveLoader?: t.ResolveOptions | undefined;
|
|
4480
4214
|
plugins?: (false | "" | 0 | t.RspackPluginInstance | t.WebpackPluginInstance | t.RspackPluginFunction | t.WebpackPluginFunction | null | undefined)[] | undefined;
|
|
4481
|
-
|
|
4215
|
+
watch?: boolean | undefined;
|
|
4216
|
+
watchOptions?: {
|
|
4217
|
+
aggregateTimeout?: number | undefined;
|
|
4218
|
+
followSymlinks?: boolean | undefined;
|
|
4219
|
+
ignored?: string | RegExp | string[] | undefined;
|
|
4220
|
+
poll?: number | boolean | undefined;
|
|
4221
|
+
stdin?: boolean | undefined;
|
|
4222
|
+
} | undefined;
|
|
4223
|
+
devServer?: t.DevServer | undefined;
|
|
4224
|
+
ignoreWarnings?: (RegExp | ((args_0: Error, args_1: Compilation, ...args: unknown[]) => boolean))[] | undefined;
|
|
4482
4225
|
bail?: boolean | undefined;
|
|
4483
4226
|
}>;
|
|
4484
|
-
export type RspackOptions = z.infer<typeof rspackOptions>;
|
|
4485
|
-
export type Configuration = RspackOptions;
|