@rspack/core 1.1.8 → 1.2.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/compiled/@swc/types/index.d.ts +20 -5
- package/compiled/@swc/types/license +1 -1
- package/compiled/@swc/types/package.json +1 -1
- package/dist/Chunk.d.ts +21 -28
- package/dist/ChunkGraph.d.ts +8 -4
- package/dist/ChunkGroup.d.ts +13 -19
- package/dist/Compilation.d.ts +5 -9
- package/dist/Compiler.d.ts +1 -0
- package/dist/Entrypoint.d.ts +4 -3
- package/dist/ExportsInfo.d.ts +20 -0
- package/dist/FileSystem.d.ts +17 -17
- package/dist/Module.d.ts +6 -8
- package/dist/ModuleGraph.d.ts +6 -0
- package/dist/ModuleGraphConnection.d.ts +11 -0
- package/dist/builtin-plugin/APIPlugin.d.ts +1 -1
- package/dist/builtin-plugin/ArrayPushCallbackChunkFormatPlugin.d.ts +1 -1
- package/dist/builtin-plugin/AssetModulesPlugin.d.ts +1 -1
- package/dist/builtin-plugin/AsyncWebAssemblyModulesPlugin.d.ts +1 -1
- package/dist/builtin-plugin/BannerPlugin.d.ts +1 -1
- package/dist/builtin-plugin/BundlerInfoRspackPlugin.d.ts +1 -1
- package/dist/builtin-plugin/ChunkPrefetchPreloadPlugin.d.ts +1 -1
- package/dist/builtin-plugin/CommonJsChunkFormatPlugin.d.ts +1 -1
- package/dist/builtin-plugin/ContextReplacementPlugin.d.ts +1 -1
- package/dist/builtin-plugin/CopyRspackPlugin.d.ts +1 -1
- package/dist/builtin-plugin/CssModulesPlugin.d.ts +1 -1
- package/dist/builtin-plugin/DataUriPlugin.d.ts +1 -1
- package/dist/builtin-plugin/DefinePlugin.d.ts +1 -1
- package/dist/builtin-plugin/DeterministicChunkIdsPlugin.d.ts +8 -10
- package/dist/builtin-plugin/DllEntryPlugin.d.ts +1 -1
- package/dist/builtin-plugin/DllReferenceAgencyPlugin.d.ts +1 -1
- package/dist/builtin-plugin/ElectronTargetPlugin.d.ts +1 -1
- package/dist/builtin-plugin/EnableChunkLoadingPlugin.d.ts +1 -1
- package/dist/builtin-plugin/EnableWasmLoadingPlugin.d.ts +1 -1
- package/dist/builtin-plugin/EnsureChunkConditionsPlugin.d.ts +1 -1
- package/dist/builtin-plugin/EntryPlugin.d.ts +11 -3
- package/dist/builtin-plugin/EvalDevToolModulePlugin.d.ts +1 -1
- package/dist/builtin-plugin/EvalSourceMapDevToolPlugin.d.ts +1 -1
- package/dist/builtin-plugin/FetchCompileAsyncWasmPlugin.d.ts +1 -1
- package/dist/builtin-plugin/FileUriPlugin.d.ts +1 -1
- package/dist/builtin-plugin/FlagAllModulesAsUsedPlugin.d.ts +1 -1
- package/dist/builtin-plugin/FlagDependencyExportsPlugin.d.ts +1 -1
- package/dist/builtin-plugin/HtmlRspackPlugin.d.ts +1 -1
- package/dist/builtin-plugin/HttpExternalsRspackPlugin.d.ts +1 -1
- package/dist/builtin-plugin/IgnorePlugin.d.ts +1 -1
- package/dist/builtin-plugin/InferAsyncModulesPlugin.d.ts +1 -1
- package/dist/builtin-plugin/JsLoaderRspackPlugin.d.ts +1 -1
- package/dist/builtin-plugin/JsonModulesPlugin.d.ts +1 -1
- package/dist/builtin-plugin/LibManifestPlugin.d.ts +1 -1
- package/dist/builtin-plugin/LightningCssMinimizerRspackPlugin.d.ts +1 -1
- package/dist/builtin-plugin/LimitChunkCountPlugin.d.ts +1 -1
- package/dist/builtin-plugin/MergeDuplicateChunksPlugin.d.ts +1 -1
- package/dist/builtin-plugin/ModuleChunkFormatPlugin.d.ts +1 -1
- package/dist/builtin-plugin/NamedChunkIdsPlugin.d.ts +1 -1
- package/dist/builtin-plugin/NamedModuleIdsPlugin.d.ts +1 -1
- package/dist/builtin-plugin/NaturalChunkIdsPlugin.d.ts +8 -10
- package/dist/builtin-plugin/NoEmitOnErrorsPlugin.d.ts +1 -1
- package/dist/builtin-plugin/NodeTargetPlugin.d.ts +1 -1
- package/dist/builtin-plugin/OccurrenceChunkIdsPlugin.d.ts +10 -0
- package/dist/builtin-plugin/ProgressPlugin.d.ts +1 -1
- package/dist/builtin-plugin/ProvidePlugin.d.ts +1 -1
- package/dist/builtin-plugin/RealContentHashPlugin.d.ts +1 -1
- package/dist/builtin-plugin/RemoveDuplicateModulesPlugin.d.ts +1 -1
- package/dist/builtin-plugin/RemoveEmptyChunksPlugin.d.ts +1 -1
- package/dist/builtin-plugin/RuntimeChunkPlugin.d.ts +1 -1
- package/dist/builtin-plugin/RuntimePlugin.d.ts +1 -1
- package/dist/builtin-plugin/SideEffectsFlagPlugin.d.ts +1 -1
- package/dist/builtin-plugin/SizeLimitsPlugin.d.ts +1 -1
- package/dist/builtin-plugin/SourceMapDevToolPlugin.d.ts +1 -1
- package/dist/builtin-plugin/SwcJsMinimizerPlugin.d.ts +1 -1
- package/dist/builtin-plugin/WarnCaseSensitiveModulesPlugin.d.ts +1 -1
- package/dist/builtin-plugin/base.d.ts +1 -1
- package/dist/builtin-plugin/css-extract/index.d.ts +1 -0
- package/dist/builtin-plugin/index.d.ts +1 -0
- package/dist/builtin-plugin/lazy-compilation/lazyCompilation.d.ts +1 -1
- package/dist/config/adapter.d.ts +2 -4
- package/dist/config/adapterRuleUse.d.ts +32 -8
- package/dist/config/normalization.d.ts +18 -2
- package/dist/config/types.d.ts +33 -11
- package/dist/config/zod.d.ts +1279 -1253
- package/dist/container/ContainerPlugin.d.ts +1 -1
- package/dist/container/ModuleFederationRuntimePlugin.d.ts +1 -1
- package/dist/exports.d.ts +1 -0
- package/dist/index.js +1376 -1379
- package/dist/util/hash/wasm-hash.d.ts +1 -1
- package/dist/util/identifier.d.ts +0 -36
- package/package.json +8 -7
package/dist/config/zod.d.ts
CHANGED
|
@@ -26,15 +26,15 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
26
26
|
commonjs2: z.ZodOptional<z.ZodString>;
|
|
27
27
|
root: z.ZodOptional<z.ZodString>;
|
|
28
28
|
}, "strict", z.ZodTypeAny, {
|
|
29
|
-
root?: string | undefined;
|
|
30
29
|
commonjs?: string | undefined;
|
|
31
|
-
amd?: string | undefined;
|
|
32
30
|
commonjs2?: string | undefined;
|
|
33
|
-
|
|
31
|
+
amd?: string | undefined;
|
|
34
32
|
root?: string | undefined;
|
|
33
|
+
}, {
|
|
35
34
|
commonjs?: string | undefined;
|
|
36
|
-
amd?: string | undefined;
|
|
37
35
|
commonjs2?: string | undefined;
|
|
36
|
+
amd?: string | undefined;
|
|
37
|
+
root?: string | undefined;
|
|
38
38
|
}>]>>;
|
|
39
39
|
export: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
40
40
|
name: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
|
|
@@ -42,45 +42,45 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
42
42
|
commonjs: z.ZodOptional<z.ZodString>;
|
|
43
43
|
root: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
44
44
|
}, "strict", z.ZodTypeAny, {
|
|
45
|
-
root?: string | string[] | undefined;
|
|
46
45
|
commonjs?: string | undefined;
|
|
47
46
|
amd?: string | undefined;
|
|
48
|
-
}, {
|
|
49
47
|
root?: string | string[] | undefined;
|
|
48
|
+
}, {
|
|
50
49
|
commonjs?: string | undefined;
|
|
51
50
|
amd?: string | undefined;
|
|
51
|
+
root?: string | string[] | undefined;
|
|
52
52
|
}>]>>;
|
|
53
53
|
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]>;
|
|
54
54
|
umdNamedDefine: z.ZodOptional<z.ZodBoolean>;
|
|
55
55
|
}, "strict", z.ZodTypeAny, {
|
|
56
56
|
type: string;
|
|
57
57
|
name?: string | string[] | {
|
|
58
|
-
root?: string | string[] | undefined;
|
|
59
58
|
commonjs?: string | undefined;
|
|
60
59
|
amd?: string | undefined;
|
|
60
|
+
root?: string | string[] | undefined;
|
|
61
61
|
} | undefined;
|
|
62
62
|
amdContainer?: string | undefined;
|
|
63
63
|
auxiliaryComment?: string | {
|
|
64
|
-
root?: string | undefined;
|
|
65
64
|
commonjs?: string | undefined;
|
|
66
|
-
amd?: string | undefined;
|
|
67
65
|
commonjs2?: string | undefined;
|
|
66
|
+
amd?: string | undefined;
|
|
67
|
+
root?: string | undefined;
|
|
68
68
|
} | undefined;
|
|
69
69
|
export?: string | string[] | undefined;
|
|
70
70
|
umdNamedDefine?: boolean | undefined;
|
|
71
71
|
}, {
|
|
72
72
|
type: string;
|
|
73
73
|
name?: string | string[] | {
|
|
74
|
-
root?: string | string[] | undefined;
|
|
75
74
|
commonjs?: string | undefined;
|
|
76
75
|
amd?: string | undefined;
|
|
76
|
+
root?: string | string[] | undefined;
|
|
77
77
|
} | undefined;
|
|
78
78
|
amdContainer?: string | undefined;
|
|
79
79
|
auxiliaryComment?: string | {
|
|
80
|
-
root?: string | undefined;
|
|
81
80
|
commonjs?: string | undefined;
|
|
82
|
-
amd?: string | undefined;
|
|
83
81
|
commonjs2?: string | undefined;
|
|
82
|
+
amd?: string | undefined;
|
|
83
|
+
root?: string | undefined;
|
|
84
84
|
} | undefined;
|
|
85
85
|
export?: string | string[] | undefined;
|
|
86
86
|
umdNamedDefine?: boolean | undefined;
|
|
@@ -90,25 +90,25 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
90
90
|
}, "strict", z.ZodTypeAny, {
|
|
91
91
|
import: string | string[];
|
|
92
92
|
layer?: string | null | undefined;
|
|
93
|
-
filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
94
|
-
publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
95
93
|
runtime?: string | false | undefined;
|
|
96
94
|
chunkLoading?: string | false | undefined;
|
|
97
95
|
asyncChunks?: boolean | undefined;
|
|
96
|
+
publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
98
97
|
baseUri?: string | undefined;
|
|
98
|
+
filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
99
99
|
library?: {
|
|
100
100
|
type: string;
|
|
101
101
|
name?: string | string[] | {
|
|
102
|
-
root?: string | string[] | undefined;
|
|
103
102
|
commonjs?: string | undefined;
|
|
104
103
|
amd?: string | undefined;
|
|
104
|
+
root?: string | string[] | undefined;
|
|
105
105
|
} | undefined;
|
|
106
106
|
amdContainer?: string | undefined;
|
|
107
107
|
auxiliaryComment?: string | {
|
|
108
|
-
root?: string | undefined;
|
|
109
108
|
commonjs?: string | undefined;
|
|
110
|
-
amd?: string | undefined;
|
|
111
109
|
commonjs2?: string | undefined;
|
|
110
|
+
amd?: string | undefined;
|
|
111
|
+
root?: string | undefined;
|
|
112
112
|
} | undefined;
|
|
113
113
|
export?: string | string[] | undefined;
|
|
114
114
|
umdNamedDefine?: boolean | undefined;
|
|
@@ -118,25 +118,25 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
118
118
|
}, {
|
|
119
119
|
import: string | string[];
|
|
120
120
|
layer?: string | null | undefined;
|
|
121
|
-
filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
122
|
-
publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
123
121
|
runtime?: string | false | undefined;
|
|
124
122
|
chunkLoading?: string | false | undefined;
|
|
125
123
|
asyncChunks?: boolean | undefined;
|
|
124
|
+
publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
126
125
|
baseUri?: string | undefined;
|
|
126
|
+
filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
127
127
|
library?: {
|
|
128
128
|
type: string;
|
|
129
129
|
name?: string | string[] | {
|
|
130
|
-
root?: string | string[] | undefined;
|
|
131
130
|
commonjs?: string | undefined;
|
|
132
131
|
amd?: string | undefined;
|
|
132
|
+
root?: string | string[] | undefined;
|
|
133
133
|
} | undefined;
|
|
134
134
|
amdContainer?: string | undefined;
|
|
135
135
|
auxiliaryComment?: string | {
|
|
136
|
-
root?: string | undefined;
|
|
137
136
|
commonjs?: string | undefined;
|
|
138
|
-
amd?: string | undefined;
|
|
139
137
|
commonjs2?: string | undefined;
|
|
138
|
+
amd?: string | undefined;
|
|
139
|
+
root?: string | undefined;
|
|
140
140
|
} | undefined;
|
|
141
141
|
export?: string | string[] | undefined;
|
|
142
142
|
umdNamedDefine?: boolean | undefined;
|
|
@@ -160,15 +160,15 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
160
160
|
commonjs2: z.ZodOptional<z.ZodString>;
|
|
161
161
|
root: z.ZodOptional<z.ZodString>;
|
|
162
162
|
}, "strict", z.ZodTypeAny, {
|
|
163
|
-
root?: string | undefined;
|
|
164
163
|
commonjs?: string | undefined;
|
|
165
|
-
amd?: string | undefined;
|
|
166
164
|
commonjs2?: string | undefined;
|
|
167
|
-
|
|
165
|
+
amd?: string | undefined;
|
|
168
166
|
root?: string | undefined;
|
|
167
|
+
}, {
|
|
169
168
|
commonjs?: string | undefined;
|
|
170
|
-
amd?: string | undefined;
|
|
171
169
|
commonjs2?: string | undefined;
|
|
170
|
+
amd?: string | undefined;
|
|
171
|
+
root?: string | undefined;
|
|
172
172
|
}>]>>;
|
|
173
173
|
export: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
174
174
|
name: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
|
|
@@ -176,45 +176,45 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
176
176
|
commonjs: z.ZodOptional<z.ZodString>;
|
|
177
177
|
root: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
178
178
|
}, "strict", z.ZodTypeAny, {
|
|
179
|
-
root?: string | string[] | undefined;
|
|
180
179
|
commonjs?: string | undefined;
|
|
181
180
|
amd?: string | undefined;
|
|
182
|
-
}, {
|
|
183
181
|
root?: string | string[] | undefined;
|
|
182
|
+
}, {
|
|
184
183
|
commonjs?: string | undefined;
|
|
185
184
|
amd?: string | undefined;
|
|
185
|
+
root?: string | string[] | undefined;
|
|
186
186
|
}>]>>;
|
|
187
187
|
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]>;
|
|
188
188
|
umdNamedDefine: z.ZodOptional<z.ZodBoolean>;
|
|
189
189
|
}, "strict", z.ZodTypeAny, {
|
|
190
190
|
type: string;
|
|
191
191
|
name?: string | string[] | {
|
|
192
|
-
root?: string | string[] | undefined;
|
|
193
192
|
commonjs?: string | undefined;
|
|
194
193
|
amd?: string | undefined;
|
|
194
|
+
root?: string | string[] | undefined;
|
|
195
195
|
} | undefined;
|
|
196
196
|
amdContainer?: string | undefined;
|
|
197
197
|
auxiliaryComment?: string | {
|
|
198
|
-
root?: string | undefined;
|
|
199
198
|
commonjs?: string | undefined;
|
|
200
|
-
amd?: string | undefined;
|
|
201
199
|
commonjs2?: string | undefined;
|
|
200
|
+
amd?: string | undefined;
|
|
201
|
+
root?: string | undefined;
|
|
202
202
|
} | undefined;
|
|
203
203
|
export?: string | string[] | undefined;
|
|
204
204
|
umdNamedDefine?: boolean | undefined;
|
|
205
205
|
}, {
|
|
206
206
|
type: string;
|
|
207
207
|
name?: string | string[] | {
|
|
208
|
-
root?: string | string[] | undefined;
|
|
209
208
|
commonjs?: string | undefined;
|
|
210
209
|
amd?: string | undefined;
|
|
210
|
+
root?: string | string[] | undefined;
|
|
211
211
|
} | undefined;
|
|
212
212
|
amdContainer?: string | undefined;
|
|
213
213
|
auxiliaryComment?: string | {
|
|
214
|
-
root?: string | undefined;
|
|
215
214
|
commonjs?: string | undefined;
|
|
216
|
-
amd?: string | undefined;
|
|
217
215
|
commonjs2?: string | undefined;
|
|
216
|
+
amd?: string | undefined;
|
|
217
|
+
root?: string | undefined;
|
|
218
218
|
} | undefined;
|
|
219
219
|
export?: string | string[] | undefined;
|
|
220
220
|
umdNamedDefine?: boolean | undefined;
|
|
@@ -224,25 +224,25 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
224
224
|
}, "strict", z.ZodTypeAny, {
|
|
225
225
|
import: string | string[];
|
|
226
226
|
layer?: string | null | undefined;
|
|
227
|
-
filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
228
|
-
publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
229
227
|
runtime?: string | false | undefined;
|
|
230
228
|
chunkLoading?: string | false | undefined;
|
|
231
229
|
asyncChunks?: boolean | undefined;
|
|
230
|
+
publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
232
231
|
baseUri?: string | undefined;
|
|
232
|
+
filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
233
233
|
library?: {
|
|
234
234
|
type: string;
|
|
235
235
|
name?: string | string[] | {
|
|
236
|
-
root?: string | string[] | undefined;
|
|
237
236
|
commonjs?: string | undefined;
|
|
238
237
|
amd?: string | undefined;
|
|
238
|
+
root?: string | string[] | undefined;
|
|
239
239
|
} | undefined;
|
|
240
240
|
amdContainer?: string | undefined;
|
|
241
241
|
auxiliaryComment?: string | {
|
|
242
|
-
root?: string | undefined;
|
|
243
242
|
commonjs?: string | undefined;
|
|
244
|
-
amd?: string | undefined;
|
|
245
243
|
commonjs2?: string | undefined;
|
|
244
|
+
amd?: string | undefined;
|
|
245
|
+
root?: string | undefined;
|
|
246
246
|
} | undefined;
|
|
247
247
|
export?: string | string[] | undefined;
|
|
248
248
|
umdNamedDefine?: boolean | undefined;
|
|
@@ -252,25 +252,25 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
252
252
|
}, {
|
|
253
253
|
import: string | string[];
|
|
254
254
|
layer?: string | null | undefined;
|
|
255
|
-
filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
256
|
-
publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
257
255
|
runtime?: string | false | undefined;
|
|
258
256
|
chunkLoading?: string | false | undefined;
|
|
259
257
|
asyncChunks?: boolean | undefined;
|
|
258
|
+
publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
260
259
|
baseUri?: string | undefined;
|
|
260
|
+
filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
261
261
|
library?: {
|
|
262
262
|
type: string;
|
|
263
263
|
name?: string | string[] | {
|
|
264
|
-
root?: string | string[] | undefined;
|
|
265
264
|
commonjs?: string | undefined;
|
|
266
265
|
amd?: string | undefined;
|
|
266
|
+
root?: string | string[] | undefined;
|
|
267
267
|
} | undefined;
|
|
268
268
|
amdContainer?: string | undefined;
|
|
269
269
|
auxiliaryComment?: string | {
|
|
270
|
-
root?: string | undefined;
|
|
271
270
|
commonjs?: string | undefined;
|
|
272
|
-
amd?: string | undefined;
|
|
273
271
|
commonjs2?: string | undefined;
|
|
272
|
+
amd?: string | undefined;
|
|
273
|
+
root?: string | undefined;
|
|
274
274
|
} | undefined;
|
|
275
275
|
export?: string | string[] | undefined;
|
|
276
276
|
umdNamedDefine?: boolean | undefined;
|
|
@@ -294,15 +294,15 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
294
294
|
commonjs2: z.ZodOptional<z.ZodString>;
|
|
295
295
|
root: z.ZodOptional<z.ZodString>;
|
|
296
296
|
}, "strict", z.ZodTypeAny, {
|
|
297
|
-
root?: string | undefined;
|
|
298
297
|
commonjs?: string | undefined;
|
|
299
|
-
amd?: string | undefined;
|
|
300
298
|
commonjs2?: string | undefined;
|
|
301
|
-
|
|
299
|
+
amd?: string | undefined;
|
|
302
300
|
root?: string | undefined;
|
|
301
|
+
}, {
|
|
303
302
|
commonjs?: string | undefined;
|
|
304
|
-
amd?: string | undefined;
|
|
305
303
|
commonjs2?: string | undefined;
|
|
304
|
+
amd?: string | undefined;
|
|
305
|
+
root?: string | undefined;
|
|
306
306
|
}>]>>;
|
|
307
307
|
export: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
308
308
|
name: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
|
|
@@ -310,45 +310,45 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
310
310
|
commonjs: z.ZodOptional<z.ZodString>;
|
|
311
311
|
root: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
312
312
|
}, "strict", z.ZodTypeAny, {
|
|
313
|
-
root?: string | string[] | undefined;
|
|
314
313
|
commonjs?: string | undefined;
|
|
315
314
|
amd?: string | undefined;
|
|
316
|
-
}, {
|
|
317
315
|
root?: string | string[] | undefined;
|
|
316
|
+
}, {
|
|
318
317
|
commonjs?: string | undefined;
|
|
319
318
|
amd?: string | undefined;
|
|
319
|
+
root?: string | string[] | undefined;
|
|
320
320
|
}>]>>;
|
|
321
321
|
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]>;
|
|
322
322
|
umdNamedDefine: z.ZodOptional<z.ZodBoolean>;
|
|
323
323
|
}, "strict", z.ZodTypeAny, {
|
|
324
324
|
type: string;
|
|
325
325
|
name?: string | string[] | {
|
|
326
|
-
root?: string | string[] | undefined;
|
|
327
326
|
commonjs?: string | undefined;
|
|
328
327
|
amd?: string | undefined;
|
|
328
|
+
root?: string | string[] | undefined;
|
|
329
329
|
} | undefined;
|
|
330
330
|
amdContainer?: string | undefined;
|
|
331
331
|
auxiliaryComment?: string | {
|
|
332
|
-
root?: string | undefined;
|
|
333
332
|
commonjs?: string | undefined;
|
|
334
|
-
amd?: string | undefined;
|
|
335
333
|
commonjs2?: string | undefined;
|
|
334
|
+
amd?: string | undefined;
|
|
335
|
+
root?: string | undefined;
|
|
336
336
|
} | undefined;
|
|
337
337
|
export?: string | string[] | undefined;
|
|
338
338
|
umdNamedDefine?: boolean | undefined;
|
|
339
339
|
}, {
|
|
340
340
|
type: string;
|
|
341
341
|
name?: string | string[] | {
|
|
342
|
-
root?: string | string[] | undefined;
|
|
343
342
|
commonjs?: string | undefined;
|
|
344
343
|
amd?: string | undefined;
|
|
344
|
+
root?: string | string[] | undefined;
|
|
345
345
|
} | undefined;
|
|
346
346
|
amdContainer?: string | undefined;
|
|
347
347
|
auxiliaryComment?: string | {
|
|
348
|
-
root?: string | undefined;
|
|
349
348
|
commonjs?: string | undefined;
|
|
350
|
-
amd?: string | undefined;
|
|
351
349
|
commonjs2?: string | undefined;
|
|
350
|
+
amd?: string | undefined;
|
|
351
|
+
root?: string | undefined;
|
|
352
352
|
} | undefined;
|
|
353
353
|
export?: string | string[] | undefined;
|
|
354
354
|
umdNamedDefine?: boolean | undefined;
|
|
@@ -358,25 +358,25 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
358
358
|
}, "strict", z.ZodTypeAny, {
|
|
359
359
|
import: string | string[];
|
|
360
360
|
layer?: string | null | undefined;
|
|
361
|
-
filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
362
|
-
publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
363
361
|
runtime?: string | false | undefined;
|
|
364
362
|
chunkLoading?: string | false | undefined;
|
|
365
363
|
asyncChunks?: boolean | undefined;
|
|
364
|
+
publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
366
365
|
baseUri?: string | undefined;
|
|
366
|
+
filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
367
367
|
library?: {
|
|
368
368
|
type: string;
|
|
369
369
|
name?: string | string[] | {
|
|
370
|
-
root?: string | string[] | undefined;
|
|
371
370
|
commonjs?: string | undefined;
|
|
372
371
|
amd?: string | undefined;
|
|
372
|
+
root?: string | string[] | undefined;
|
|
373
373
|
} | undefined;
|
|
374
374
|
amdContainer?: string | undefined;
|
|
375
375
|
auxiliaryComment?: string | {
|
|
376
|
-
root?: string | undefined;
|
|
377
376
|
commonjs?: string | undefined;
|
|
378
|
-
amd?: string | undefined;
|
|
379
377
|
commonjs2?: string | undefined;
|
|
378
|
+
amd?: string | undefined;
|
|
379
|
+
root?: string | undefined;
|
|
380
380
|
} | undefined;
|
|
381
381
|
export?: string | string[] | undefined;
|
|
382
382
|
umdNamedDefine?: boolean | undefined;
|
|
@@ -386,25 +386,25 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
386
386
|
}, {
|
|
387
387
|
import: string | string[];
|
|
388
388
|
layer?: string | null | undefined;
|
|
389
|
-
filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
390
|
-
publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
391
389
|
runtime?: string | false | undefined;
|
|
392
390
|
chunkLoading?: string | false | undefined;
|
|
393
391
|
asyncChunks?: boolean | undefined;
|
|
392
|
+
publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
394
393
|
baseUri?: string | undefined;
|
|
394
|
+
filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
395
395
|
library?: {
|
|
396
396
|
type: string;
|
|
397
397
|
name?: string | string[] | {
|
|
398
|
-
root?: string | string[] | undefined;
|
|
399
398
|
commonjs?: string | undefined;
|
|
400
399
|
amd?: string | undefined;
|
|
400
|
+
root?: string | string[] | undefined;
|
|
401
401
|
} | undefined;
|
|
402
402
|
amdContainer?: string | undefined;
|
|
403
403
|
auxiliaryComment?: string | {
|
|
404
|
-
root?: string | undefined;
|
|
405
404
|
commonjs?: string | undefined;
|
|
406
|
-
amd?: string | undefined;
|
|
407
405
|
commonjs2?: string | undefined;
|
|
406
|
+
amd?: string | undefined;
|
|
407
|
+
root?: string | undefined;
|
|
408
408
|
} | undefined;
|
|
409
409
|
export?: string | string[] | undefined;
|
|
410
410
|
umdNamedDefine?: boolean | undefined;
|
|
@@ -441,13 +441,13 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
441
441
|
commonjs: z.ZodOptional<z.ZodString>;
|
|
442
442
|
root: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
443
443
|
}, "strict", z.ZodTypeAny, {
|
|
444
|
-
root?: string | string[] | undefined;
|
|
445
444
|
commonjs?: string | undefined;
|
|
446
445
|
amd?: string | undefined;
|
|
447
|
-
}, {
|
|
448
446
|
root?: string | string[] | undefined;
|
|
447
|
+
}, {
|
|
449
448
|
commonjs?: string | undefined;
|
|
450
449
|
amd?: string | undefined;
|
|
450
|
+
root?: string | string[] | undefined;
|
|
451
451
|
}>]>, z.ZodObject<{
|
|
452
452
|
amdContainer: z.ZodOptional<z.ZodString>;
|
|
453
453
|
auxiliaryComment: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
@@ -456,15 +456,15 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
456
456
|
commonjs2: z.ZodOptional<z.ZodString>;
|
|
457
457
|
root: z.ZodOptional<z.ZodString>;
|
|
458
458
|
}, "strict", z.ZodTypeAny, {
|
|
459
|
-
root?: string | undefined;
|
|
460
459
|
commonjs?: string | undefined;
|
|
461
|
-
amd?: string | undefined;
|
|
462
460
|
commonjs2?: string | undefined;
|
|
463
|
-
|
|
461
|
+
amd?: string | undefined;
|
|
464
462
|
root?: string | undefined;
|
|
463
|
+
}, {
|
|
465
464
|
commonjs?: string | undefined;
|
|
466
|
-
amd?: string | undefined;
|
|
467
465
|
commonjs2?: string | undefined;
|
|
466
|
+
amd?: string | undefined;
|
|
467
|
+
root?: string | undefined;
|
|
468
468
|
}>]>>;
|
|
469
469
|
export: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
470
470
|
name: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
|
|
@@ -472,45 +472,45 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
472
472
|
commonjs: z.ZodOptional<z.ZodString>;
|
|
473
473
|
root: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
474
474
|
}, "strict", z.ZodTypeAny, {
|
|
475
|
-
root?: string | string[] | undefined;
|
|
476
475
|
commonjs?: string | undefined;
|
|
477
476
|
amd?: string | undefined;
|
|
478
|
-
}, {
|
|
479
477
|
root?: string | string[] | undefined;
|
|
478
|
+
}, {
|
|
480
479
|
commonjs?: string | undefined;
|
|
481
480
|
amd?: string | undefined;
|
|
481
|
+
root?: string | string[] | undefined;
|
|
482
482
|
}>]>>;
|
|
483
483
|
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]>;
|
|
484
484
|
umdNamedDefine: z.ZodOptional<z.ZodBoolean>;
|
|
485
485
|
}, "strict", z.ZodTypeAny, {
|
|
486
486
|
type: string;
|
|
487
487
|
name?: string | string[] | {
|
|
488
|
-
root?: string | string[] | undefined;
|
|
489
488
|
commonjs?: string | undefined;
|
|
490
489
|
amd?: string | undefined;
|
|
490
|
+
root?: string | string[] | undefined;
|
|
491
491
|
} | undefined;
|
|
492
492
|
amdContainer?: string | undefined;
|
|
493
493
|
auxiliaryComment?: string | {
|
|
494
|
-
root?: string | undefined;
|
|
495
494
|
commonjs?: string | undefined;
|
|
496
|
-
amd?: string | undefined;
|
|
497
495
|
commonjs2?: string | undefined;
|
|
496
|
+
amd?: string | undefined;
|
|
497
|
+
root?: string | undefined;
|
|
498
498
|
} | undefined;
|
|
499
499
|
export?: string | string[] | undefined;
|
|
500
500
|
umdNamedDefine?: boolean | undefined;
|
|
501
501
|
}, {
|
|
502
502
|
type: string;
|
|
503
503
|
name?: string | string[] | {
|
|
504
|
-
root?: string | string[] | undefined;
|
|
505
504
|
commonjs?: string | undefined;
|
|
506
505
|
amd?: string | undefined;
|
|
506
|
+
root?: string | string[] | undefined;
|
|
507
507
|
} | undefined;
|
|
508
508
|
amdContainer?: string | undefined;
|
|
509
509
|
auxiliaryComment?: string | {
|
|
510
|
-
root?: string | undefined;
|
|
511
510
|
commonjs?: string | undefined;
|
|
512
|
-
amd?: string | undefined;
|
|
513
511
|
commonjs2?: string | undefined;
|
|
512
|
+
amd?: string | undefined;
|
|
513
|
+
root?: string | undefined;
|
|
514
514
|
} | undefined;
|
|
515
515
|
export?: string | string[] | undefined;
|
|
516
516
|
umdNamedDefine?: boolean | undefined;
|
|
@@ -524,15 +524,15 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
524
524
|
commonjs2: z.ZodOptional<z.ZodString>;
|
|
525
525
|
root: z.ZodOptional<z.ZodString>;
|
|
526
526
|
}, "strict", z.ZodTypeAny, {
|
|
527
|
-
root?: string | undefined;
|
|
528
527
|
commonjs?: string | undefined;
|
|
529
|
-
amd?: string | undefined;
|
|
530
528
|
commonjs2?: string | undefined;
|
|
531
|
-
|
|
529
|
+
amd?: string | undefined;
|
|
532
530
|
root?: string | undefined;
|
|
531
|
+
}, {
|
|
533
532
|
commonjs?: string | undefined;
|
|
534
|
-
amd?: string | undefined;
|
|
535
533
|
commonjs2?: string | undefined;
|
|
534
|
+
amd?: string | undefined;
|
|
535
|
+
root?: string | undefined;
|
|
536
536
|
}>]>>;
|
|
537
537
|
module: z.ZodOptional<z.ZodBoolean>;
|
|
538
538
|
strictModuleExceptionHandling: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -589,11 +589,11 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
589
589
|
templateLiteral: z.ZodOptional<z.ZodBoolean>;
|
|
590
590
|
}, "strict", z.ZodTypeAny, {
|
|
591
591
|
module?: boolean | undefined;
|
|
592
|
-
const?: boolean | undefined;
|
|
593
592
|
document?: boolean | undefined;
|
|
594
593
|
nodePrefixForCoreModules?: boolean | undefined;
|
|
595
594
|
globalThis?: boolean | undefined;
|
|
596
595
|
bigIntLiteral?: boolean | undefined;
|
|
596
|
+
const?: boolean | undefined;
|
|
597
597
|
arrowFunction?: boolean | undefined;
|
|
598
598
|
forOf?: boolean | undefined;
|
|
599
599
|
destructuring?: boolean | undefined;
|
|
@@ -604,11 +604,11 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
604
604
|
asyncFunction?: boolean | undefined;
|
|
605
605
|
}, {
|
|
606
606
|
module?: boolean | undefined;
|
|
607
|
-
const?: boolean | undefined;
|
|
608
607
|
document?: boolean | undefined;
|
|
609
608
|
nodePrefixForCoreModules?: boolean | undefined;
|
|
610
609
|
globalThis?: boolean | undefined;
|
|
611
610
|
bigIntLiteral?: boolean | undefined;
|
|
611
|
+
const?: boolean | undefined;
|
|
612
612
|
arrowFunction?: boolean | undefined;
|
|
613
613
|
forOf?: boolean | undefined;
|
|
614
614
|
destructuring?: boolean | undefined;
|
|
@@ -621,45 +621,27 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
621
621
|
compareBeforeEmit: z.ZodOptional<z.ZodBoolean>;
|
|
622
622
|
}, "strict", z.ZodTypeAny, {
|
|
623
623
|
module?: boolean | undefined;
|
|
624
|
-
filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
625
|
-
publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
626
|
-
environment?: {
|
|
627
|
-
module?: boolean | undefined;
|
|
628
|
-
const?: boolean | undefined;
|
|
629
|
-
document?: boolean | undefined;
|
|
630
|
-
nodePrefixForCoreModules?: boolean | undefined;
|
|
631
|
-
globalThis?: boolean | undefined;
|
|
632
|
-
bigIntLiteral?: boolean | undefined;
|
|
633
|
-
arrowFunction?: boolean | undefined;
|
|
634
|
-
forOf?: boolean | undefined;
|
|
635
|
-
destructuring?: boolean | undefined;
|
|
636
|
-
dynamicImport?: boolean | undefined;
|
|
637
|
-
dynamicImportInWorker?: boolean | undefined;
|
|
638
|
-
optionalChaining?: boolean | undefined;
|
|
639
|
-
templateLiteral?: boolean | undefined;
|
|
640
|
-
asyncFunction?: boolean | undefined;
|
|
641
|
-
} | undefined;
|
|
642
|
-
chunkFilename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
643
|
-
path?: string | undefined;
|
|
644
624
|
chunkLoading?: string | false | undefined;
|
|
645
625
|
asyncChunks?: boolean | undefined;
|
|
626
|
+
publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
627
|
+
filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
646
628
|
library?: string | string[] | {
|
|
647
|
-
root?: string | string[] | undefined;
|
|
648
629
|
commonjs?: string | undefined;
|
|
649
630
|
amd?: string | undefined;
|
|
631
|
+
root?: string | string[] | undefined;
|
|
650
632
|
} | {
|
|
651
633
|
type: string;
|
|
652
634
|
name?: string | string[] | {
|
|
653
|
-
root?: string | string[] | undefined;
|
|
654
635
|
commonjs?: string | undefined;
|
|
655
636
|
amd?: string | undefined;
|
|
637
|
+
root?: string | string[] | undefined;
|
|
656
638
|
} | undefined;
|
|
657
639
|
amdContainer?: string | undefined;
|
|
658
640
|
auxiliaryComment?: string | {
|
|
659
|
-
root?: string | undefined;
|
|
660
641
|
commonjs?: string | undefined;
|
|
661
|
-
amd?: string | undefined;
|
|
662
642
|
commonjs2?: string | undefined;
|
|
643
|
+
amd?: string | undefined;
|
|
644
|
+
root?: string | undefined;
|
|
663
645
|
} | undefined;
|
|
664
646
|
export?: string | string[] | undefined;
|
|
665
647
|
umdNamedDefine?: boolean | undefined;
|
|
@@ -667,24 +649,26 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
667
649
|
wasmLoading?: string | false | undefined;
|
|
668
650
|
cssHeadDataCompression?: boolean | undefined;
|
|
669
651
|
auxiliaryComment?: string | {
|
|
670
|
-
root?: string | undefined;
|
|
671
652
|
commonjs?: string | undefined;
|
|
672
|
-
amd?: string | undefined;
|
|
673
653
|
commonjs2?: string | undefined;
|
|
654
|
+
amd?: string | undefined;
|
|
655
|
+
root?: string | undefined;
|
|
674
656
|
} | undefined;
|
|
675
657
|
umdNamedDefine?: boolean | undefined;
|
|
676
|
-
|
|
677
|
-
uniqueName?: string | undefined;
|
|
658
|
+
path?: string | undefined;
|
|
678
659
|
pathinfo?: boolean | "verbose" | undefined;
|
|
679
660
|
clean?: boolean | {
|
|
680
661
|
keep?: string | undefined;
|
|
681
662
|
} | undefined;
|
|
663
|
+
chunkFilename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
664
|
+
crossOriginLoading?: false | "anonymous" | "use-credentials" | undefined;
|
|
682
665
|
cssFilename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
683
666
|
cssChunkFilename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
684
667
|
hotUpdateMainFilename?: string | undefined;
|
|
685
668
|
hotUpdateChunkFilename?: string | undefined;
|
|
686
669
|
hotUpdateGlobal?: string | undefined;
|
|
687
670
|
assetModuleFilename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
671
|
+
uniqueName?: string | undefined;
|
|
688
672
|
chunkLoadingGlobal?: string | undefined;
|
|
689
673
|
enabledLibraryTypes?: string[] | undefined;
|
|
690
674
|
strictModuleErrorHandling?: boolean | undefined;
|
|
@@ -703,7 +687,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
703
687
|
sourceMapFilename?: string | undefined;
|
|
704
688
|
hashDigest?: string | undefined;
|
|
705
689
|
hashDigestLength?: number | undefined;
|
|
706
|
-
hashFunction?: "
|
|
690
|
+
hashFunction?: "md4" | "xxhash64" | undefined;
|
|
707
691
|
hashSalt?: string | undefined;
|
|
708
692
|
workerChunkLoading?: string | false | undefined;
|
|
709
693
|
workerWasmLoading?: string | false | undefined;
|
|
@@ -712,23 +696,13 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
712
696
|
devtoolNamespace?: string | undefined;
|
|
713
697
|
devtoolModuleFilenameTemplate?: string | ((args_0: any) => any) | undefined;
|
|
714
698
|
devtoolFallbackModuleFilenameTemplate?: string | ((args_0: any) => any) | undefined;
|
|
715
|
-
charset?: boolean | undefined;
|
|
716
|
-
chunkLoadTimeout?: number | undefined;
|
|
717
|
-
compareBeforeEmit?: boolean | undefined;
|
|
718
|
-
libraryExport?: string | string[] | undefined;
|
|
719
|
-
libraryTarget?: string | undefined;
|
|
720
|
-
strictModuleExceptionHandling?: boolean | undefined;
|
|
721
|
-
}, {
|
|
722
|
-
module?: boolean | undefined;
|
|
723
|
-
filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
724
|
-
publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
725
699
|
environment?: {
|
|
726
700
|
module?: boolean | undefined;
|
|
727
|
-
const?: boolean | undefined;
|
|
728
701
|
document?: boolean | undefined;
|
|
729
702
|
nodePrefixForCoreModules?: boolean | undefined;
|
|
730
703
|
globalThis?: boolean | undefined;
|
|
731
704
|
bigIntLiteral?: boolean | undefined;
|
|
705
|
+
const?: boolean | undefined;
|
|
732
706
|
arrowFunction?: boolean | undefined;
|
|
733
707
|
forOf?: boolean | undefined;
|
|
734
708
|
destructuring?: boolean | undefined;
|
|
@@ -738,27 +712,35 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
738
712
|
templateLiteral?: boolean | undefined;
|
|
739
713
|
asyncFunction?: boolean | undefined;
|
|
740
714
|
} | undefined;
|
|
741
|
-
|
|
742
|
-
|
|
715
|
+
charset?: boolean | undefined;
|
|
716
|
+
chunkLoadTimeout?: number | undefined;
|
|
717
|
+
compareBeforeEmit?: boolean | undefined;
|
|
718
|
+
libraryExport?: string | string[] | undefined;
|
|
719
|
+
libraryTarget?: string | undefined;
|
|
720
|
+
strictModuleExceptionHandling?: boolean | undefined;
|
|
721
|
+
}, {
|
|
722
|
+
module?: boolean | undefined;
|
|
743
723
|
chunkLoading?: string | false | undefined;
|
|
744
724
|
asyncChunks?: boolean | undefined;
|
|
725
|
+
publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
726
|
+
filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
745
727
|
library?: string | string[] | {
|
|
746
|
-
root?: string | string[] | undefined;
|
|
747
728
|
commonjs?: string | undefined;
|
|
748
729
|
amd?: string | undefined;
|
|
730
|
+
root?: string | string[] | undefined;
|
|
749
731
|
} | {
|
|
750
732
|
type: string;
|
|
751
733
|
name?: string | string[] | {
|
|
752
|
-
root?: string | string[] | undefined;
|
|
753
734
|
commonjs?: string | undefined;
|
|
754
735
|
amd?: string | undefined;
|
|
736
|
+
root?: string | string[] | undefined;
|
|
755
737
|
} | undefined;
|
|
756
738
|
amdContainer?: string | undefined;
|
|
757
739
|
auxiliaryComment?: string | {
|
|
758
|
-
root?: string | undefined;
|
|
759
740
|
commonjs?: string | undefined;
|
|
760
|
-
amd?: string | undefined;
|
|
761
741
|
commonjs2?: string | undefined;
|
|
742
|
+
amd?: string | undefined;
|
|
743
|
+
root?: string | undefined;
|
|
762
744
|
} | undefined;
|
|
763
745
|
export?: string | string[] | undefined;
|
|
764
746
|
umdNamedDefine?: boolean | undefined;
|
|
@@ -766,24 +748,26 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
766
748
|
wasmLoading?: string | false | undefined;
|
|
767
749
|
cssHeadDataCompression?: boolean | undefined;
|
|
768
750
|
auxiliaryComment?: string | {
|
|
769
|
-
root?: string | undefined;
|
|
770
751
|
commonjs?: string | undefined;
|
|
771
|
-
amd?: string | undefined;
|
|
772
752
|
commonjs2?: string | undefined;
|
|
753
|
+
amd?: string | undefined;
|
|
754
|
+
root?: string | undefined;
|
|
773
755
|
} | undefined;
|
|
774
756
|
umdNamedDefine?: boolean | undefined;
|
|
775
|
-
|
|
776
|
-
uniqueName?: string | undefined;
|
|
757
|
+
path?: string | undefined;
|
|
777
758
|
pathinfo?: boolean | "verbose" | undefined;
|
|
778
759
|
clean?: boolean | {
|
|
779
760
|
keep?: string | undefined;
|
|
780
761
|
} | undefined;
|
|
762
|
+
chunkFilename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
763
|
+
crossOriginLoading?: false | "anonymous" | "use-credentials" | undefined;
|
|
781
764
|
cssFilename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
782
765
|
cssChunkFilename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
783
766
|
hotUpdateMainFilename?: string | undefined;
|
|
784
767
|
hotUpdateChunkFilename?: string | undefined;
|
|
785
768
|
hotUpdateGlobal?: string | undefined;
|
|
786
769
|
assetModuleFilename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
770
|
+
uniqueName?: string | undefined;
|
|
787
771
|
chunkLoadingGlobal?: string | undefined;
|
|
788
772
|
enabledLibraryTypes?: string[] | undefined;
|
|
789
773
|
strictModuleErrorHandling?: boolean | undefined;
|
|
@@ -802,7 +786,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
802
786
|
sourceMapFilename?: string | undefined;
|
|
803
787
|
hashDigest?: string | undefined;
|
|
804
788
|
hashDigestLength?: number | undefined;
|
|
805
|
-
hashFunction?: "
|
|
789
|
+
hashFunction?: "md4" | "xxhash64" | undefined;
|
|
806
790
|
hashSalt?: string | undefined;
|
|
807
791
|
workerChunkLoading?: string | false | undefined;
|
|
808
792
|
workerWasmLoading?: string | false | undefined;
|
|
@@ -811,8 +795,24 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
811
795
|
devtoolNamespace?: string | undefined;
|
|
812
796
|
devtoolModuleFilenameTemplate?: string | ((args_0: any) => any) | undefined;
|
|
813
797
|
devtoolFallbackModuleFilenameTemplate?: string | ((args_0: any) => any) | undefined;
|
|
814
|
-
|
|
815
|
-
|
|
798
|
+
environment?: {
|
|
799
|
+
module?: boolean | undefined;
|
|
800
|
+
document?: boolean | undefined;
|
|
801
|
+
nodePrefixForCoreModules?: boolean | undefined;
|
|
802
|
+
globalThis?: boolean | undefined;
|
|
803
|
+
bigIntLiteral?: boolean | undefined;
|
|
804
|
+
const?: boolean | undefined;
|
|
805
|
+
arrowFunction?: boolean | undefined;
|
|
806
|
+
forOf?: boolean | undefined;
|
|
807
|
+
destructuring?: boolean | undefined;
|
|
808
|
+
dynamicImport?: boolean | undefined;
|
|
809
|
+
dynamicImportInWorker?: boolean | undefined;
|
|
810
|
+
optionalChaining?: boolean | undefined;
|
|
811
|
+
templateLiteral?: boolean | undefined;
|
|
812
|
+
asyncFunction?: boolean | undefined;
|
|
813
|
+
} | undefined;
|
|
814
|
+
charset?: boolean | undefined;
|
|
815
|
+
chunkLoadTimeout?: number | undefined;
|
|
816
816
|
compareBeforeEmit?: boolean | undefined;
|
|
817
817
|
libraryExport?: string | string[] | undefined;
|
|
818
818
|
libraryTarget?: string | undefined;
|
|
@@ -829,51 +829,57 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
829
829
|
type: "memory";
|
|
830
830
|
}>, z.ZodObject<{
|
|
831
831
|
type: z.ZodEnum<["persistent"]>;
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
832
|
+
buildDependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
833
|
+
version: z.ZodOptional<z.ZodString>;
|
|
834
|
+
snapshot: z.ZodOptional<z.ZodObject<{
|
|
835
|
+
immutablePaths: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>, "many">>;
|
|
836
|
+
unmanagedPaths: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>, "many">>;
|
|
837
|
+
managedPaths: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>, "many">>;
|
|
838
|
+
}, "strip", z.ZodTypeAny, {
|
|
839
|
+
immutablePaths?: (string | RegExp)[] | undefined;
|
|
840
|
+
unmanagedPaths?: (string | RegExp)[] | undefined;
|
|
841
|
+
managedPaths?: (string | RegExp)[] | undefined;
|
|
840
842
|
}, {
|
|
841
|
-
immutablePaths
|
|
842
|
-
unmanagedPaths
|
|
843
|
-
managedPaths
|
|
844
|
-
}
|
|
845
|
-
storage: z.ZodObject<{
|
|
843
|
+
immutablePaths?: (string | RegExp)[] | undefined;
|
|
844
|
+
unmanagedPaths?: (string | RegExp)[] | undefined;
|
|
845
|
+
managedPaths?: (string | RegExp)[] | undefined;
|
|
846
|
+
}>>;
|
|
847
|
+
storage: z.ZodOptional<z.ZodObject<{
|
|
846
848
|
type: z.ZodEnum<["filesystem"]>;
|
|
847
|
-
directory: z.ZodString
|
|
848
|
-
}, "
|
|
849
|
+
directory: z.ZodOptional<z.ZodString>;
|
|
850
|
+
}, "strip", z.ZodTypeAny, {
|
|
849
851
|
type: "filesystem";
|
|
850
|
-
directory
|
|
852
|
+
directory?: string | undefined;
|
|
851
853
|
}, {
|
|
852
854
|
type: "filesystem";
|
|
853
|
-
directory
|
|
854
|
-
}
|
|
855
|
+
directory?: string | undefined;
|
|
856
|
+
}>>;
|
|
855
857
|
}, "strip", z.ZodTypeAny, {
|
|
856
858
|
type: "persistent";
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
859
|
+
version?: string | undefined;
|
|
860
|
+
snapshot?: {
|
|
861
|
+
immutablePaths?: (string | RegExp)[] | undefined;
|
|
862
|
+
unmanagedPaths?: (string | RegExp)[] | undefined;
|
|
863
|
+
managedPaths?: (string | RegExp)[] | undefined;
|
|
864
|
+
} | undefined;
|
|
865
|
+
buildDependencies?: string[] | undefined;
|
|
866
|
+
storage?: {
|
|
863
867
|
type: "filesystem";
|
|
864
|
-
directory
|
|
865
|
-
};
|
|
868
|
+
directory?: string | undefined;
|
|
869
|
+
} | undefined;
|
|
866
870
|
}, {
|
|
867
871
|
type: "persistent";
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
872
|
+
version?: string | undefined;
|
|
873
|
+
snapshot?: {
|
|
874
|
+
immutablePaths?: (string | RegExp)[] | undefined;
|
|
875
|
+
unmanagedPaths?: (string | RegExp)[] | undefined;
|
|
876
|
+
managedPaths?: (string | RegExp)[] | undefined;
|
|
877
|
+
} | undefined;
|
|
878
|
+
buildDependencies?: string[] | undefined;
|
|
879
|
+
storage?: {
|
|
874
880
|
type: "filesystem";
|
|
875
|
-
directory
|
|
876
|
-
};
|
|
881
|
+
directory?: string | undefined;
|
|
882
|
+
} | undefined;
|
|
877
883
|
}>]>]>;
|
|
878
884
|
lazyCompilation: z.ZodUnion<[z.ZodOptional<z.ZodBoolean>, z.ZodObject<{
|
|
879
885
|
backend: z.ZodOptional<z.ZodObject<{
|
|
@@ -939,8 +945,8 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
939
945
|
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>]>>;
|
|
940
946
|
}, "strip", z.ZodTypeAny, {
|
|
941
947
|
entries?: boolean | undefined;
|
|
942
|
-
imports?: boolean | undefined;
|
|
943
948
|
test?: RegExp | ((args_0: Module, ...args: unknown[]) => boolean) | undefined;
|
|
949
|
+
imports?: boolean | undefined;
|
|
944
950
|
backend?: {
|
|
945
951
|
client?: string | undefined;
|
|
946
952
|
listen?: number | {
|
|
@@ -957,8 +963,8 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
957
963
|
} | undefined;
|
|
958
964
|
}, {
|
|
959
965
|
entries?: boolean | undefined;
|
|
960
|
-
imports?: boolean | undefined;
|
|
961
966
|
test?: RegExp | ((args_0: Module, ...args: unknown[]) => boolean) | undefined;
|
|
967
|
+
imports?: boolean | undefined;
|
|
962
968
|
backend?: {
|
|
963
969
|
client?: string | undefined;
|
|
964
970
|
listen?: number | {
|
|
@@ -984,6 +990,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
984
990
|
inferAsyncModules: z.ZodOptional<z.ZodBoolean>;
|
|
985
991
|
providedExports: z.ZodOptional<z.ZodBoolean>;
|
|
986
992
|
dependenciesDiagnostics: z.ZodOptional<z.ZodBoolean>;
|
|
993
|
+
sideEffects: z.ZodOptional<z.ZodBoolean>;
|
|
987
994
|
buildChunkGraph: z.ZodOptional<z.ZodBoolean>;
|
|
988
995
|
moduleIds: z.ZodOptional<z.ZodBoolean>;
|
|
989
996
|
chunkIds: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -995,10 +1002,11 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
995
1002
|
chunksRender: z.ZodOptional<z.ZodBoolean>;
|
|
996
1003
|
emitAssets: z.ZodOptional<z.ZodBoolean>;
|
|
997
1004
|
}, "strict", z.ZodTypeAny, {
|
|
998
|
-
make?: boolean | undefined;
|
|
999
1005
|
providedExports?: boolean | undefined;
|
|
1006
|
+
make?: boolean | undefined;
|
|
1000
1007
|
inferAsyncModules?: boolean | undefined;
|
|
1001
1008
|
dependenciesDiagnostics?: boolean | undefined;
|
|
1009
|
+
sideEffects?: boolean | undefined;
|
|
1002
1010
|
buildChunkGraph?: boolean | undefined;
|
|
1003
1011
|
moduleIds?: boolean | undefined;
|
|
1004
1012
|
chunkIds?: boolean | undefined;
|
|
@@ -1010,10 +1018,11 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
1010
1018
|
chunksRender?: boolean | undefined;
|
|
1011
1019
|
emitAssets?: boolean | undefined;
|
|
1012
1020
|
}, {
|
|
1013
|
-
make?: boolean | undefined;
|
|
1014
1021
|
providedExports?: boolean | undefined;
|
|
1022
|
+
make?: boolean | undefined;
|
|
1015
1023
|
inferAsyncModules?: boolean | undefined;
|
|
1016
1024
|
dependenciesDiagnostics?: boolean | undefined;
|
|
1025
|
+
sideEffects?: boolean | undefined;
|
|
1017
1026
|
buildChunkGraph?: boolean | undefined;
|
|
1018
1027
|
moduleIds?: boolean | undefined;
|
|
1019
1028
|
chunkIds?: boolean | undefined;
|
|
@@ -1032,24 +1041,24 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
1032
1041
|
bundler: z.ZodOptional<z.ZodString>;
|
|
1033
1042
|
force: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodArray<z.ZodEnum<["version", "uniqueId"]>, "many">]>>;
|
|
1034
1043
|
}, "strict", z.ZodTypeAny, {
|
|
1035
|
-
force?: boolean | ("version" | "uniqueId")[] | undefined;
|
|
1036
1044
|
version?: string | undefined;
|
|
1045
|
+
force?: boolean | ("version" | "uniqueId")[] | undefined;
|
|
1037
1046
|
bundler?: string | undefined;
|
|
1038
1047
|
}, {
|
|
1039
|
-
force?: boolean | ("version" | "uniqueId")[] | undefined;
|
|
1040
1048
|
version?: string | undefined;
|
|
1049
|
+
force?: boolean | ("version" | "uniqueId")[] | undefined;
|
|
1041
1050
|
bundler?: string | undefined;
|
|
1042
1051
|
}>>;
|
|
1043
1052
|
}, "strict", z.ZodTypeAny, {
|
|
1044
1053
|
bundlerInfo?: {
|
|
1045
|
-
force?: boolean | ("version" | "uniqueId")[] | undefined;
|
|
1046
1054
|
version?: string | undefined;
|
|
1055
|
+
force?: boolean | ("version" | "uniqueId")[] | undefined;
|
|
1047
1056
|
bundler?: string | undefined;
|
|
1048
1057
|
} | undefined;
|
|
1049
1058
|
}, {
|
|
1050
1059
|
bundlerInfo?: {
|
|
1051
|
-
force?: boolean | ("version" | "uniqueId")[] | undefined;
|
|
1052
1060
|
version?: string | undefined;
|
|
1061
|
+
force?: boolean | ("version" | "uniqueId")[] | undefined;
|
|
1053
1062
|
bundler?: string | undefined;
|
|
1054
1063
|
} | undefined;
|
|
1055
1064
|
}>>;
|
|
@@ -1059,23 +1068,47 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
1059
1068
|
type: "memory";
|
|
1060
1069
|
} | {
|
|
1061
1070
|
type: "persistent";
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1071
|
+
version?: string | undefined;
|
|
1072
|
+
snapshot?: {
|
|
1073
|
+
immutablePaths?: (string | RegExp)[] | undefined;
|
|
1074
|
+
unmanagedPaths?: (string | RegExp)[] | undefined;
|
|
1075
|
+
managedPaths?: (string | RegExp)[] | undefined;
|
|
1076
|
+
} | undefined;
|
|
1077
|
+
buildDependencies?: string[] | undefined;
|
|
1078
|
+
storage?: {
|
|
1068
1079
|
type: "filesystem";
|
|
1069
|
-
directory
|
|
1070
|
-
};
|
|
1080
|
+
directory?: string | undefined;
|
|
1081
|
+
} | undefined;
|
|
1082
|
+
} | undefined;
|
|
1083
|
+
lazyCompilation?: boolean | {
|
|
1084
|
+
entries?: boolean | undefined;
|
|
1085
|
+
test?: RegExp | ((args_0: Module, ...args: unknown[]) => boolean) | undefined;
|
|
1086
|
+
imports?: boolean | undefined;
|
|
1087
|
+
backend?: {
|
|
1088
|
+
client?: string | undefined;
|
|
1089
|
+
listen?: number | {
|
|
1090
|
+
path?: string | undefined;
|
|
1091
|
+
port?: number | undefined;
|
|
1092
|
+
host?: string | undefined;
|
|
1093
|
+
backlog?: number | undefined;
|
|
1094
|
+
exclusive?: boolean | undefined;
|
|
1095
|
+
readableAll?: boolean | undefined;
|
|
1096
|
+
writableAll?: boolean | undefined;
|
|
1097
|
+
ipv6Only?: boolean | undefined;
|
|
1098
|
+
} | undefined;
|
|
1099
|
+
protocol?: "http" | "https" | undefined;
|
|
1100
|
+
} | undefined;
|
|
1071
1101
|
} | undefined;
|
|
1102
|
+
asyncWebAssembly?: boolean | undefined;
|
|
1103
|
+
outputModule?: boolean | undefined;
|
|
1072
1104
|
topLevelAwait?: boolean | undefined;
|
|
1073
1105
|
layers?: boolean | undefined;
|
|
1074
1106
|
incremental?: boolean | {
|
|
1075
|
-
make?: boolean | undefined;
|
|
1076
1107
|
providedExports?: boolean | undefined;
|
|
1108
|
+
make?: boolean | undefined;
|
|
1077
1109
|
inferAsyncModules?: boolean | undefined;
|
|
1078
1110
|
dependenciesDiagnostics?: boolean | undefined;
|
|
1111
|
+
sideEffects?: boolean | undefined;
|
|
1079
1112
|
buildChunkGraph?: boolean | undefined;
|
|
1080
1113
|
moduleIds?: boolean | undefined;
|
|
1081
1114
|
chunkIds?: boolean | undefined;
|
|
@@ -1087,20 +1120,36 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
1087
1120
|
chunksRender?: boolean | undefined;
|
|
1088
1121
|
emitAssets?: boolean | undefined;
|
|
1089
1122
|
} | undefined;
|
|
1123
|
+
futureDefaults?: boolean | undefined;
|
|
1090
1124
|
rspackFuture?: {
|
|
1091
1125
|
bundlerInfo?: {
|
|
1092
|
-
force?: boolean | ("version" | "uniqueId")[] | undefined;
|
|
1093
1126
|
version?: string | undefined;
|
|
1127
|
+
force?: boolean | ("version" | "uniqueId")[] | undefined;
|
|
1094
1128
|
bundler?: string | undefined;
|
|
1095
1129
|
} | undefined;
|
|
1096
1130
|
} | undefined;
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1131
|
+
}, {
|
|
1132
|
+
css?: boolean | undefined;
|
|
1133
|
+
cache?: boolean | {
|
|
1134
|
+
type: "memory";
|
|
1135
|
+
} | {
|
|
1136
|
+
type: "persistent";
|
|
1137
|
+
version?: string | undefined;
|
|
1138
|
+
snapshot?: {
|
|
1139
|
+
immutablePaths?: (string | RegExp)[] | undefined;
|
|
1140
|
+
unmanagedPaths?: (string | RegExp)[] | undefined;
|
|
1141
|
+
managedPaths?: (string | RegExp)[] | undefined;
|
|
1142
|
+
} | undefined;
|
|
1143
|
+
buildDependencies?: string[] | undefined;
|
|
1144
|
+
storage?: {
|
|
1145
|
+
type: "filesystem";
|
|
1146
|
+
directory?: string | undefined;
|
|
1147
|
+
} | undefined;
|
|
1148
|
+
} | undefined;
|
|
1100
1149
|
lazyCompilation?: boolean | {
|
|
1101
1150
|
entries?: boolean | undefined;
|
|
1102
|
-
imports?: boolean | undefined;
|
|
1103
1151
|
test?: RegExp | ((args_0: Module, ...args: unknown[]) => boolean) | undefined;
|
|
1152
|
+
imports?: boolean | undefined;
|
|
1104
1153
|
backend?: {
|
|
1105
1154
|
client?: string | undefined;
|
|
1106
1155
|
listen?: number | {
|
|
@@ -1116,29 +1165,16 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
1116
1165
|
protocol?: "http" | "https" | undefined;
|
|
1117
1166
|
} | undefined;
|
|
1118
1167
|
} | undefined;
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
cache?: boolean | {
|
|
1122
|
-
type: "memory";
|
|
1123
|
-
} | {
|
|
1124
|
-
type: "persistent";
|
|
1125
|
-
snapshot: {
|
|
1126
|
-
immutablePaths: (string | RegExp)[];
|
|
1127
|
-
unmanagedPaths: (string | RegExp)[];
|
|
1128
|
-
managedPaths: (string | RegExp)[];
|
|
1129
|
-
};
|
|
1130
|
-
storage: {
|
|
1131
|
-
type: "filesystem";
|
|
1132
|
-
directory: string;
|
|
1133
|
-
};
|
|
1134
|
-
} | undefined;
|
|
1168
|
+
asyncWebAssembly?: boolean | undefined;
|
|
1169
|
+
outputModule?: boolean | undefined;
|
|
1135
1170
|
topLevelAwait?: boolean | undefined;
|
|
1136
1171
|
layers?: boolean | undefined;
|
|
1137
1172
|
incremental?: boolean | {
|
|
1138
|
-
make?: boolean | undefined;
|
|
1139
1173
|
providedExports?: boolean | undefined;
|
|
1174
|
+
make?: boolean | undefined;
|
|
1140
1175
|
inferAsyncModules?: boolean | undefined;
|
|
1141
1176
|
dependenciesDiagnostics?: boolean | undefined;
|
|
1177
|
+
sideEffects?: boolean | undefined;
|
|
1142
1178
|
buildChunkGraph?: boolean | undefined;
|
|
1143
1179
|
moduleIds?: boolean | undefined;
|
|
1144
1180
|
chunkIds?: boolean | undefined;
|
|
@@ -1150,37 +1186,16 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
1150
1186
|
chunksRender?: boolean | undefined;
|
|
1151
1187
|
emitAssets?: boolean | undefined;
|
|
1152
1188
|
} | undefined;
|
|
1189
|
+
futureDefaults?: boolean | undefined;
|
|
1153
1190
|
rspackFuture?: {
|
|
1154
1191
|
bundlerInfo?: {
|
|
1155
|
-
force?: boolean | ("version" | "uniqueId")[] | undefined;
|
|
1156
1192
|
version?: string | undefined;
|
|
1193
|
+
force?: boolean | ("version" | "uniqueId")[] | undefined;
|
|
1157
1194
|
bundler?: string | undefined;
|
|
1158
1195
|
} | undefined;
|
|
1159
1196
|
} | undefined;
|
|
1160
|
-
asyncWebAssembly?: boolean | undefined;
|
|
1161
|
-
outputModule?: boolean | undefined;
|
|
1162
|
-
futureDefaults?: boolean | undefined;
|
|
1163
|
-
lazyCompilation?: boolean | {
|
|
1164
|
-
entries?: boolean | undefined;
|
|
1165
|
-
imports?: boolean | undefined;
|
|
1166
|
-
test?: RegExp | ((args_0: Module, ...args: unknown[]) => boolean) | undefined;
|
|
1167
|
-
backend?: {
|
|
1168
|
-
client?: string | undefined;
|
|
1169
|
-
listen?: number | {
|
|
1170
|
-
path?: string | undefined;
|
|
1171
|
-
port?: number | undefined;
|
|
1172
|
-
host?: string | undefined;
|
|
1173
|
-
backlog?: number | undefined;
|
|
1174
|
-
exclusive?: boolean | undefined;
|
|
1175
|
-
readableAll?: boolean | undefined;
|
|
1176
|
-
writableAll?: boolean | undefined;
|
|
1177
|
-
ipv6Only?: boolean | undefined;
|
|
1178
|
-
} | undefined;
|
|
1179
|
-
protocol?: "http" | "https" | undefined;
|
|
1180
|
-
} | undefined;
|
|
1181
|
-
} | undefined;
|
|
1182
1197
|
}>>;
|
|
1183
|
-
externals: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBoolean]>, z.ZodArray<z.ZodString, "many">]>, ZodRspackCrossChecker<t.ExternalItemUmdValue | t.ExternalItemObjectValue>]>>]>, z.ZodFunction<z.ZodTuple<[z.ZodType<t.ExternalItemFunctionData, z.ZodTypeDef, t.ExternalItemFunctionData>, z.ZodFunction<z.ZodTuple<[z.ZodOptional<z.ZodType<Error, z.ZodTypeDef, Error>>, z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBoolean]>, z.ZodArray<z.ZodString, "many">]>, ZodRspackCrossChecker<t.ExternalItemUmdValue | t.ExternalItemObjectValue>]>>, z.ZodOptional<z.ZodEnum<["var", "module", "assign", "this", "window", "self", "global", "commonjs", "commonjs2", "commonjs-module", "commonjs-static", "amd", "amd-require", "umd", "umd2", "jsonp", "system", "promise", "import", "module-import", "script", "node-commonjs", "commonjs-import"]>>], z.ZodUnknown>, z.ZodVoid>], z.ZodUnknown>, z.ZodUnknown>]>, z.ZodFunction<z.ZodTuple<[z.ZodType<t.ExternalItemFunctionData, z.ZodTypeDef, t.ExternalItemFunctionData>], z.ZodUnknown>, z.ZodPromise<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBoolean]>, z.ZodArray<z.ZodString, "many">]>, ZodRspackCrossChecker<t.ExternalItemUmdValue | t.ExternalItemObjectValue>]>>>]>, "many">, z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBoolean]>, z.ZodArray<z.ZodString, "many">]>, ZodRspackCrossChecker<t.ExternalItemUmdValue | t.ExternalItemObjectValue>]>>]>, z.ZodFunction<z.ZodTuple<[z.ZodType<t.ExternalItemFunctionData, z.ZodTypeDef, t.ExternalItemFunctionData>, z.ZodFunction<z.ZodTuple<[z.ZodOptional<z.ZodType<Error, z.ZodTypeDef, Error>>, z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBoolean]>, z.ZodArray<z.ZodString, "many">]>, ZodRspackCrossChecker<t.ExternalItemUmdValue | t.ExternalItemObjectValue>]>>, z.ZodOptional<z.ZodEnum<["var", "module", "assign", "this", "window", "self", "global", "commonjs", "commonjs2", "commonjs-module", "commonjs-static", "amd", "amd-require", "umd", "umd2", "jsonp", "system", "promise", "import", "module-import", "script", "node-commonjs", "commonjs-import"]>>], z.ZodUnknown>, z.ZodVoid>], z.ZodUnknown>, z.ZodUnknown>]>, z.ZodFunction<z.ZodTuple<[z.ZodType<t.ExternalItemFunctionData, z.ZodTypeDef, t.ExternalItemFunctionData>], z.ZodUnknown>, z.ZodPromise<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBoolean]>, z.ZodArray<z.ZodString, "many">]>, ZodRspackCrossChecker<t.ExternalItemUmdValue | t.ExternalItemObjectValue>]>>>]>]>>;
|
|
1198
|
+
externals: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBoolean]>, z.ZodArray<z.ZodString, "many">]>, ZodRspackCrossChecker<t.ExternalItemUmdValue | t.ExternalItemObjectValue>]>>]>, z.ZodFunction<z.ZodTuple<[z.ZodType<t.ExternalItemFunctionData, z.ZodTypeDef, t.ExternalItemFunctionData>, z.ZodFunction<z.ZodTuple<[z.ZodOptional<z.ZodType<Error, z.ZodTypeDef, Error>>, z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBoolean]>, z.ZodArray<z.ZodString, "many">]>, ZodRspackCrossChecker<t.ExternalItemUmdValue | t.ExternalItemObjectValue>]>>, z.ZodOptional<z.ZodEnum<["var", "module", "assign", "this", "window", "self", "global", "commonjs", "commonjs2", "commonjs-module", "commonjs-static", "amd", "amd-require", "umd", "umd2", "jsonp", "system", "promise", "import", "module-import", "script", "node-commonjs", "commonjs-import"]>>], z.ZodUnknown>, z.ZodVoid>], z.ZodUnknown>, z.ZodUnknown>]>, z.ZodFunction<z.ZodTuple<[z.ZodType<t.ExternalItemFunctionData, z.ZodTypeDef, t.ExternalItemFunctionData>], z.ZodUnknown>, z.ZodPromise<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBoolean]>, z.ZodArray<z.ZodString, "many">]>, ZodRspackCrossChecker<t.ExternalItemUmdValue | t.ExternalItemObjectValue>]>>>]>, z.ZodFunction<z.ZodTuple<[z.ZodType<t.ExternalItemFunctionData, z.ZodTypeDef, t.ExternalItemFunctionData>], z.ZodUnknown>, z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBoolean]>, z.ZodArray<z.ZodString, "many">]>, ZodRspackCrossChecker<t.ExternalItemUmdValue | t.ExternalItemObjectValue>]>>]>, "many">, z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBoolean]>, z.ZodArray<z.ZodString, "many">]>, ZodRspackCrossChecker<t.ExternalItemUmdValue | t.ExternalItemObjectValue>]>>]>, z.ZodFunction<z.ZodTuple<[z.ZodType<t.ExternalItemFunctionData, z.ZodTypeDef, t.ExternalItemFunctionData>, z.ZodFunction<z.ZodTuple<[z.ZodOptional<z.ZodType<Error, z.ZodTypeDef, Error>>, z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBoolean]>, z.ZodArray<z.ZodString, "many">]>, ZodRspackCrossChecker<t.ExternalItemUmdValue | t.ExternalItemObjectValue>]>>, z.ZodOptional<z.ZodEnum<["var", "module", "assign", "this", "window", "self", "global", "commonjs", "commonjs2", "commonjs-module", "commonjs-static", "amd", "amd-require", "umd", "umd2", "jsonp", "system", "promise", "import", "module-import", "script", "node-commonjs", "commonjs-import"]>>], z.ZodUnknown>, z.ZodVoid>], z.ZodUnknown>, z.ZodUnknown>]>, z.ZodFunction<z.ZodTuple<[z.ZodType<t.ExternalItemFunctionData, z.ZodTypeDef, t.ExternalItemFunctionData>], z.ZodUnknown>, z.ZodPromise<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBoolean]>, z.ZodArray<z.ZodString, "many">]>, ZodRspackCrossChecker<t.ExternalItemUmdValue | t.ExternalItemObjectValue>]>>>]>, z.ZodFunction<z.ZodTuple<[z.ZodType<t.ExternalItemFunctionData, z.ZodTypeDef, t.ExternalItemFunctionData>], z.ZodUnknown>, z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBoolean]>, z.ZodArray<z.ZodString, "many">]>, ZodRspackCrossChecker<t.ExternalItemUmdValue | t.ExternalItemObjectValue>]>>]>]>>;
|
|
1184
1199
|
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", "commonjs-import"]>>;
|
|
1185
1200
|
externalsPresets: z.ZodOptional<z.ZodObject<{
|
|
1186
1201
|
node: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1192,8 +1207,8 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
1192
1207
|
electronRenderer: z.ZodOptional<z.ZodBoolean>;
|
|
1193
1208
|
nwjs: z.ZodOptional<z.ZodBoolean>;
|
|
1194
1209
|
}, "strict", z.ZodTypeAny, {
|
|
1195
|
-
node?: boolean | undefined;
|
|
1196
1210
|
web?: boolean | undefined;
|
|
1211
|
+
node?: boolean | undefined;
|
|
1197
1212
|
nwjs?: boolean | undefined;
|
|
1198
1213
|
electron?: boolean | undefined;
|
|
1199
1214
|
electronMain?: boolean | undefined;
|
|
@@ -1201,8 +1216,8 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
1201
1216
|
electronRenderer?: boolean | undefined;
|
|
1202
1217
|
webAsync?: boolean | undefined;
|
|
1203
1218
|
}, {
|
|
1204
|
-
node?: boolean | undefined;
|
|
1205
1219
|
web?: boolean | undefined;
|
|
1220
|
+
node?: boolean | undefined;
|
|
1206
1221
|
nwjs?: boolean | undefined;
|
|
1207
1222
|
electron?: boolean | undefined;
|
|
1208
1223
|
electronMain?: boolean | undefined;
|
|
@@ -1223,14 +1238,14 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
1223
1238
|
stream?: NodeJS.WritableStream | undefined;
|
|
1224
1239
|
appendOnly?: boolean | undefined;
|
|
1225
1240
|
console?: Console | undefined;
|
|
1226
|
-
level?: "
|
|
1241
|
+
level?: "error" | "warn" | "info" | "log" | "none" | "verbose" | undefined;
|
|
1227
1242
|
}, {
|
|
1228
1243
|
debug?: string | boolean | RegExp | ((args_0: string, ...args: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args: unknown[]) => boolean))[] | undefined;
|
|
1229
1244
|
colors?: boolean | undefined;
|
|
1230
1245
|
stream?: NodeJS.WritableStream | undefined;
|
|
1231
1246
|
appendOnly?: boolean | undefined;
|
|
1232
1247
|
console?: Console | undefined;
|
|
1233
|
-
level?: "
|
|
1248
|
+
level?: "error" | "warn" | "info" | "log" | "none" | "verbose" | undefined;
|
|
1234
1249
|
}>>;
|
|
1235
1250
|
cache: z.ZodOptional<z.ZodBoolean>;
|
|
1236
1251
|
context: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
@@ -1349,11 +1364,15 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
1349
1364
|
warningsSpace: z.ZodOptional<z.ZodNumber>;
|
|
1350
1365
|
}, "strict", z.ZodTypeAny, {
|
|
1351
1366
|
modules?: boolean | undefined;
|
|
1352
|
-
|
|
1367
|
+
chunks?: boolean | undefined;
|
|
1368
|
+
ids?: boolean | undefined;
|
|
1369
|
+
runtime?: boolean | undefined;
|
|
1370
|
+
hash?: boolean | undefined;
|
|
1353
1371
|
all?: boolean | undefined;
|
|
1354
|
-
|
|
1372
|
+
version?: boolean | undefined;
|
|
1373
|
+
publicPath?: boolean | undefined;
|
|
1374
|
+
preset?: boolean | "none" | "verbose" | "normal" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | undefined;
|
|
1355
1375
|
assets?: boolean | undefined;
|
|
1356
|
-
chunks?: boolean | undefined;
|
|
1357
1376
|
entrypoints?: boolean | "auto" | undefined;
|
|
1358
1377
|
chunkGroups?: boolean | undefined;
|
|
1359
1378
|
warnings?: boolean | undefined;
|
|
@@ -1361,19 +1380,16 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
1361
1380
|
errors?: boolean | undefined;
|
|
1362
1381
|
errorsCount?: boolean | undefined;
|
|
1363
1382
|
colors?: boolean | undefined;
|
|
1364
|
-
hash?: boolean | undefined;
|
|
1365
|
-
version?: boolean | undefined;
|
|
1366
1383
|
reasons?: boolean | undefined;
|
|
1367
1384
|
outputPath?: boolean | undefined;
|
|
1368
1385
|
chunkModules?: boolean | undefined;
|
|
1369
1386
|
chunkRelations?: boolean | undefined;
|
|
1370
|
-
ids?: boolean | undefined;
|
|
1371
1387
|
timings?: boolean | undefined;
|
|
1372
1388
|
builtAt?: boolean | undefined;
|
|
1373
1389
|
moduleAssets?: boolean | undefined;
|
|
1374
1390
|
nestedModules?: boolean | undefined;
|
|
1375
1391
|
source?: boolean | undefined;
|
|
1376
|
-
logging?: boolean | "
|
|
1392
|
+
logging?: boolean | "error" | "warn" | "info" | "log" | "none" | "verbose" | undefined;
|
|
1377
1393
|
loggingDebug?: string | boolean | RegExp | ((args_0: string, ...args: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args: unknown[]) => boolean))[] | undefined;
|
|
1378
1394
|
loggingTrace?: boolean | undefined;
|
|
1379
1395
|
runtimeModules?: boolean | undefined;
|
|
@@ -1412,7 +1428,6 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
1412
1428
|
chunkGroupMaxAssets?: number | undefined;
|
|
1413
1429
|
dependentModules?: boolean | undefined;
|
|
1414
1430
|
chunkOrigins?: boolean | undefined;
|
|
1415
|
-
runtime?: boolean | undefined;
|
|
1416
1431
|
depth?: boolean | undefined;
|
|
1417
1432
|
reasonsSpace?: number | undefined;
|
|
1418
1433
|
groupReasonsByOrigin?: boolean | undefined;
|
|
@@ -1426,11 +1441,15 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
1426
1441
|
warningsSpace?: number | undefined;
|
|
1427
1442
|
}, {
|
|
1428
1443
|
modules?: boolean | undefined;
|
|
1429
|
-
|
|
1444
|
+
chunks?: boolean | undefined;
|
|
1445
|
+
ids?: boolean | undefined;
|
|
1446
|
+
runtime?: boolean | undefined;
|
|
1447
|
+
hash?: boolean | undefined;
|
|
1430
1448
|
all?: boolean | undefined;
|
|
1431
|
-
|
|
1449
|
+
version?: boolean | undefined;
|
|
1450
|
+
publicPath?: boolean | undefined;
|
|
1451
|
+
preset?: boolean | "none" | "verbose" | "normal" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | undefined;
|
|
1432
1452
|
assets?: boolean | undefined;
|
|
1433
|
-
chunks?: boolean | undefined;
|
|
1434
1453
|
entrypoints?: boolean | "auto" | undefined;
|
|
1435
1454
|
chunkGroups?: boolean | undefined;
|
|
1436
1455
|
warnings?: boolean | undefined;
|
|
@@ -1438,19 +1457,16 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
1438
1457
|
errors?: boolean | undefined;
|
|
1439
1458
|
errorsCount?: boolean | undefined;
|
|
1440
1459
|
colors?: boolean | undefined;
|
|
1441
|
-
hash?: boolean | undefined;
|
|
1442
|
-
version?: boolean | undefined;
|
|
1443
1460
|
reasons?: boolean | undefined;
|
|
1444
1461
|
outputPath?: boolean | undefined;
|
|
1445
1462
|
chunkModules?: boolean | undefined;
|
|
1446
1463
|
chunkRelations?: boolean | undefined;
|
|
1447
|
-
ids?: boolean | undefined;
|
|
1448
1464
|
timings?: boolean | undefined;
|
|
1449
1465
|
builtAt?: boolean | undefined;
|
|
1450
1466
|
moduleAssets?: boolean | undefined;
|
|
1451
1467
|
nestedModules?: boolean | undefined;
|
|
1452
1468
|
source?: boolean | undefined;
|
|
1453
|
-
logging?: boolean | "
|
|
1469
|
+
logging?: boolean | "error" | "warn" | "info" | "log" | "none" | "verbose" | undefined;
|
|
1454
1470
|
loggingDebug?: string | boolean | RegExp | ((args_0: string, ...args: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args: unknown[]) => boolean))[] | undefined;
|
|
1455
1471
|
loggingTrace?: boolean | undefined;
|
|
1456
1472
|
runtimeModules?: boolean | undefined;
|
|
@@ -1489,7 +1505,6 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
1489
1505
|
chunkGroupMaxAssets?: number | undefined;
|
|
1490
1506
|
dependentModules?: boolean | undefined;
|
|
1491
1507
|
chunkOrigins?: boolean | undefined;
|
|
1492
|
-
runtime?: boolean | undefined;
|
|
1493
1508
|
depth?: boolean | undefined;
|
|
1494
1509
|
reasonsSpace?: number | undefined;
|
|
1495
1510
|
groupReasonsByOrigin?: boolean | undefined;
|
|
@@ -1505,7 +1520,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
1505
1520
|
snapshot: z.ZodOptional<z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>>;
|
|
1506
1521
|
optimization: z.ZodOptional<z.ZodObject<{
|
|
1507
1522
|
moduleIds: z.ZodOptional<z.ZodEnum<["named", "natural", "deterministic"]>>;
|
|
1508
|
-
chunkIds: z.ZodOptional<z.ZodEnum<["natural", "named", "deterministic"]>>;
|
|
1523
|
+
chunkIds: z.ZodOptional<z.ZodEnum<["natural", "named", "deterministic", "size", "total-size"]>>;
|
|
1509
1524
|
minimize: z.ZodOptional<z.ZodBoolean>;
|
|
1510
1525
|
minimizer: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodLiteral<"...">, 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">>;
|
|
1511
1526
|
mergeDuplicateChunks: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1538,50 +1553,50 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
1538
1553
|
test: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>, z.ZodFunction<z.ZodTuple<[z.ZodType<Module, z.ZodTypeDef, Module>], z.ZodUnknown>, z.ZodUnknown>]>>;
|
|
1539
1554
|
priority: z.ZodOptional<z.ZodNumber>;
|
|
1540
1555
|
enforce: z.ZodOptional<z.ZodBoolean>;
|
|
1541
|
-
filename: z.ZodOptional<z.ZodString
|
|
1556
|
+
filename: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodFunction<z.ZodTuple<[z.ZodType<PathData, z.ZodTypeDef, PathData>, z.ZodOptional<z.ZodType<JsAssetInfo, z.ZodTypeDef, JsAssetInfo>>], z.ZodUnknown>, z.ZodString>]>>;
|
|
1542
1557
|
reuseExistingChunk: z.ZodOptional<z.ZodBoolean>;
|
|
1543
1558
|
type: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>>;
|
|
1544
1559
|
idHint: z.ZodOptional<z.ZodString>;
|
|
1545
1560
|
}, "strict", z.ZodTypeAny, {
|
|
1546
1561
|
type?: string | RegExp | undefined;
|
|
1547
|
-
|
|
1562
|
+
chunks?: RegExp | "initial" | "async" | "all" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
|
1548
1563
|
name?: string | false | ((args_0: Module | undefined, ...args: unknown[]) => unknown) | undefined;
|
|
1549
|
-
|
|
1550
|
-
chunks?: RegExp | "all" | "async" | "initial" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
|
1564
|
+
filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
1551
1565
|
usedExports?: boolean | undefined;
|
|
1552
1566
|
defaultSizeTypes?: string[] | undefined;
|
|
1553
1567
|
maxSize?: number | Record<string, number> | undefined;
|
|
1554
|
-
|
|
1568
|
+
priority?: number | undefined;
|
|
1555
1569
|
minSize?: number | Record<string, number> | undefined;
|
|
1556
1570
|
maxAsyncSize?: number | Record<string, number> | undefined;
|
|
1557
1571
|
maxInitialSize?: number | Record<string, number> | undefined;
|
|
1572
|
+
minChunks?: number | undefined;
|
|
1558
1573
|
maxAsyncRequests?: number | undefined;
|
|
1559
1574
|
maxInitialRequests?: number | undefined;
|
|
1560
1575
|
automaticNameDelimiter?: string | undefined;
|
|
1561
1576
|
test?: string | RegExp | ((args_0: Module, ...args: unknown[]) => unknown) | undefined;
|
|
1562
|
-
idHint?: string | undefined;
|
|
1563
|
-
reuseExistingChunk?: boolean | undefined;
|
|
1564
1577
|
enforce?: boolean | undefined;
|
|
1578
|
+
reuseExistingChunk?: boolean | undefined;
|
|
1579
|
+
idHint?: string | undefined;
|
|
1565
1580
|
}, {
|
|
1566
1581
|
type?: string | RegExp | undefined;
|
|
1567
|
-
|
|
1582
|
+
chunks?: RegExp | "initial" | "async" | "all" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
|
1568
1583
|
name?: string | false | ((args_0: Module | undefined, ...args: unknown[]) => unknown) | undefined;
|
|
1569
|
-
|
|
1570
|
-
chunks?: RegExp | "all" | "async" | "initial" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
|
1584
|
+
filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
1571
1585
|
usedExports?: boolean | undefined;
|
|
1572
1586
|
defaultSizeTypes?: string[] | undefined;
|
|
1573
1587
|
maxSize?: number | Record<string, number> | undefined;
|
|
1574
|
-
|
|
1588
|
+
priority?: number | undefined;
|
|
1575
1589
|
minSize?: number | Record<string, number> | undefined;
|
|
1576
1590
|
maxAsyncSize?: number | Record<string, number> | undefined;
|
|
1577
1591
|
maxInitialSize?: number | Record<string, number> | undefined;
|
|
1592
|
+
minChunks?: number | undefined;
|
|
1578
1593
|
maxAsyncRequests?: number | undefined;
|
|
1579
1594
|
maxInitialRequests?: number | undefined;
|
|
1580
1595
|
automaticNameDelimiter?: string | undefined;
|
|
1581
1596
|
test?: string | RegExp | ((args_0: Module, ...args: unknown[]) => unknown) | undefined;
|
|
1582
|
-
idHint?: string | undefined;
|
|
1583
|
-
reuseExistingChunk?: boolean | undefined;
|
|
1584
1597
|
enforce?: boolean | undefined;
|
|
1598
|
+
reuseExistingChunk?: boolean | undefined;
|
|
1599
|
+
idHint?: string | undefined;
|
|
1585
1600
|
}>]>>>;
|
|
1586
1601
|
fallbackCacheGroup: z.ZodOptional<z.ZodObject<{
|
|
1587
1602
|
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>]>>;
|
|
@@ -1591,14 +1606,14 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
1591
1606
|
maxInitialSize: z.ZodOptional<z.ZodNumber>;
|
|
1592
1607
|
automaticNameDelimiter: z.ZodOptional<z.ZodString>;
|
|
1593
1608
|
}, "strict", z.ZodTypeAny, {
|
|
1594
|
-
chunks?: RegExp | "
|
|
1609
|
+
chunks?: RegExp | "initial" | "async" | "all" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
|
1595
1610
|
maxSize?: number | undefined;
|
|
1596
1611
|
minSize?: number | undefined;
|
|
1597
1612
|
maxAsyncSize?: number | undefined;
|
|
1598
1613
|
maxInitialSize?: number | undefined;
|
|
1599
1614
|
automaticNameDelimiter?: string | undefined;
|
|
1600
1615
|
}, {
|
|
1601
|
-
chunks?: RegExp | "
|
|
1616
|
+
chunks?: RegExp | "initial" | "async" | "all" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
|
1602
1617
|
maxSize?: number | undefined;
|
|
1603
1618
|
minSize?: number | undefined;
|
|
1604
1619
|
maxAsyncSize?: number | undefined;
|
|
@@ -1607,88 +1622,88 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
1607
1622
|
}>>;
|
|
1608
1623
|
hidePathInfo: z.ZodOptional<z.ZodBoolean>;
|
|
1609
1624
|
}, "strict", z.ZodTypeAny, {
|
|
1625
|
+
chunks?: RegExp | "initial" | "async" | "all" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
|
1610
1626
|
name?: string | false | ((args_0: Module | undefined, ...args: unknown[]) => unknown) | undefined;
|
|
1611
|
-
chunks?: RegExp | "all" | "async" | "initial" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
|
1612
1627
|
usedExports?: boolean | undefined;
|
|
1613
1628
|
defaultSizeTypes?: string[] | undefined;
|
|
1614
1629
|
cacheGroups?: Record<string, false | {
|
|
1615
1630
|
type?: string | RegExp | undefined;
|
|
1616
|
-
|
|
1631
|
+
chunks?: RegExp | "initial" | "async" | "all" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
|
1617
1632
|
name?: string | false | ((args_0: Module | undefined, ...args: unknown[]) => unknown) | undefined;
|
|
1618
|
-
|
|
1619
|
-
chunks?: RegExp | "all" | "async" | "initial" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
|
1633
|
+
filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
1620
1634
|
usedExports?: boolean | undefined;
|
|
1621
1635
|
defaultSizeTypes?: string[] | undefined;
|
|
1622
1636
|
maxSize?: number | Record<string, number> | undefined;
|
|
1623
|
-
|
|
1637
|
+
priority?: number | undefined;
|
|
1624
1638
|
minSize?: number | Record<string, number> | undefined;
|
|
1625
1639
|
maxAsyncSize?: number | Record<string, number> | undefined;
|
|
1626
1640
|
maxInitialSize?: number | Record<string, number> | undefined;
|
|
1641
|
+
minChunks?: number | undefined;
|
|
1627
1642
|
maxAsyncRequests?: number | undefined;
|
|
1628
1643
|
maxInitialRequests?: number | undefined;
|
|
1629
1644
|
automaticNameDelimiter?: string | undefined;
|
|
1630
1645
|
test?: string | RegExp | ((args_0: Module, ...args: unknown[]) => unknown) | undefined;
|
|
1631
|
-
idHint?: string | undefined;
|
|
1632
|
-
reuseExistingChunk?: boolean | undefined;
|
|
1633
1646
|
enforce?: boolean | undefined;
|
|
1647
|
+
reuseExistingChunk?: boolean | undefined;
|
|
1648
|
+
idHint?: string | undefined;
|
|
1634
1649
|
}> | undefined;
|
|
1635
1650
|
maxSize?: number | Record<string, number> | undefined;
|
|
1636
1651
|
fallbackCacheGroup?: {
|
|
1637
|
-
chunks?: RegExp | "
|
|
1652
|
+
chunks?: RegExp | "initial" | "async" | "all" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
|
1638
1653
|
maxSize?: number | undefined;
|
|
1639
1654
|
minSize?: number | undefined;
|
|
1640
1655
|
maxAsyncSize?: number | undefined;
|
|
1641
1656
|
maxInitialSize?: number | undefined;
|
|
1642
1657
|
automaticNameDelimiter?: string | undefined;
|
|
1643
1658
|
} | undefined;
|
|
1644
|
-
hidePathInfo?: boolean | undefined;
|
|
1645
|
-
minChunks?: number | undefined;
|
|
1646
1659
|
minSize?: number | Record<string, number> | undefined;
|
|
1647
1660
|
maxAsyncSize?: number | Record<string, number> | undefined;
|
|
1648
1661
|
maxInitialSize?: number | Record<string, number> | undefined;
|
|
1662
|
+
hidePathInfo?: boolean | undefined;
|
|
1663
|
+
minChunks?: number | undefined;
|
|
1649
1664
|
maxAsyncRequests?: number | undefined;
|
|
1650
1665
|
maxInitialRequests?: number | undefined;
|
|
1651
1666
|
automaticNameDelimiter?: string | undefined;
|
|
1652
1667
|
}, {
|
|
1668
|
+
chunks?: RegExp | "initial" | "async" | "all" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
|
1653
1669
|
name?: string | false | ((args_0: Module | undefined, ...args: unknown[]) => unknown) | undefined;
|
|
1654
|
-
chunks?: RegExp | "all" | "async" | "initial" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
|
1655
1670
|
usedExports?: boolean | undefined;
|
|
1656
1671
|
defaultSizeTypes?: string[] | undefined;
|
|
1657
1672
|
cacheGroups?: Record<string, false | {
|
|
1658
1673
|
type?: string | RegExp | undefined;
|
|
1659
|
-
|
|
1674
|
+
chunks?: RegExp | "initial" | "async" | "all" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
|
1660
1675
|
name?: string | false | ((args_0: Module | undefined, ...args: unknown[]) => unknown) | undefined;
|
|
1661
|
-
|
|
1662
|
-
chunks?: RegExp | "all" | "async" | "initial" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
|
1676
|
+
filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
1663
1677
|
usedExports?: boolean | undefined;
|
|
1664
1678
|
defaultSizeTypes?: string[] | undefined;
|
|
1665
1679
|
maxSize?: number | Record<string, number> | undefined;
|
|
1666
|
-
|
|
1680
|
+
priority?: number | undefined;
|
|
1667
1681
|
minSize?: number | Record<string, number> | undefined;
|
|
1668
1682
|
maxAsyncSize?: number | Record<string, number> | undefined;
|
|
1669
1683
|
maxInitialSize?: number | Record<string, number> | undefined;
|
|
1684
|
+
minChunks?: number | undefined;
|
|
1670
1685
|
maxAsyncRequests?: number | undefined;
|
|
1671
1686
|
maxInitialRequests?: number | undefined;
|
|
1672
1687
|
automaticNameDelimiter?: string | undefined;
|
|
1673
1688
|
test?: string | RegExp | ((args_0: Module, ...args: unknown[]) => unknown) | undefined;
|
|
1674
|
-
idHint?: string | undefined;
|
|
1675
|
-
reuseExistingChunk?: boolean | undefined;
|
|
1676
1689
|
enforce?: boolean | undefined;
|
|
1690
|
+
reuseExistingChunk?: boolean | undefined;
|
|
1691
|
+
idHint?: string | undefined;
|
|
1677
1692
|
}> | undefined;
|
|
1678
1693
|
maxSize?: number | Record<string, number> | undefined;
|
|
1679
1694
|
fallbackCacheGroup?: {
|
|
1680
|
-
chunks?: RegExp | "
|
|
1695
|
+
chunks?: RegExp | "initial" | "async" | "all" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
|
1681
1696
|
maxSize?: number | undefined;
|
|
1682
1697
|
minSize?: number | undefined;
|
|
1683
1698
|
maxAsyncSize?: number | undefined;
|
|
1684
1699
|
maxInitialSize?: number | undefined;
|
|
1685
1700
|
automaticNameDelimiter?: string | undefined;
|
|
1686
1701
|
} | undefined;
|
|
1687
|
-
hidePathInfo?: boolean | undefined;
|
|
1688
|
-
minChunks?: number | undefined;
|
|
1689
1702
|
minSize?: number | Record<string, number> | undefined;
|
|
1690
1703
|
maxAsyncSize?: number | Record<string, number> | undefined;
|
|
1691
1704
|
maxInitialSize?: number | Record<string, number> | undefined;
|
|
1705
|
+
hidePathInfo?: boolean | undefined;
|
|
1706
|
+
minChunks?: number | undefined;
|
|
1692
1707
|
maxAsyncRequests?: number | undefined;
|
|
1693
1708
|
maxInitialRequests?: number | undefined;
|
|
1694
1709
|
automaticNameDelimiter?: string | undefined;
|
|
@@ -1721,138 +1736,141 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
1721
1736
|
mangleExports: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["size", "deterministic"]>, z.ZodBoolean]>>;
|
|
1722
1737
|
nodeEnv: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<false>]>>;
|
|
1723
1738
|
emitOnErrors: z.ZodOptional<z.ZodBoolean>;
|
|
1739
|
+
avoidEntryIife: z.ZodOptional<z.ZodBoolean>;
|
|
1724
1740
|
}, "strict", z.ZodTypeAny, {
|
|
1741
|
+
usedExports?: boolean | "global" | undefined;
|
|
1742
|
+
providedExports?: boolean | undefined;
|
|
1743
|
+
sideEffects?: boolean | "flag" | undefined;
|
|
1744
|
+
moduleIds?: "named" | "natural" | "deterministic" | undefined;
|
|
1745
|
+
chunkIds?: "size" | "named" | "natural" | "deterministic" | "total-size" | undefined;
|
|
1746
|
+
minimize?: boolean | undefined;
|
|
1747
|
+
minimizer?: (false | "" | 0 | "..." | t.RspackPluginInstance | t.WebpackPluginInstance | t.RspackPluginFunction | t.WebpackPluginFunction | null | undefined)[] | undefined;
|
|
1748
|
+
mergeDuplicateChunks?: boolean | undefined;
|
|
1725
1749
|
splitChunks?: false | {
|
|
1750
|
+
chunks?: RegExp | "initial" | "async" | "all" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
|
1726
1751
|
name?: string | false | ((args_0: Module | undefined, ...args: unknown[]) => unknown) | undefined;
|
|
1727
|
-
chunks?: RegExp | "all" | "async" | "initial" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
|
1728
1752
|
usedExports?: boolean | undefined;
|
|
1729
1753
|
defaultSizeTypes?: string[] | undefined;
|
|
1730
1754
|
cacheGroups?: Record<string, false | {
|
|
1731
1755
|
type?: string | RegExp | undefined;
|
|
1732
|
-
|
|
1756
|
+
chunks?: RegExp | "initial" | "async" | "all" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
|
1733
1757
|
name?: string | false | ((args_0: Module | undefined, ...args: unknown[]) => unknown) | undefined;
|
|
1734
|
-
|
|
1735
|
-
chunks?: RegExp | "all" | "async" | "initial" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
|
1758
|
+
filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
1736
1759
|
usedExports?: boolean | undefined;
|
|
1737
1760
|
defaultSizeTypes?: string[] | undefined;
|
|
1738
1761
|
maxSize?: number | Record<string, number> | undefined;
|
|
1739
|
-
|
|
1762
|
+
priority?: number | undefined;
|
|
1740
1763
|
minSize?: number | Record<string, number> | undefined;
|
|
1741
1764
|
maxAsyncSize?: number | Record<string, number> | undefined;
|
|
1742
1765
|
maxInitialSize?: number | Record<string, number> | undefined;
|
|
1766
|
+
minChunks?: number | undefined;
|
|
1743
1767
|
maxAsyncRequests?: number | undefined;
|
|
1744
1768
|
maxInitialRequests?: number | undefined;
|
|
1745
1769
|
automaticNameDelimiter?: string | undefined;
|
|
1746
1770
|
test?: string | RegExp | ((args_0: Module, ...args: unknown[]) => unknown) | undefined;
|
|
1747
|
-
idHint?: string | undefined;
|
|
1748
|
-
reuseExistingChunk?: boolean | undefined;
|
|
1749
1771
|
enforce?: boolean | undefined;
|
|
1772
|
+
reuseExistingChunk?: boolean | undefined;
|
|
1773
|
+
idHint?: string | undefined;
|
|
1750
1774
|
}> | undefined;
|
|
1751
1775
|
maxSize?: number | Record<string, number> | undefined;
|
|
1752
1776
|
fallbackCacheGroup?: {
|
|
1753
|
-
chunks?: RegExp | "
|
|
1777
|
+
chunks?: RegExp | "initial" | "async" | "all" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
|
1754
1778
|
maxSize?: number | undefined;
|
|
1755
1779
|
minSize?: number | undefined;
|
|
1756
1780
|
maxAsyncSize?: number | undefined;
|
|
1757
1781
|
maxInitialSize?: number | undefined;
|
|
1758
1782
|
automaticNameDelimiter?: string | undefined;
|
|
1759
1783
|
} | undefined;
|
|
1760
|
-
hidePathInfo?: boolean | undefined;
|
|
1761
|
-
minChunks?: number | undefined;
|
|
1762
1784
|
minSize?: number | Record<string, number> | undefined;
|
|
1763
1785
|
maxAsyncSize?: number | Record<string, number> | undefined;
|
|
1764
1786
|
maxInitialSize?: number | Record<string, number> | undefined;
|
|
1787
|
+
hidePathInfo?: boolean | undefined;
|
|
1788
|
+
minChunks?: number | undefined;
|
|
1765
1789
|
maxAsyncRequests?: number | undefined;
|
|
1766
1790
|
maxInitialRequests?: number | undefined;
|
|
1767
1791
|
automaticNameDelimiter?: string | undefined;
|
|
1768
1792
|
} | undefined;
|
|
1769
|
-
usedExports?: boolean | "global" | undefined;
|
|
1770
|
-
providedExports?: boolean | undefined;
|
|
1771
|
-
moduleIds?: "named" | "natural" | "deterministic" | undefined;
|
|
1772
|
-
chunkIds?: "named" | "natural" | "deterministic" | undefined;
|
|
1773
|
-
removeAvailableModules?: boolean | undefined;
|
|
1774
|
-
minimize?: boolean | undefined;
|
|
1775
|
-
minimizer?: (false | "" | 0 | t.RspackPluginInstance | "..." | t.WebpackPluginInstance | t.RspackPluginFunction | t.WebpackPluginFunction | null | undefined)[] | undefined;
|
|
1776
|
-
mergeDuplicateChunks?: boolean | undefined;
|
|
1777
1793
|
runtimeChunk?: boolean | "single" | "multiple" | {
|
|
1778
1794
|
name?: string | ((args_0: {
|
|
1779
1795
|
name: string;
|
|
1780
1796
|
}, ...args: unknown[]) => string) | undefined;
|
|
1781
1797
|
} | undefined;
|
|
1798
|
+
removeAvailableModules?: boolean | undefined;
|
|
1782
1799
|
removeEmptyChunks?: boolean | undefined;
|
|
1783
1800
|
realContentHash?: boolean | undefined;
|
|
1784
|
-
sideEffects?: boolean | "flag" | undefined;
|
|
1785
1801
|
concatenateModules?: boolean | undefined;
|
|
1786
1802
|
innerGraph?: boolean | undefined;
|
|
1787
1803
|
mangleExports?: boolean | "size" | "deterministic" | undefined;
|
|
1788
1804
|
nodeEnv?: string | false | undefined;
|
|
1789
1805
|
emitOnErrors?: boolean | undefined;
|
|
1806
|
+
avoidEntryIife?: boolean | undefined;
|
|
1790
1807
|
}, {
|
|
1808
|
+
usedExports?: boolean | "global" | undefined;
|
|
1809
|
+
providedExports?: boolean | undefined;
|
|
1810
|
+
sideEffects?: boolean | "flag" | undefined;
|
|
1811
|
+
moduleIds?: "named" | "natural" | "deterministic" | undefined;
|
|
1812
|
+
chunkIds?: "size" | "named" | "natural" | "deterministic" | "total-size" | undefined;
|
|
1813
|
+
minimize?: boolean | undefined;
|
|
1814
|
+
minimizer?: (false | "" | 0 | "..." | t.RspackPluginInstance | t.WebpackPluginInstance | t.RspackPluginFunction | t.WebpackPluginFunction | null | undefined)[] | undefined;
|
|
1815
|
+
mergeDuplicateChunks?: boolean | undefined;
|
|
1791
1816
|
splitChunks?: false | {
|
|
1817
|
+
chunks?: RegExp | "initial" | "async" | "all" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
|
1792
1818
|
name?: string | false | ((args_0: Module | undefined, ...args: unknown[]) => unknown) | undefined;
|
|
1793
|
-
chunks?: RegExp | "all" | "async" | "initial" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
|
1794
1819
|
usedExports?: boolean | undefined;
|
|
1795
1820
|
defaultSizeTypes?: string[] | undefined;
|
|
1796
1821
|
cacheGroups?: Record<string, false | {
|
|
1797
1822
|
type?: string | RegExp | undefined;
|
|
1798
|
-
|
|
1823
|
+
chunks?: RegExp | "initial" | "async" | "all" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
|
1799
1824
|
name?: string | false | ((args_0: Module | undefined, ...args: unknown[]) => unknown) | undefined;
|
|
1800
|
-
|
|
1801
|
-
chunks?: RegExp | "all" | "async" | "initial" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
|
1825
|
+
filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
1802
1826
|
usedExports?: boolean | undefined;
|
|
1803
1827
|
defaultSizeTypes?: string[] | undefined;
|
|
1804
1828
|
maxSize?: number | Record<string, number> | undefined;
|
|
1805
|
-
|
|
1829
|
+
priority?: number | undefined;
|
|
1806
1830
|
minSize?: number | Record<string, number> | undefined;
|
|
1807
1831
|
maxAsyncSize?: number | Record<string, number> | undefined;
|
|
1808
1832
|
maxInitialSize?: number | Record<string, number> | undefined;
|
|
1833
|
+
minChunks?: number | undefined;
|
|
1809
1834
|
maxAsyncRequests?: number | undefined;
|
|
1810
1835
|
maxInitialRequests?: number | undefined;
|
|
1811
1836
|
automaticNameDelimiter?: string | undefined;
|
|
1812
1837
|
test?: string | RegExp | ((args_0: Module, ...args: unknown[]) => unknown) | undefined;
|
|
1813
|
-
idHint?: string | undefined;
|
|
1814
|
-
reuseExistingChunk?: boolean | undefined;
|
|
1815
1838
|
enforce?: boolean | undefined;
|
|
1839
|
+
reuseExistingChunk?: boolean | undefined;
|
|
1840
|
+
idHint?: string | undefined;
|
|
1816
1841
|
}> | undefined;
|
|
1817
1842
|
maxSize?: number | Record<string, number> | undefined;
|
|
1818
1843
|
fallbackCacheGroup?: {
|
|
1819
|
-
chunks?: RegExp | "
|
|
1844
|
+
chunks?: RegExp | "initial" | "async" | "all" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
|
1820
1845
|
maxSize?: number | undefined;
|
|
1821
1846
|
minSize?: number | undefined;
|
|
1822
1847
|
maxAsyncSize?: number | undefined;
|
|
1823
1848
|
maxInitialSize?: number | undefined;
|
|
1824
1849
|
automaticNameDelimiter?: string | undefined;
|
|
1825
1850
|
} | undefined;
|
|
1826
|
-
hidePathInfo?: boolean | undefined;
|
|
1827
|
-
minChunks?: number | undefined;
|
|
1828
1851
|
minSize?: number | Record<string, number> | undefined;
|
|
1829
1852
|
maxAsyncSize?: number | Record<string, number> | undefined;
|
|
1830
1853
|
maxInitialSize?: number | Record<string, number> | undefined;
|
|
1854
|
+
hidePathInfo?: boolean | undefined;
|
|
1855
|
+
minChunks?: number | undefined;
|
|
1831
1856
|
maxAsyncRequests?: number | undefined;
|
|
1832
1857
|
maxInitialRequests?: number | undefined;
|
|
1833
1858
|
automaticNameDelimiter?: string | undefined;
|
|
1834
1859
|
} | undefined;
|
|
1835
|
-
usedExports?: boolean | "global" | undefined;
|
|
1836
|
-
providedExports?: boolean | undefined;
|
|
1837
|
-
moduleIds?: "named" | "natural" | "deterministic" | undefined;
|
|
1838
|
-
chunkIds?: "named" | "natural" | "deterministic" | undefined;
|
|
1839
|
-
removeAvailableModules?: boolean | undefined;
|
|
1840
|
-
minimize?: boolean | undefined;
|
|
1841
|
-
minimizer?: (false | "" | 0 | t.RspackPluginInstance | "..." | t.WebpackPluginInstance | t.RspackPluginFunction | t.WebpackPluginFunction | null | undefined)[] | undefined;
|
|
1842
|
-
mergeDuplicateChunks?: boolean | undefined;
|
|
1843
1860
|
runtimeChunk?: boolean | "single" | "multiple" | {
|
|
1844
1861
|
name?: string | ((args_0: {
|
|
1845
1862
|
name: string;
|
|
1846
1863
|
}, ...args: unknown[]) => string) | undefined;
|
|
1847
1864
|
} | undefined;
|
|
1865
|
+
removeAvailableModules?: boolean | undefined;
|
|
1848
1866
|
removeEmptyChunks?: boolean | undefined;
|
|
1849
1867
|
realContentHash?: boolean | undefined;
|
|
1850
|
-
sideEffects?: boolean | "flag" | undefined;
|
|
1851
1868
|
concatenateModules?: boolean | undefined;
|
|
1852
1869
|
innerGraph?: boolean | undefined;
|
|
1853
1870
|
mangleExports?: boolean | "size" | "deterministic" | undefined;
|
|
1854
1871
|
nodeEnv?: string | false | undefined;
|
|
1855
1872
|
emitOnErrors?: boolean | undefined;
|
|
1873
|
+
avoidEntryIife?: boolean | undefined;
|
|
1856
1874
|
}>>;
|
|
1857
1875
|
resolve: z.ZodOptional<z.ZodType<t.ResolveOptions, z.ZodTypeDef, t.ResolveOptions>>;
|
|
1858
1876
|
resolveLoader: z.ZodOptional<z.ZodType<t.ResolveOptions, z.ZodTypeDef, t.ResolveOptions>>;
|
|
@@ -1930,9 +1948,9 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
1930
1948
|
exprContextCritical?: boolean | undefined;
|
|
1931
1949
|
wrappedContextCritical?: boolean | undefined;
|
|
1932
1950
|
wrappedContextRegExp?: RegExp | undefined;
|
|
1933
|
-
exportsPresence?: false | "
|
|
1934
|
-
importExportsPresence?: false | "
|
|
1935
|
-
reexportExportsPresence?: false | "
|
|
1951
|
+
exportsPresence?: false | "error" | "warn" | "auto" | undefined;
|
|
1952
|
+
importExportsPresence?: false | "error" | "warn" | "auto" | undefined;
|
|
1953
|
+
reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined;
|
|
1936
1954
|
strictExportPresence?: boolean | undefined;
|
|
1937
1955
|
worker?: boolean | string[] | undefined;
|
|
1938
1956
|
overrideStrict?: "strict" | "non-strict" | undefined;
|
|
@@ -1950,9 +1968,9 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
1950
1968
|
exprContextCritical?: boolean | undefined;
|
|
1951
1969
|
wrappedContextCritical?: boolean | undefined;
|
|
1952
1970
|
wrappedContextRegExp?: RegExp | undefined;
|
|
1953
|
-
exportsPresence?: false | "
|
|
1954
|
-
importExportsPresence?: false | "
|
|
1955
|
-
reexportExportsPresence?: false | "
|
|
1971
|
+
exportsPresence?: false | "error" | "warn" | "auto" | undefined;
|
|
1972
|
+
importExportsPresence?: false | "error" | "warn" | "auto" | undefined;
|
|
1973
|
+
reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined;
|
|
1956
1974
|
strictExportPresence?: boolean | undefined;
|
|
1957
1975
|
worker?: boolean | string[] | undefined;
|
|
1958
1976
|
overrideStrict?: "strict" | "non-strict" | undefined;
|
|
@@ -1991,9 +2009,9 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
1991
2009
|
exprContextCritical?: boolean | undefined;
|
|
1992
2010
|
wrappedContextCritical?: boolean | undefined;
|
|
1993
2011
|
wrappedContextRegExp?: RegExp | undefined;
|
|
1994
|
-
exportsPresence?: false | "
|
|
1995
|
-
importExportsPresence?: false | "
|
|
1996
|
-
reexportExportsPresence?: false | "
|
|
2012
|
+
exportsPresence?: false | "error" | "warn" | "auto" | undefined;
|
|
2013
|
+
importExportsPresence?: false | "error" | "warn" | "auto" | undefined;
|
|
2014
|
+
reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined;
|
|
1997
2015
|
strictExportPresence?: boolean | undefined;
|
|
1998
2016
|
worker?: boolean | string[] | undefined;
|
|
1999
2017
|
overrideStrict?: "strict" | "non-strict" | undefined;
|
|
@@ -2011,9 +2029,9 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2011
2029
|
exprContextCritical?: boolean | undefined;
|
|
2012
2030
|
wrappedContextCritical?: boolean | undefined;
|
|
2013
2031
|
wrappedContextRegExp?: RegExp | undefined;
|
|
2014
|
-
exportsPresence?: false | "
|
|
2015
|
-
importExportsPresence?: false | "
|
|
2016
|
-
reexportExportsPresence?: false | "
|
|
2032
|
+
exportsPresence?: false | "error" | "warn" | "auto" | undefined;
|
|
2033
|
+
importExportsPresence?: false | "error" | "warn" | "auto" | undefined;
|
|
2034
|
+
reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined;
|
|
2017
2035
|
strictExportPresence?: boolean | undefined;
|
|
2018
2036
|
worker?: boolean | string[] | undefined;
|
|
2019
2037
|
overrideStrict?: "strict" | "non-strict" | undefined;
|
|
@@ -2052,9 +2070,9 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2052
2070
|
exprContextCritical?: boolean | undefined;
|
|
2053
2071
|
wrappedContextCritical?: boolean | undefined;
|
|
2054
2072
|
wrappedContextRegExp?: RegExp | undefined;
|
|
2055
|
-
exportsPresence?: false | "
|
|
2056
|
-
importExportsPresence?: false | "
|
|
2057
|
-
reexportExportsPresence?: false | "
|
|
2073
|
+
exportsPresence?: false | "error" | "warn" | "auto" | undefined;
|
|
2074
|
+
importExportsPresence?: false | "error" | "warn" | "auto" | undefined;
|
|
2075
|
+
reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined;
|
|
2058
2076
|
strictExportPresence?: boolean | undefined;
|
|
2059
2077
|
worker?: boolean | string[] | undefined;
|
|
2060
2078
|
overrideStrict?: "strict" | "non-strict" | undefined;
|
|
@@ -2072,9 +2090,9 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2072
2090
|
exprContextCritical?: boolean | undefined;
|
|
2073
2091
|
wrappedContextCritical?: boolean | undefined;
|
|
2074
2092
|
wrappedContextRegExp?: RegExp | undefined;
|
|
2075
|
-
exportsPresence?: false | "
|
|
2076
|
-
importExportsPresence?: false | "
|
|
2077
|
-
reexportExportsPresence?: false | "
|
|
2093
|
+
exportsPresence?: false | "error" | "warn" | "auto" | undefined;
|
|
2094
|
+
importExportsPresence?: false | "error" | "warn" | "auto" | undefined;
|
|
2095
|
+
reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined;
|
|
2078
2096
|
strictExportPresence?: boolean | undefined;
|
|
2079
2097
|
worker?: boolean | string[] | undefined;
|
|
2080
2098
|
overrideStrict?: "strict" | "non-strict" | undefined;
|
|
@@ -2113,9 +2131,9 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2113
2131
|
exprContextCritical?: boolean | undefined;
|
|
2114
2132
|
wrappedContextCritical?: boolean | undefined;
|
|
2115
2133
|
wrappedContextRegExp?: RegExp | undefined;
|
|
2116
|
-
exportsPresence?: false | "
|
|
2117
|
-
importExportsPresence?: false | "
|
|
2118
|
-
reexportExportsPresence?: false | "
|
|
2134
|
+
exportsPresence?: false | "error" | "warn" | "auto" | undefined;
|
|
2135
|
+
importExportsPresence?: false | "error" | "warn" | "auto" | undefined;
|
|
2136
|
+
reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined;
|
|
2119
2137
|
strictExportPresence?: boolean | undefined;
|
|
2120
2138
|
worker?: boolean | string[] | undefined;
|
|
2121
2139
|
overrideStrict?: "strict" | "non-strict" | undefined;
|
|
@@ -2133,9 +2151,9 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2133
2151
|
exprContextCritical?: boolean | undefined;
|
|
2134
2152
|
wrappedContextCritical?: boolean | undefined;
|
|
2135
2153
|
wrappedContextRegExp?: RegExp | undefined;
|
|
2136
|
-
exportsPresence?: false | "
|
|
2137
|
-
importExportsPresence?: false | "
|
|
2138
|
-
reexportExportsPresence?: false | "
|
|
2154
|
+
exportsPresence?: false | "error" | "warn" | "auto" | undefined;
|
|
2155
|
+
importExportsPresence?: false | "error" | "warn" | "auto" | undefined;
|
|
2156
|
+
reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined;
|
|
2139
2157
|
strictExportPresence?: boolean | undefined;
|
|
2140
2158
|
worker?: boolean | string[] | undefined;
|
|
2141
2159
|
overrideStrict?: "strict" | "non-strict" | undefined;
|
|
@@ -2145,42 +2163,21 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2145
2163
|
importDynamic?: boolean | undefined;
|
|
2146
2164
|
}>>;
|
|
2147
2165
|
}, "strict", z.ZodTypeAny, {
|
|
2148
|
-
javascript?: {
|
|
2149
|
-
dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined;
|
|
2150
|
-
dynamicImportPreload?: number | boolean | undefined;
|
|
2151
|
-
dynamicImportPrefetch?: number | boolean | undefined;
|
|
2152
|
-
dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined;
|
|
2153
|
-
importMeta?: boolean | undefined;
|
|
2154
|
-
url?: boolean | "relative" | undefined;
|
|
2155
|
-
exprContextCritical?: boolean | undefined;
|
|
2156
|
-
wrappedContextCritical?: boolean | undefined;
|
|
2157
|
-
wrappedContextRegExp?: RegExp | undefined;
|
|
2158
|
-
exportsPresence?: false | "auto" | "error" | "warn" | undefined;
|
|
2159
|
-
importExportsPresence?: false | "auto" | "error" | "warn" | undefined;
|
|
2160
|
-
reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined;
|
|
2161
|
-
strictExportPresence?: boolean | undefined;
|
|
2162
|
-
worker?: boolean | string[] | undefined;
|
|
2163
|
-
overrideStrict?: "strict" | "non-strict" | undefined;
|
|
2164
|
-
requireAsExpression?: boolean | undefined;
|
|
2165
|
-
requireDynamic?: boolean | undefined;
|
|
2166
|
-
requireResolve?: boolean | undefined;
|
|
2167
|
-
importDynamic?: boolean | undefined;
|
|
2168
|
-
} | undefined;
|
|
2169
2166
|
css?: {
|
|
2170
2167
|
namedExports?: boolean | undefined;
|
|
2171
2168
|
} | undefined;
|
|
2169
|
+
asset?: {
|
|
2170
|
+
dataUrlCondition?: {
|
|
2171
|
+
maxSize?: number | undefined;
|
|
2172
|
+
} | undefined;
|
|
2173
|
+
} | undefined;
|
|
2172
2174
|
"css/auto"?: {
|
|
2173
2175
|
namedExports?: boolean | undefined;
|
|
2174
2176
|
} | undefined;
|
|
2175
2177
|
"css/module"?: {
|
|
2176
2178
|
namedExports?: boolean | undefined;
|
|
2177
2179
|
} | undefined;
|
|
2178
|
-
|
|
2179
|
-
dataUrlCondition?: {
|
|
2180
|
-
maxSize?: number | undefined;
|
|
2181
|
-
} | undefined;
|
|
2182
|
-
} | undefined;
|
|
2183
|
-
"javascript/auto"?: {
|
|
2180
|
+
javascript?: {
|
|
2184
2181
|
dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined;
|
|
2185
2182
|
dynamicImportPreload?: number | boolean | undefined;
|
|
2186
2183
|
dynamicImportPrefetch?: number | boolean | undefined;
|
|
@@ -2190,9 +2187,9 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2190
2187
|
exprContextCritical?: boolean | undefined;
|
|
2191
2188
|
wrappedContextCritical?: boolean | undefined;
|
|
2192
2189
|
wrappedContextRegExp?: RegExp | undefined;
|
|
2193
|
-
exportsPresence?: false | "
|
|
2194
|
-
importExportsPresence?: false | "
|
|
2195
|
-
reexportExportsPresence?: false | "
|
|
2190
|
+
exportsPresence?: false | "error" | "warn" | "auto" | undefined;
|
|
2191
|
+
importExportsPresence?: false | "error" | "warn" | "auto" | undefined;
|
|
2192
|
+
reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined;
|
|
2196
2193
|
strictExportPresence?: boolean | undefined;
|
|
2197
2194
|
worker?: boolean | string[] | undefined;
|
|
2198
2195
|
overrideStrict?: "strict" | "non-strict" | undefined;
|
|
@@ -2201,7 +2198,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2201
2198
|
requireResolve?: boolean | undefined;
|
|
2202
2199
|
importDynamic?: boolean | undefined;
|
|
2203
2200
|
} | undefined;
|
|
2204
|
-
"javascript/
|
|
2201
|
+
"javascript/auto"?: {
|
|
2205
2202
|
dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined;
|
|
2206
2203
|
dynamicImportPreload?: number | boolean | undefined;
|
|
2207
2204
|
dynamicImportPrefetch?: number | boolean | undefined;
|
|
@@ -2211,9 +2208,9 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2211
2208
|
exprContextCritical?: boolean | undefined;
|
|
2212
2209
|
wrappedContextCritical?: boolean | undefined;
|
|
2213
2210
|
wrappedContextRegExp?: RegExp | undefined;
|
|
2214
|
-
exportsPresence?: false | "
|
|
2215
|
-
importExportsPresence?: false | "
|
|
2216
|
-
reexportExportsPresence?: false | "
|
|
2211
|
+
exportsPresence?: false | "error" | "warn" | "auto" | undefined;
|
|
2212
|
+
importExportsPresence?: false | "error" | "warn" | "auto" | undefined;
|
|
2213
|
+
reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined;
|
|
2217
2214
|
strictExportPresence?: boolean | undefined;
|
|
2218
2215
|
worker?: boolean | string[] | undefined;
|
|
2219
2216
|
overrideStrict?: "strict" | "non-strict" | undefined;
|
|
@@ -2222,7 +2219,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2222
2219
|
requireResolve?: boolean | undefined;
|
|
2223
2220
|
importDynamic?: boolean | undefined;
|
|
2224
2221
|
} | undefined;
|
|
2225
|
-
"javascript/
|
|
2222
|
+
"javascript/dynamic"?: {
|
|
2226
2223
|
dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined;
|
|
2227
2224
|
dynamicImportPreload?: number | boolean | undefined;
|
|
2228
2225
|
dynamicImportPrefetch?: number | boolean | undefined;
|
|
@@ -2232,9 +2229,9 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2232
2229
|
exprContextCritical?: boolean | undefined;
|
|
2233
2230
|
wrappedContextCritical?: boolean | undefined;
|
|
2234
2231
|
wrappedContextRegExp?: RegExp | undefined;
|
|
2235
|
-
exportsPresence?: false | "
|
|
2236
|
-
importExportsPresence?: false | "
|
|
2237
|
-
reexportExportsPresence?: false | "
|
|
2232
|
+
exportsPresence?: false | "error" | "warn" | "auto" | undefined;
|
|
2233
|
+
importExportsPresence?: false | "error" | "warn" | "auto" | undefined;
|
|
2234
|
+
reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined;
|
|
2238
2235
|
strictExportPresence?: boolean | undefined;
|
|
2239
2236
|
worker?: boolean | string[] | undefined;
|
|
2240
2237
|
overrideStrict?: "strict" | "non-strict" | undefined;
|
|
@@ -2243,8 +2240,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2243
2240
|
requireResolve?: boolean | undefined;
|
|
2244
2241
|
importDynamic?: boolean | undefined;
|
|
2245
2242
|
} | undefined;
|
|
2246
|
-
|
|
2247
|
-
javascript?: {
|
|
2243
|
+
"javascript/esm"?: {
|
|
2248
2244
|
dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined;
|
|
2249
2245
|
dynamicImportPreload?: number | boolean | undefined;
|
|
2250
2246
|
dynamicImportPrefetch?: number | boolean | undefined;
|
|
@@ -2254,9 +2250,9 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2254
2250
|
exprContextCritical?: boolean | undefined;
|
|
2255
2251
|
wrappedContextCritical?: boolean | undefined;
|
|
2256
2252
|
wrappedContextRegExp?: RegExp | undefined;
|
|
2257
|
-
exportsPresence?: false | "
|
|
2258
|
-
importExportsPresence?: false | "
|
|
2259
|
-
reexportExportsPresence?: false | "
|
|
2253
|
+
exportsPresence?: false | "error" | "warn" | "auto" | undefined;
|
|
2254
|
+
importExportsPresence?: false | "error" | "warn" | "auto" | undefined;
|
|
2255
|
+
reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined;
|
|
2260
2256
|
strictExportPresence?: boolean | undefined;
|
|
2261
2257
|
worker?: boolean | string[] | undefined;
|
|
2262
2258
|
overrideStrict?: "strict" | "non-strict" | undefined;
|
|
@@ -2265,19 +2261,41 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2265
2261
|
requireResolve?: boolean | undefined;
|
|
2266
2262
|
importDynamic?: boolean | undefined;
|
|
2267
2263
|
} | undefined;
|
|
2264
|
+
}, {
|
|
2268
2265
|
css?: {
|
|
2269
2266
|
namedExports?: boolean | undefined;
|
|
2270
2267
|
} | undefined;
|
|
2268
|
+
asset?: {
|
|
2269
|
+
dataUrlCondition?: {
|
|
2270
|
+
maxSize?: number | undefined;
|
|
2271
|
+
} | undefined;
|
|
2272
|
+
} | undefined;
|
|
2271
2273
|
"css/auto"?: {
|
|
2272
2274
|
namedExports?: boolean | undefined;
|
|
2273
2275
|
} | undefined;
|
|
2274
2276
|
"css/module"?: {
|
|
2275
2277
|
namedExports?: boolean | undefined;
|
|
2276
2278
|
} | undefined;
|
|
2277
|
-
|
|
2278
|
-
|
|
2279
|
-
|
|
2280
|
-
|
|
2279
|
+
javascript?: {
|
|
2280
|
+
dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined;
|
|
2281
|
+
dynamicImportPreload?: number | boolean | undefined;
|
|
2282
|
+
dynamicImportPrefetch?: number | boolean | undefined;
|
|
2283
|
+
dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined;
|
|
2284
|
+
importMeta?: boolean | undefined;
|
|
2285
|
+
url?: boolean | "relative" | undefined;
|
|
2286
|
+
exprContextCritical?: boolean | undefined;
|
|
2287
|
+
wrappedContextCritical?: boolean | undefined;
|
|
2288
|
+
wrappedContextRegExp?: RegExp | undefined;
|
|
2289
|
+
exportsPresence?: false | "error" | "warn" | "auto" | undefined;
|
|
2290
|
+
importExportsPresence?: false | "error" | "warn" | "auto" | undefined;
|
|
2291
|
+
reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined;
|
|
2292
|
+
strictExportPresence?: boolean | undefined;
|
|
2293
|
+
worker?: boolean | string[] | undefined;
|
|
2294
|
+
overrideStrict?: "strict" | "non-strict" | undefined;
|
|
2295
|
+
requireAsExpression?: boolean | undefined;
|
|
2296
|
+
requireDynamic?: boolean | undefined;
|
|
2297
|
+
requireResolve?: boolean | undefined;
|
|
2298
|
+
importDynamic?: boolean | undefined;
|
|
2281
2299
|
} | undefined;
|
|
2282
2300
|
"javascript/auto"?: {
|
|
2283
2301
|
dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined;
|
|
@@ -2289,9 +2307,9 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2289
2307
|
exprContextCritical?: boolean | undefined;
|
|
2290
2308
|
wrappedContextCritical?: boolean | undefined;
|
|
2291
2309
|
wrappedContextRegExp?: RegExp | undefined;
|
|
2292
|
-
exportsPresence?: false | "
|
|
2293
|
-
importExportsPresence?: false | "
|
|
2294
|
-
reexportExportsPresence?: false | "
|
|
2310
|
+
exportsPresence?: false | "error" | "warn" | "auto" | undefined;
|
|
2311
|
+
importExportsPresence?: false | "error" | "warn" | "auto" | undefined;
|
|
2312
|
+
reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined;
|
|
2295
2313
|
strictExportPresence?: boolean | undefined;
|
|
2296
2314
|
worker?: boolean | string[] | undefined;
|
|
2297
2315
|
overrideStrict?: "strict" | "non-strict" | undefined;
|
|
@@ -2310,9 +2328,9 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2310
2328
|
exprContextCritical?: boolean | undefined;
|
|
2311
2329
|
wrappedContextCritical?: boolean | undefined;
|
|
2312
2330
|
wrappedContextRegExp?: RegExp | undefined;
|
|
2313
|
-
exportsPresence?: false | "
|
|
2314
|
-
importExportsPresence?: false | "
|
|
2315
|
-
reexportExportsPresence?: false | "
|
|
2331
|
+
exportsPresence?: false | "error" | "warn" | "auto" | undefined;
|
|
2332
|
+
importExportsPresence?: false | "error" | "warn" | "auto" | undefined;
|
|
2333
|
+
reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined;
|
|
2316
2334
|
strictExportPresence?: boolean | undefined;
|
|
2317
2335
|
worker?: boolean | string[] | undefined;
|
|
2318
2336
|
overrideStrict?: "strict" | "non-strict" | undefined;
|
|
@@ -2331,9 +2349,9 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2331
2349
|
exprContextCritical?: boolean | undefined;
|
|
2332
2350
|
wrappedContextCritical?: boolean | undefined;
|
|
2333
2351
|
wrappedContextRegExp?: RegExp | undefined;
|
|
2334
|
-
exportsPresence?: false | "
|
|
2335
|
-
importExportsPresence?: false | "
|
|
2336
|
-
reexportExportsPresence?: false | "
|
|
2352
|
+
exportsPresence?: false | "error" | "warn" | "auto" | undefined;
|
|
2353
|
+
importExportsPresence?: false | "error" | "warn" | "auto" | undefined;
|
|
2354
|
+
reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined;
|
|
2337
2355
|
strictExportPresence?: boolean | undefined;
|
|
2338
2356
|
worker?: boolean | string[] | undefined;
|
|
2339
2357
|
overrideStrict?: "strict" | "non-strict" | undefined;
|
|
@@ -2354,42 +2372,42 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2354
2372
|
}, {
|
|
2355
2373
|
encoding?: false | "base64" | undefined;
|
|
2356
2374
|
mimetype?: string | undefined;
|
|
2357
|
-
}>, z.ZodFunction<z.ZodTuple<[z.ZodObject<{
|
|
2358
|
-
content: z.ZodString;
|
|
2375
|
+
}>, z.ZodFunction<z.ZodTuple<[z.ZodType<Buffer<ArrayBuffer>, z.ZodTypeDef, Buffer<ArrayBuffer>>, z.ZodObject<{
|
|
2359
2376
|
filename: z.ZodString;
|
|
2377
|
+
module: z.ZodType<Module, z.ZodTypeDef, Module>;
|
|
2360
2378
|
}, "strict", z.ZodTypeAny, {
|
|
2379
|
+
module: Module;
|
|
2361
2380
|
filename: string;
|
|
2362
|
-
content: string;
|
|
2363
2381
|
}, {
|
|
2382
|
+
module: Module;
|
|
2364
2383
|
filename: string;
|
|
2365
|
-
content: string;
|
|
2366
2384
|
}>], z.ZodUnknown>, z.ZodString>]>>;
|
|
2367
2385
|
}, {
|
|
2368
2386
|
emit: z.ZodOptional<z.ZodBoolean>;
|
|
2369
2387
|
filename: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodFunction<z.ZodTuple<[z.ZodType<PathData, z.ZodTypeDef, PathData>, z.ZodOptional<z.ZodType<JsAssetInfo, z.ZodTypeDef, JsAssetInfo>>], z.ZodUnknown>, z.ZodString>]>>;
|
|
2370
2388
|
publicPath: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"auto">, z.ZodUnion<[z.ZodString, z.ZodFunction<z.ZodTuple<[z.ZodType<PathData, z.ZodTypeDef, PathData>, z.ZodOptional<z.ZodType<JsAssetInfo, z.ZodTypeDef, JsAssetInfo>>], z.ZodUnknown>, z.ZodString>]>]>>;
|
|
2371
2389
|
}>, "strict", z.ZodTypeAny, {
|
|
2372
|
-
filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
2373
2390
|
publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
2374
|
-
|
|
2391
|
+
filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
2375
2392
|
dataUrl?: {
|
|
2376
2393
|
encoding?: false | "base64" | undefined;
|
|
2377
2394
|
mimetype?: string | undefined;
|
|
2378
|
-
} | ((args_0: {
|
|
2395
|
+
} | ((args_0: Buffer<ArrayBuffer>, args_1: {
|
|
2396
|
+
module: Module;
|
|
2379
2397
|
filename: string;
|
|
2380
|
-
content: string;
|
|
2381
2398
|
}, ...args: unknown[]) => string) | undefined;
|
|
2399
|
+
emit?: boolean | undefined;
|
|
2382
2400
|
}, {
|
|
2383
|
-
filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
2384
2401
|
publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
2385
|
-
|
|
2402
|
+
filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
2386
2403
|
dataUrl?: {
|
|
2387
2404
|
encoding?: false | "base64" | undefined;
|
|
2388
2405
|
mimetype?: string | undefined;
|
|
2389
|
-
} | ((args_0: {
|
|
2406
|
+
} | ((args_0: Buffer<ArrayBuffer>, args_1: {
|
|
2407
|
+
module: Module;
|
|
2390
2408
|
filename: string;
|
|
2391
|
-
content: string;
|
|
2392
2409
|
}, ...args: unknown[]) => string) | undefined;
|
|
2410
|
+
emit?: boolean | undefined;
|
|
2393
2411
|
}>>;
|
|
2394
2412
|
"asset/inline": z.ZodOptional<z.ZodObject<{
|
|
2395
2413
|
dataUrl: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
@@ -2401,31 +2419,31 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2401
2419
|
}, {
|
|
2402
2420
|
encoding?: false | "base64" | undefined;
|
|
2403
2421
|
mimetype?: string | undefined;
|
|
2404
|
-
}>, z.ZodFunction<z.ZodTuple<[z.ZodObject<{
|
|
2405
|
-
content: z.ZodString;
|
|
2422
|
+
}>, z.ZodFunction<z.ZodTuple<[z.ZodType<Buffer<ArrayBuffer>, z.ZodTypeDef, Buffer<ArrayBuffer>>, z.ZodObject<{
|
|
2406
2423
|
filename: z.ZodString;
|
|
2424
|
+
module: z.ZodType<Module, z.ZodTypeDef, Module>;
|
|
2407
2425
|
}, "strict", z.ZodTypeAny, {
|
|
2426
|
+
module: Module;
|
|
2408
2427
|
filename: string;
|
|
2409
|
-
content: string;
|
|
2410
2428
|
}, {
|
|
2429
|
+
module: Module;
|
|
2411
2430
|
filename: string;
|
|
2412
|
-
content: string;
|
|
2413
2431
|
}>], z.ZodUnknown>, z.ZodString>]>>;
|
|
2414
2432
|
}, "strict", z.ZodTypeAny, {
|
|
2415
2433
|
dataUrl?: {
|
|
2416
2434
|
encoding?: false | "base64" | undefined;
|
|
2417
2435
|
mimetype?: string | undefined;
|
|
2418
|
-
} | ((args_0: {
|
|
2436
|
+
} | ((args_0: Buffer<ArrayBuffer>, args_1: {
|
|
2437
|
+
module: Module;
|
|
2419
2438
|
filename: string;
|
|
2420
|
-
content: string;
|
|
2421
2439
|
}, ...args: unknown[]) => string) | undefined;
|
|
2422
2440
|
}, {
|
|
2423
2441
|
dataUrl?: {
|
|
2424
2442
|
encoding?: false | "base64" | undefined;
|
|
2425
2443
|
mimetype?: string | undefined;
|
|
2426
|
-
} | ((args_0: {
|
|
2444
|
+
} | ((args_0: Buffer<ArrayBuffer>, args_1: {
|
|
2445
|
+
module: Module;
|
|
2427
2446
|
filename: string;
|
|
2428
|
-
content: string;
|
|
2429
2447
|
}, ...args: unknown[]) => string) | undefined;
|
|
2430
2448
|
}>>;
|
|
2431
2449
|
"asset/resource": z.ZodOptional<z.ZodObject<{
|
|
@@ -2433,12 +2451,12 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2433
2451
|
filename: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodFunction<z.ZodTuple<[z.ZodType<PathData, z.ZodTypeDef, PathData>, z.ZodOptional<z.ZodType<JsAssetInfo, z.ZodTypeDef, JsAssetInfo>>], z.ZodUnknown>, z.ZodString>]>>;
|
|
2434
2452
|
publicPath: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"auto">, z.ZodUnion<[z.ZodString, z.ZodFunction<z.ZodTuple<[z.ZodType<PathData, z.ZodTypeDef, PathData>, z.ZodOptional<z.ZodType<JsAssetInfo, z.ZodTypeDef, JsAssetInfo>>], z.ZodUnknown>, z.ZodString>]>]>>;
|
|
2435
2453
|
}, "strict", z.ZodTypeAny, {
|
|
2436
|
-
filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
2437
2454
|
publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
2455
|
+
filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
2438
2456
|
emit?: boolean | undefined;
|
|
2439
2457
|
}, {
|
|
2440
|
-
filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
2441
2458
|
publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
2459
|
+
filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
2442
2460
|
emit?: boolean | undefined;
|
|
2443
2461
|
}>>;
|
|
2444
2462
|
css: z.ZodOptional<z.ZodObject<{
|
|
@@ -2488,6 +2506,18 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2488
2506
|
exportsOnly?: boolean | undefined;
|
|
2489
2507
|
esModule?: boolean | undefined;
|
|
2490
2508
|
} | undefined;
|
|
2509
|
+
asset?: {
|
|
2510
|
+
publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
2511
|
+
filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
2512
|
+
dataUrl?: {
|
|
2513
|
+
encoding?: false | "base64" | undefined;
|
|
2514
|
+
mimetype?: string | undefined;
|
|
2515
|
+
} | ((args_0: Buffer<ArrayBuffer>, args_1: {
|
|
2516
|
+
module: Module;
|
|
2517
|
+
filename: string;
|
|
2518
|
+
}, ...args: unknown[]) => string) | undefined;
|
|
2519
|
+
emit?: boolean | undefined;
|
|
2520
|
+
} | undefined;
|
|
2491
2521
|
"css/auto"?: {
|
|
2492
2522
|
exportsOnly?: boolean | undefined;
|
|
2493
2523
|
esModule?: boolean | undefined;
|
|
@@ -2500,30 +2530,18 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2500
2530
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2501
2531
|
localIdentName?: string | undefined;
|
|
2502
2532
|
} | undefined;
|
|
2503
|
-
asset?: {
|
|
2504
|
-
filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
2505
|
-
publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
2506
|
-
emit?: boolean | undefined;
|
|
2507
|
-
dataUrl?: {
|
|
2508
|
-
encoding?: false | "base64" | undefined;
|
|
2509
|
-
mimetype?: string | undefined;
|
|
2510
|
-
} | ((args_0: {
|
|
2511
|
-
filename: string;
|
|
2512
|
-
content: string;
|
|
2513
|
-
}, ...args: unknown[]) => string) | undefined;
|
|
2514
|
-
} | undefined;
|
|
2515
2533
|
"asset/inline"?: {
|
|
2516
2534
|
dataUrl?: {
|
|
2517
2535
|
encoding?: false | "base64" | undefined;
|
|
2518
2536
|
mimetype?: string | undefined;
|
|
2519
|
-
} | ((args_0: {
|
|
2537
|
+
} | ((args_0: Buffer<ArrayBuffer>, args_1: {
|
|
2538
|
+
module: Module;
|
|
2520
2539
|
filename: string;
|
|
2521
|
-
content: string;
|
|
2522
2540
|
}, ...args: unknown[]) => string) | undefined;
|
|
2523
2541
|
} | undefined;
|
|
2524
2542
|
"asset/resource"?: {
|
|
2525
|
-
filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
2526
2543
|
publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
2544
|
+
filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
2527
2545
|
emit?: boolean | undefined;
|
|
2528
2546
|
} | undefined;
|
|
2529
2547
|
}, {
|
|
@@ -2531,52 +2549,18 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2531
2549
|
exportsOnly?: boolean | undefined;
|
|
2532
2550
|
esModule?: boolean | undefined;
|
|
2533
2551
|
} | undefined;
|
|
2534
|
-
"css/auto"?: {
|
|
2535
|
-
exportsOnly?: boolean | undefined;
|
|
2536
|
-
esModule?: boolean | undefined;
|
|
2537
|
-
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2538
|
-
localIdentName?: string | undefined;
|
|
2539
|
-
} | undefined;
|
|
2540
|
-
"css/module"?: {
|
|
2541
|
-
exportsOnly?: boolean | undefined;
|
|
2542
|
-
esModule?: boolean | undefined;
|
|
2543
|
-
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2544
|
-
localIdentName?: string | undefined;
|
|
2545
|
-
} | undefined;
|
|
2546
2552
|
asset?: {
|
|
2547
|
-
filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
2548
2553
|
publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
2549
|
-
|
|
2550
|
-
dataUrl?: {
|
|
2551
|
-
encoding?: false | "base64" | undefined;
|
|
2552
|
-
mimetype?: string | undefined;
|
|
2553
|
-
} | ((args_0: {
|
|
2554
|
-
filename: string;
|
|
2555
|
-
content: string;
|
|
2556
|
-
}, ...args: unknown[]) => string) | undefined;
|
|
2557
|
-
} | undefined;
|
|
2558
|
-
"asset/inline"?: {
|
|
2554
|
+
filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
2559
2555
|
dataUrl?: {
|
|
2560
2556
|
encoding?: false | "base64" | undefined;
|
|
2561
2557
|
mimetype?: string | undefined;
|
|
2562
|
-
} | ((args_0: {
|
|
2558
|
+
} | ((args_0: Buffer<ArrayBuffer>, args_1: {
|
|
2559
|
+
module: Module;
|
|
2563
2560
|
filename: string;
|
|
2564
|
-
content: string;
|
|
2565
2561
|
}, ...args: unknown[]) => string) | undefined;
|
|
2566
|
-
} | undefined;
|
|
2567
|
-
"asset/resource"?: {
|
|
2568
|
-
filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
2569
|
-
publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
2570
2562
|
emit?: boolean | undefined;
|
|
2571
2563
|
} | undefined;
|
|
2572
|
-
}>, z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>>]>>;
|
|
2573
|
-
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">]>>;
|
|
2574
|
-
}, "strict", z.ZodTypeAny, {
|
|
2575
|
-
generator?: Record<string, Record<string, any>> | {
|
|
2576
|
-
css?: {
|
|
2577
|
-
exportsOnly?: boolean | undefined;
|
|
2578
|
-
esModule?: boolean | undefined;
|
|
2579
|
-
} | undefined;
|
|
2580
2564
|
"css/auto"?: {
|
|
2581
2565
|
exportsOnly?: boolean | undefined;
|
|
2582
2566
|
esModule?: boolean | undefined;
|
|
@@ -2589,36 +2573,40 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2589
2573
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2590
2574
|
localIdentName?: string | undefined;
|
|
2591
2575
|
} | undefined;
|
|
2592
|
-
asset?: {
|
|
2593
|
-
filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
2594
|
-
publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
2595
|
-
emit?: boolean | undefined;
|
|
2596
|
-
dataUrl?: {
|
|
2597
|
-
encoding?: false | "base64" | undefined;
|
|
2598
|
-
mimetype?: string | undefined;
|
|
2599
|
-
} | ((args_0: {
|
|
2600
|
-
filename: string;
|
|
2601
|
-
content: string;
|
|
2602
|
-
}, ...args: unknown[]) => string) | undefined;
|
|
2603
|
-
} | undefined;
|
|
2604
2576
|
"asset/inline"?: {
|
|
2605
2577
|
dataUrl?: {
|
|
2606
2578
|
encoding?: false | "base64" | undefined;
|
|
2607
2579
|
mimetype?: string | undefined;
|
|
2608
|
-
} | ((args_0: {
|
|
2580
|
+
} | ((args_0: Buffer<ArrayBuffer>, args_1: {
|
|
2581
|
+
module: Module;
|
|
2609
2582
|
filename: string;
|
|
2610
|
-
content: string;
|
|
2611
2583
|
}, ...args: unknown[]) => string) | undefined;
|
|
2612
2584
|
} | undefined;
|
|
2613
2585
|
"asset/resource"?: {
|
|
2614
|
-
filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
2615
2586
|
publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
2587
|
+
filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
2616
2588
|
emit?: boolean | undefined;
|
|
2617
2589
|
} | undefined;
|
|
2618
|
-
}
|
|
2619
|
-
|
|
2620
|
-
|
|
2590
|
+
}>, z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>>]>>;
|
|
2591
|
+
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">]>>;
|
|
2592
|
+
}, "strict", z.ZodTypeAny, {
|
|
2593
|
+
defaultRules?: (false | "" | 0 | t.RuleSetRule | "..." | null | undefined)[] | undefined;
|
|
2594
|
+
rules?: (false | "" | 0 | t.RuleSetRule | "..." | null | undefined)[] | undefined;
|
|
2621
2595
|
parser?: {
|
|
2596
|
+
css?: {
|
|
2597
|
+
namedExports?: boolean | undefined;
|
|
2598
|
+
} | undefined;
|
|
2599
|
+
asset?: {
|
|
2600
|
+
dataUrlCondition?: {
|
|
2601
|
+
maxSize?: number | undefined;
|
|
2602
|
+
} | undefined;
|
|
2603
|
+
} | undefined;
|
|
2604
|
+
"css/auto"?: {
|
|
2605
|
+
namedExports?: boolean | undefined;
|
|
2606
|
+
} | undefined;
|
|
2607
|
+
"css/module"?: {
|
|
2608
|
+
namedExports?: boolean | undefined;
|
|
2609
|
+
} | undefined;
|
|
2622
2610
|
javascript?: {
|
|
2623
2611
|
dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined;
|
|
2624
2612
|
dynamicImportPreload?: number | boolean | undefined;
|
|
@@ -2629,9 +2617,9 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2629
2617
|
exprContextCritical?: boolean | undefined;
|
|
2630
2618
|
wrappedContextCritical?: boolean | undefined;
|
|
2631
2619
|
wrappedContextRegExp?: RegExp | undefined;
|
|
2632
|
-
exportsPresence?: false | "
|
|
2633
|
-
importExportsPresence?: false | "
|
|
2634
|
-
reexportExportsPresence?: false | "
|
|
2620
|
+
exportsPresence?: false | "error" | "warn" | "auto" | undefined;
|
|
2621
|
+
importExportsPresence?: false | "error" | "warn" | "auto" | undefined;
|
|
2622
|
+
reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined;
|
|
2635
2623
|
strictExportPresence?: boolean | undefined;
|
|
2636
2624
|
worker?: boolean | string[] | undefined;
|
|
2637
2625
|
overrideStrict?: "strict" | "non-strict" | undefined;
|
|
@@ -2640,20 +2628,6 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2640
2628
|
requireResolve?: boolean | undefined;
|
|
2641
2629
|
importDynamic?: boolean | undefined;
|
|
2642
2630
|
} | undefined;
|
|
2643
|
-
css?: {
|
|
2644
|
-
namedExports?: boolean | undefined;
|
|
2645
|
-
} | undefined;
|
|
2646
|
-
"css/auto"?: {
|
|
2647
|
-
namedExports?: boolean | undefined;
|
|
2648
|
-
} | undefined;
|
|
2649
|
-
"css/module"?: {
|
|
2650
|
-
namedExports?: boolean | undefined;
|
|
2651
|
-
} | undefined;
|
|
2652
|
-
asset?: {
|
|
2653
|
-
dataUrlCondition?: {
|
|
2654
|
-
maxSize?: number | undefined;
|
|
2655
|
-
} | undefined;
|
|
2656
|
-
} | undefined;
|
|
2657
2631
|
"javascript/auto"?: {
|
|
2658
2632
|
dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined;
|
|
2659
2633
|
dynamicImportPreload?: number | boolean | undefined;
|
|
@@ -2664,9 +2638,9 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2664
2638
|
exprContextCritical?: boolean | undefined;
|
|
2665
2639
|
wrappedContextCritical?: boolean | undefined;
|
|
2666
2640
|
wrappedContextRegExp?: RegExp | undefined;
|
|
2667
|
-
exportsPresence?: false | "
|
|
2668
|
-
importExportsPresence?: false | "
|
|
2669
|
-
reexportExportsPresence?: false | "
|
|
2641
|
+
exportsPresence?: false | "error" | "warn" | "auto" | undefined;
|
|
2642
|
+
importExportsPresence?: false | "error" | "warn" | "auto" | undefined;
|
|
2643
|
+
reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined;
|
|
2670
2644
|
strictExportPresence?: boolean | undefined;
|
|
2671
2645
|
worker?: boolean | string[] | undefined;
|
|
2672
2646
|
overrideStrict?: "strict" | "non-strict" | undefined;
|
|
@@ -2685,9 +2659,9 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2685
2659
|
exprContextCritical?: boolean | undefined;
|
|
2686
2660
|
wrappedContextCritical?: boolean | undefined;
|
|
2687
2661
|
wrappedContextRegExp?: RegExp | undefined;
|
|
2688
|
-
exportsPresence?: false | "
|
|
2689
|
-
importExportsPresence?: false | "
|
|
2690
|
-
reexportExportsPresence?: false | "
|
|
2662
|
+
exportsPresence?: false | "error" | "warn" | "auto" | undefined;
|
|
2663
|
+
importExportsPresence?: false | "error" | "warn" | "auto" | undefined;
|
|
2664
|
+
reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined;
|
|
2691
2665
|
strictExportPresence?: boolean | undefined;
|
|
2692
2666
|
worker?: boolean | string[] | undefined;
|
|
2693
2667
|
overrideStrict?: "strict" | "non-strict" | undefined;
|
|
@@ -2706,9 +2680,9 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2706
2680
|
exprContextCritical?: boolean | undefined;
|
|
2707
2681
|
wrappedContextCritical?: boolean | undefined;
|
|
2708
2682
|
wrappedContextRegExp?: RegExp | undefined;
|
|
2709
|
-
exportsPresence?: false | "
|
|
2710
|
-
importExportsPresence?: false | "
|
|
2711
|
-
reexportExportsPresence?: false | "
|
|
2683
|
+
exportsPresence?: false | "error" | "warn" | "auto" | undefined;
|
|
2684
|
+
importExportsPresence?: false | "error" | "warn" | "auto" | undefined;
|
|
2685
|
+
reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined;
|
|
2712
2686
|
strictExportPresence?: boolean | undefined;
|
|
2713
2687
|
worker?: boolean | string[] | undefined;
|
|
2714
2688
|
overrideStrict?: "strict" | "non-strict" | undefined;
|
|
@@ -2718,13 +2692,23 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2718
2692
|
importDynamic?: boolean | undefined;
|
|
2719
2693
|
} | undefined;
|
|
2720
2694
|
} | Record<string, Record<string, any>> | undefined;
|
|
2721
|
-
noParse?: string | RegExp | ((args_0: string, ...args: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args: unknown[]) => boolean))[] | undefined;
|
|
2722
|
-
}, {
|
|
2723
2695
|
generator?: Record<string, Record<string, any>> | {
|
|
2724
2696
|
css?: {
|
|
2725
2697
|
exportsOnly?: boolean | undefined;
|
|
2726
2698
|
esModule?: boolean | undefined;
|
|
2727
2699
|
} | undefined;
|
|
2700
|
+
asset?: {
|
|
2701
|
+
publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
2702
|
+
filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
2703
|
+
dataUrl?: {
|
|
2704
|
+
encoding?: false | "base64" | undefined;
|
|
2705
|
+
mimetype?: string | undefined;
|
|
2706
|
+
} | ((args_0: Buffer<ArrayBuffer>, args_1: {
|
|
2707
|
+
module: Module;
|
|
2708
|
+
filename: string;
|
|
2709
|
+
}, ...args: unknown[]) => string) | undefined;
|
|
2710
|
+
emit?: boolean | undefined;
|
|
2711
|
+
} | undefined;
|
|
2728
2712
|
"css/auto"?: {
|
|
2729
2713
|
exportsOnly?: boolean | undefined;
|
|
2730
2714
|
esModule?: boolean | undefined;
|
|
@@ -2737,36 +2721,40 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2737
2721
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2738
2722
|
localIdentName?: string | undefined;
|
|
2739
2723
|
} | undefined;
|
|
2740
|
-
asset?: {
|
|
2741
|
-
filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
2742
|
-
publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
2743
|
-
emit?: boolean | undefined;
|
|
2744
|
-
dataUrl?: {
|
|
2745
|
-
encoding?: false | "base64" | undefined;
|
|
2746
|
-
mimetype?: string | undefined;
|
|
2747
|
-
} | ((args_0: {
|
|
2748
|
-
filename: string;
|
|
2749
|
-
content: string;
|
|
2750
|
-
}, ...args: unknown[]) => string) | undefined;
|
|
2751
|
-
} | undefined;
|
|
2752
2724
|
"asset/inline"?: {
|
|
2753
2725
|
dataUrl?: {
|
|
2754
2726
|
encoding?: false | "base64" | undefined;
|
|
2755
2727
|
mimetype?: string | undefined;
|
|
2756
|
-
} | ((args_0: {
|
|
2728
|
+
} | ((args_0: Buffer<ArrayBuffer>, args_1: {
|
|
2729
|
+
module: Module;
|
|
2757
2730
|
filename: string;
|
|
2758
|
-
content: string;
|
|
2759
2731
|
}, ...args: unknown[]) => string) | undefined;
|
|
2760
2732
|
} | undefined;
|
|
2761
2733
|
"asset/resource"?: {
|
|
2762
|
-
filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
2763
2734
|
publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
2735
|
+
filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
2764
2736
|
emit?: boolean | undefined;
|
|
2765
2737
|
} | undefined;
|
|
2766
2738
|
} | undefined;
|
|
2767
|
-
|
|
2768
|
-
|
|
2739
|
+
noParse?: string | RegExp | ((args_0: string, ...args: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args: unknown[]) => boolean))[] | undefined;
|
|
2740
|
+
}, {
|
|
2741
|
+
defaultRules?: (false | "" | 0 | t.RuleSetRule | "..." | null | undefined)[] | undefined;
|
|
2742
|
+
rules?: (false | "" | 0 | t.RuleSetRule | "..." | null | undefined)[] | undefined;
|
|
2769
2743
|
parser?: {
|
|
2744
|
+
css?: {
|
|
2745
|
+
namedExports?: boolean | undefined;
|
|
2746
|
+
} | undefined;
|
|
2747
|
+
asset?: {
|
|
2748
|
+
dataUrlCondition?: {
|
|
2749
|
+
maxSize?: number | undefined;
|
|
2750
|
+
} | undefined;
|
|
2751
|
+
} | undefined;
|
|
2752
|
+
"css/auto"?: {
|
|
2753
|
+
namedExports?: boolean | undefined;
|
|
2754
|
+
} | undefined;
|
|
2755
|
+
"css/module"?: {
|
|
2756
|
+
namedExports?: boolean | undefined;
|
|
2757
|
+
} | undefined;
|
|
2770
2758
|
javascript?: {
|
|
2771
2759
|
dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined;
|
|
2772
2760
|
dynamicImportPreload?: number | boolean | undefined;
|
|
@@ -2777,9 +2765,9 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2777
2765
|
exprContextCritical?: boolean | undefined;
|
|
2778
2766
|
wrappedContextCritical?: boolean | undefined;
|
|
2779
2767
|
wrappedContextRegExp?: RegExp | undefined;
|
|
2780
|
-
exportsPresence?: false | "
|
|
2781
|
-
importExportsPresence?: false | "
|
|
2782
|
-
reexportExportsPresence?: false | "
|
|
2768
|
+
exportsPresence?: false | "error" | "warn" | "auto" | undefined;
|
|
2769
|
+
importExportsPresence?: false | "error" | "warn" | "auto" | undefined;
|
|
2770
|
+
reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined;
|
|
2783
2771
|
strictExportPresence?: boolean | undefined;
|
|
2784
2772
|
worker?: boolean | string[] | undefined;
|
|
2785
2773
|
overrideStrict?: "strict" | "non-strict" | undefined;
|
|
@@ -2788,20 +2776,6 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2788
2776
|
requireResolve?: boolean | undefined;
|
|
2789
2777
|
importDynamic?: boolean | undefined;
|
|
2790
2778
|
} | undefined;
|
|
2791
|
-
css?: {
|
|
2792
|
-
namedExports?: boolean | undefined;
|
|
2793
|
-
} | undefined;
|
|
2794
|
-
"css/auto"?: {
|
|
2795
|
-
namedExports?: boolean | undefined;
|
|
2796
|
-
} | undefined;
|
|
2797
|
-
"css/module"?: {
|
|
2798
|
-
namedExports?: boolean | undefined;
|
|
2799
|
-
} | undefined;
|
|
2800
|
-
asset?: {
|
|
2801
|
-
dataUrlCondition?: {
|
|
2802
|
-
maxSize?: number | undefined;
|
|
2803
|
-
} | undefined;
|
|
2804
|
-
} | undefined;
|
|
2805
2779
|
"javascript/auto"?: {
|
|
2806
2780
|
dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined;
|
|
2807
2781
|
dynamicImportPreload?: number | boolean | undefined;
|
|
@@ -2812,9 +2786,9 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2812
2786
|
exprContextCritical?: boolean | undefined;
|
|
2813
2787
|
wrappedContextCritical?: boolean | undefined;
|
|
2814
2788
|
wrappedContextRegExp?: RegExp | undefined;
|
|
2815
|
-
exportsPresence?: false | "
|
|
2816
|
-
importExportsPresence?: false | "
|
|
2817
|
-
reexportExportsPresence?: false | "
|
|
2789
|
+
exportsPresence?: false | "error" | "warn" | "auto" | undefined;
|
|
2790
|
+
importExportsPresence?: false | "error" | "warn" | "auto" | undefined;
|
|
2791
|
+
reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined;
|
|
2818
2792
|
strictExportPresence?: boolean | undefined;
|
|
2819
2793
|
worker?: boolean | string[] | undefined;
|
|
2820
2794
|
overrideStrict?: "strict" | "non-strict" | undefined;
|
|
@@ -2833,9 +2807,9 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2833
2807
|
exprContextCritical?: boolean | undefined;
|
|
2834
2808
|
wrappedContextCritical?: boolean | undefined;
|
|
2835
2809
|
wrappedContextRegExp?: RegExp | undefined;
|
|
2836
|
-
exportsPresence?: false | "
|
|
2837
|
-
importExportsPresence?: false | "
|
|
2838
|
-
reexportExportsPresence?: false | "
|
|
2810
|
+
exportsPresence?: false | "error" | "warn" | "auto" | undefined;
|
|
2811
|
+
importExportsPresence?: false | "error" | "warn" | "auto" | undefined;
|
|
2812
|
+
reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined;
|
|
2839
2813
|
strictExportPresence?: boolean | undefined;
|
|
2840
2814
|
worker?: boolean | string[] | undefined;
|
|
2841
2815
|
overrideStrict?: "strict" | "non-strict" | undefined;
|
|
@@ -2854,9 +2828,9 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2854
2828
|
exprContextCritical?: boolean | undefined;
|
|
2855
2829
|
wrappedContextCritical?: boolean | undefined;
|
|
2856
2830
|
wrappedContextRegExp?: RegExp | undefined;
|
|
2857
|
-
exportsPresence?: false | "
|
|
2858
|
-
importExportsPresence?: false | "
|
|
2859
|
-
reexportExportsPresence?: false | "
|
|
2831
|
+
exportsPresence?: false | "error" | "warn" | "auto" | undefined;
|
|
2832
|
+
importExportsPresence?: false | "error" | "warn" | "auto" | undefined;
|
|
2833
|
+
reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined;
|
|
2860
2834
|
strictExportPresence?: boolean | undefined;
|
|
2861
2835
|
worker?: boolean | string[] | undefined;
|
|
2862
2836
|
overrideStrict?: "strict" | "non-strict" | undefined;
|
|
@@ -2866,36 +2840,23 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2866
2840
|
importDynamic?: boolean | undefined;
|
|
2867
2841
|
} | undefined;
|
|
2868
2842
|
} | Record<string, Record<string, any>> | undefined;
|
|
2869
|
-
noParse?: string | RegExp | ((args_0: string, ...args: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args: unknown[]) => boolean))[] | undefined;
|
|
2870
|
-
}>>;
|
|
2871
|
-
profile: z.ZodOptional<z.ZodBoolean>;
|
|
2872
|
-
amd: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodRecord<z.ZodString, z.ZodAny>]>>;
|
|
2873
|
-
bail: z.ZodOptional<z.ZodBoolean>;
|
|
2874
|
-
performance: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
2875
|
-
assetFilter: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodString], z.ZodUnknown>, z.ZodBoolean>>;
|
|
2876
|
-
hints: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["error", "warning"]>, z.ZodLiteral<false>]>>;
|
|
2877
|
-
maxAssetSize: z.ZodOptional<z.ZodNumber>;
|
|
2878
|
-
maxEntrypointSize: z.ZodOptional<z.ZodNumber>;
|
|
2879
|
-
}, "strict", z.ZodTypeAny, {
|
|
2880
|
-
maxAssetSize?: number | undefined;
|
|
2881
|
-
assetFilter?: ((args_0: string, ...args: unknown[]) => boolean) | undefined;
|
|
2882
|
-
hints?: false | "error" | "warning" | undefined;
|
|
2883
|
-
maxEntrypointSize?: number | undefined;
|
|
2884
|
-
}, {
|
|
2885
|
-
maxAssetSize?: number | undefined;
|
|
2886
|
-
assetFilter?: ((args_0: string, ...args: unknown[]) => boolean) | undefined;
|
|
2887
|
-
hints?: false | "error" | "warning" | undefined;
|
|
2888
|
-
maxEntrypointSize?: number | undefined;
|
|
2889
|
-
}>, z.ZodLiteral<false>]>>;
|
|
2890
|
-
}, "strict", z.ZodTypeAny, {
|
|
2891
|
-
dependencies?: string[] | undefined;
|
|
2892
|
-
context?: string | undefined;
|
|
2893
|
-
module?: {
|
|
2894
2843
|
generator?: Record<string, Record<string, any>> | {
|
|
2895
2844
|
css?: {
|
|
2896
2845
|
exportsOnly?: boolean | undefined;
|
|
2897
2846
|
esModule?: boolean | undefined;
|
|
2898
2847
|
} | undefined;
|
|
2848
|
+
asset?: {
|
|
2849
|
+
publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
2850
|
+
filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
2851
|
+
dataUrl?: {
|
|
2852
|
+
encoding?: false | "base64" | undefined;
|
|
2853
|
+
mimetype?: string | undefined;
|
|
2854
|
+
} | ((args_0: Buffer<ArrayBuffer>, args_1: {
|
|
2855
|
+
module: Module;
|
|
2856
|
+
filename: string;
|
|
2857
|
+
}, ...args: unknown[]) => string) | undefined;
|
|
2858
|
+
emit?: boolean | undefined;
|
|
2859
|
+
} | undefined;
|
|
2899
2860
|
"css/auto"?: {
|
|
2900
2861
|
exportsOnly?: boolean | undefined;
|
|
2901
2862
|
esModule?: boolean | undefined;
|
|
@@ -2908,36 +2869,64 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2908
2869
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2909
2870
|
localIdentName?: string | undefined;
|
|
2910
2871
|
} | undefined;
|
|
2911
|
-
asset?: {
|
|
2912
|
-
filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
2913
|
-
publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
2914
|
-
emit?: boolean | undefined;
|
|
2915
|
-
dataUrl?: {
|
|
2916
|
-
encoding?: false | "base64" | undefined;
|
|
2917
|
-
mimetype?: string | undefined;
|
|
2918
|
-
} | ((args_0: {
|
|
2919
|
-
filename: string;
|
|
2920
|
-
content: string;
|
|
2921
|
-
}, ...args: unknown[]) => string) | undefined;
|
|
2922
|
-
} | undefined;
|
|
2923
2872
|
"asset/inline"?: {
|
|
2924
2873
|
dataUrl?: {
|
|
2925
2874
|
encoding?: false | "base64" | undefined;
|
|
2926
2875
|
mimetype?: string | undefined;
|
|
2927
|
-
} | ((args_0: {
|
|
2876
|
+
} | ((args_0: Buffer<ArrayBuffer>, args_1: {
|
|
2877
|
+
module: Module;
|
|
2928
2878
|
filename: string;
|
|
2929
|
-
content: string;
|
|
2930
2879
|
}, ...args: unknown[]) => string) | undefined;
|
|
2931
2880
|
} | undefined;
|
|
2932
2881
|
"asset/resource"?: {
|
|
2933
|
-
filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
2934
2882
|
publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
2883
|
+
filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
2935
2884
|
emit?: boolean | undefined;
|
|
2936
2885
|
} | undefined;
|
|
2937
2886
|
} | undefined;
|
|
2938
|
-
|
|
2939
|
-
|
|
2887
|
+
noParse?: string | RegExp | ((args_0: string, ...args: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args: unknown[]) => boolean))[] | undefined;
|
|
2888
|
+
}>>;
|
|
2889
|
+
profile: z.ZodOptional<z.ZodBoolean>;
|
|
2890
|
+
amd: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodRecord<z.ZodString, z.ZodAny>]>>;
|
|
2891
|
+
bail: z.ZodOptional<z.ZodBoolean>;
|
|
2892
|
+
performance: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
2893
|
+
assetFilter: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodString], z.ZodUnknown>, z.ZodBoolean>>;
|
|
2894
|
+
hints: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["error", "warning"]>, z.ZodLiteral<false>]>>;
|
|
2895
|
+
maxAssetSize: z.ZodOptional<z.ZodNumber>;
|
|
2896
|
+
maxEntrypointSize: z.ZodOptional<z.ZodNumber>;
|
|
2897
|
+
}, "strict", z.ZodTypeAny, {
|
|
2898
|
+
maxAssetSize?: number | undefined;
|
|
2899
|
+
assetFilter?: ((args_0: string, ...args: unknown[]) => boolean) | undefined;
|
|
2900
|
+
hints?: false | "error" | "warning" | undefined;
|
|
2901
|
+
maxEntrypointSize?: number | undefined;
|
|
2902
|
+
}, {
|
|
2903
|
+
maxAssetSize?: number | undefined;
|
|
2904
|
+
assetFilter?: ((args_0: string, ...args: unknown[]) => boolean) | undefined;
|
|
2905
|
+
hints?: false | "error" | "warning" | undefined;
|
|
2906
|
+
maxEntrypointSize?: number | undefined;
|
|
2907
|
+
}>, z.ZodLiteral<false>]>>;
|
|
2908
|
+
}, "strict", z.ZodTypeAny, {
|
|
2909
|
+
dependencies?: string[] | undefined;
|
|
2910
|
+
context?: string | undefined;
|
|
2911
|
+
name?: string | undefined;
|
|
2912
|
+
module?: {
|
|
2913
|
+
defaultRules?: (false | "" | 0 | t.RuleSetRule | "..." | null | undefined)[] | undefined;
|
|
2914
|
+
rules?: (false | "" | 0 | t.RuleSetRule | "..." | null | undefined)[] | undefined;
|
|
2940
2915
|
parser?: {
|
|
2916
|
+
css?: {
|
|
2917
|
+
namedExports?: boolean | undefined;
|
|
2918
|
+
} | undefined;
|
|
2919
|
+
asset?: {
|
|
2920
|
+
dataUrlCondition?: {
|
|
2921
|
+
maxSize?: number | undefined;
|
|
2922
|
+
} | undefined;
|
|
2923
|
+
} | undefined;
|
|
2924
|
+
"css/auto"?: {
|
|
2925
|
+
namedExports?: boolean | undefined;
|
|
2926
|
+
} | undefined;
|
|
2927
|
+
"css/module"?: {
|
|
2928
|
+
namedExports?: boolean | undefined;
|
|
2929
|
+
} | undefined;
|
|
2941
2930
|
javascript?: {
|
|
2942
2931
|
dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined;
|
|
2943
2932
|
dynamicImportPreload?: number | boolean | undefined;
|
|
@@ -2948,9 +2937,9 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2948
2937
|
exprContextCritical?: boolean | undefined;
|
|
2949
2938
|
wrappedContextCritical?: boolean | undefined;
|
|
2950
2939
|
wrappedContextRegExp?: RegExp | undefined;
|
|
2951
|
-
exportsPresence?: false | "
|
|
2952
|
-
importExportsPresence?: false | "
|
|
2953
|
-
reexportExportsPresence?: false | "
|
|
2940
|
+
exportsPresence?: false | "error" | "warn" | "auto" | undefined;
|
|
2941
|
+
importExportsPresence?: false | "error" | "warn" | "auto" | undefined;
|
|
2942
|
+
reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined;
|
|
2954
2943
|
strictExportPresence?: boolean | undefined;
|
|
2955
2944
|
worker?: boolean | string[] | undefined;
|
|
2956
2945
|
overrideStrict?: "strict" | "non-strict" | undefined;
|
|
@@ -2959,20 +2948,6 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2959
2948
|
requireResolve?: boolean | undefined;
|
|
2960
2949
|
importDynamic?: boolean | undefined;
|
|
2961
2950
|
} | undefined;
|
|
2962
|
-
css?: {
|
|
2963
|
-
namedExports?: boolean | undefined;
|
|
2964
|
-
} | undefined;
|
|
2965
|
-
"css/auto"?: {
|
|
2966
|
-
namedExports?: boolean | undefined;
|
|
2967
|
-
} | undefined;
|
|
2968
|
-
"css/module"?: {
|
|
2969
|
-
namedExports?: boolean | undefined;
|
|
2970
|
-
} | undefined;
|
|
2971
|
-
asset?: {
|
|
2972
|
-
dataUrlCondition?: {
|
|
2973
|
-
maxSize?: number | undefined;
|
|
2974
|
-
} | undefined;
|
|
2975
|
-
} | undefined;
|
|
2976
2951
|
"javascript/auto"?: {
|
|
2977
2952
|
dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined;
|
|
2978
2953
|
dynamicImportPreload?: number | boolean | undefined;
|
|
@@ -2983,9 +2958,9 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2983
2958
|
exprContextCritical?: boolean | undefined;
|
|
2984
2959
|
wrappedContextCritical?: boolean | undefined;
|
|
2985
2960
|
wrappedContextRegExp?: RegExp | undefined;
|
|
2986
|
-
exportsPresence?: false | "
|
|
2987
|
-
importExportsPresence?: false | "
|
|
2988
|
-
reexportExportsPresence?: false | "
|
|
2961
|
+
exportsPresence?: false | "error" | "warn" | "auto" | undefined;
|
|
2962
|
+
importExportsPresence?: false | "error" | "warn" | "auto" | undefined;
|
|
2963
|
+
reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined;
|
|
2989
2964
|
strictExportPresence?: boolean | undefined;
|
|
2990
2965
|
worker?: boolean | string[] | undefined;
|
|
2991
2966
|
overrideStrict?: "strict" | "non-strict" | undefined;
|
|
@@ -3004,9 +2979,9 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
3004
2979
|
exprContextCritical?: boolean | undefined;
|
|
3005
2980
|
wrappedContextCritical?: boolean | undefined;
|
|
3006
2981
|
wrappedContextRegExp?: RegExp | undefined;
|
|
3007
|
-
exportsPresence?: false | "
|
|
3008
|
-
importExportsPresence?: false | "
|
|
3009
|
-
reexportExportsPresence?: false | "
|
|
2982
|
+
exportsPresence?: false | "error" | "warn" | "auto" | undefined;
|
|
2983
|
+
importExportsPresence?: false | "error" | "warn" | "auto" | undefined;
|
|
2984
|
+
reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined;
|
|
3010
2985
|
strictExportPresence?: boolean | undefined;
|
|
3011
2986
|
worker?: boolean | string[] | undefined;
|
|
3012
2987
|
overrideStrict?: "strict" | "non-strict" | undefined;
|
|
@@ -3025,9 +3000,9 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
3025
3000
|
exprContextCritical?: boolean | undefined;
|
|
3026
3001
|
wrappedContextCritical?: boolean | undefined;
|
|
3027
3002
|
wrappedContextRegExp?: RegExp | undefined;
|
|
3028
|
-
exportsPresence?: false | "
|
|
3029
|
-
importExportsPresence?: false | "
|
|
3030
|
-
reexportExportsPresence?: false | "
|
|
3003
|
+
exportsPresence?: false | "error" | "warn" | "auto" | undefined;
|
|
3004
|
+
importExportsPresence?: false | "error" | "warn" | "auto" | undefined;
|
|
3005
|
+
reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined;
|
|
3031
3006
|
strictExportPresence?: boolean | undefined;
|
|
3032
3007
|
worker?: boolean | string[] | undefined;
|
|
3033
3008
|
overrideStrict?: "strict" | "non-strict" | undefined;
|
|
@@ -3037,133 +3012,114 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
3037
3012
|
importDynamic?: boolean | undefined;
|
|
3038
3013
|
} | undefined;
|
|
3039
3014
|
} | Record<string, Record<string, any>> | undefined;
|
|
3040
|
-
|
|
3041
|
-
|
|
3042
|
-
|
|
3043
|
-
|
|
3044
|
-
maxAssetSize?: number | undefined;
|
|
3045
|
-
assetFilter?: ((args_0: string, ...args: unknown[]) => boolean) | undefined;
|
|
3046
|
-
hints?: false | "error" | "warning" | undefined;
|
|
3047
|
-
maxEntrypointSize?: number | undefined;
|
|
3048
|
-
} | undefined;
|
|
3049
|
-
entry?: string | string[] | Record<string, string | string[] | {
|
|
3050
|
-
import: string | string[];
|
|
3051
|
-
layer?: string | null | undefined;
|
|
3052
|
-
filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
3053
|
-
publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
3054
|
-
runtime?: string | false | undefined;
|
|
3055
|
-
chunkLoading?: string | false | undefined;
|
|
3056
|
-
asyncChunks?: boolean | undefined;
|
|
3057
|
-
baseUri?: string | undefined;
|
|
3058
|
-
library?: {
|
|
3059
|
-
type: string;
|
|
3060
|
-
name?: string | string[] | {
|
|
3061
|
-
root?: string | string[] | undefined;
|
|
3062
|
-
commonjs?: string | undefined;
|
|
3063
|
-
amd?: string | undefined;
|
|
3015
|
+
generator?: Record<string, Record<string, any>> | {
|
|
3016
|
+
css?: {
|
|
3017
|
+
exportsOnly?: boolean | undefined;
|
|
3018
|
+
esModule?: boolean | undefined;
|
|
3064
3019
|
} | undefined;
|
|
3065
|
-
|
|
3066
|
-
|
|
3067
|
-
|
|
3068
|
-
|
|
3069
|
-
|
|
3070
|
-
|
|
3020
|
+
asset?: {
|
|
3021
|
+
publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
3022
|
+
filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
3023
|
+
dataUrl?: {
|
|
3024
|
+
encoding?: false | "base64" | undefined;
|
|
3025
|
+
mimetype?: string | undefined;
|
|
3026
|
+
} | ((args_0: Buffer<ArrayBuffer>, args_1: {
|
|
3027
|
+
module: Module;
|
|
3028
|
+
filename: string;
|
|
3029
|
+
}, ...args: unknown[]) => string) | undefined;
|
|
3030
|
+
emit?: boolean | undefined;
|
|
3071
3031
|
} | undefined;
|
|
3072
|
-
|
|
3073
|
-
|
|
3074
|
-
|
|
3075
|
-
|
|
3076
|
-
|
|
3077
|
-
}> | ((...args: unknown[]) => string | string[] | Record<string, string | string[] | {
|
|
3078
|
-
import: string | string[];
|
|
3079
|
-
layer?: string | null | undefined;
|
|
3080
|
-
filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
3081
|
-
publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
3082
|
-
runtime?: string | false | undefined;
|
|
3083
|
-
chunkLoading?: string | false | undefined;
|
|
3084
|
-
asyncChunks?: boolean | undefined;
|
|
3085
|
-
baseUri?: string | undefined;
|
|
3086
|
-
library?: {
|
|
3087
|
-
type: string;
|
|
3088
|
-
name?: string | string[] | {
|
|
3089
|
-
root?: string | string[] | undefined;
|
|
3090
|
-
commonjs?: string | undefined;
|
|
3091
|
-
amd?: string | undefined;
|
|
3032
|
+
"css/auto"?: {
|
|
3033
|
+
exportsOnly?: boolean | undefined;
|
|
3034
|
+
esModule?: boolean | undefined;
|
|
3035
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
3036
|
+
localIdentName?: string | undefined;
|
|
3092
3037
|
} | undefined;
|
|
3093
|
-
|
|
3094
|
-
|
|
3095
|
-
|
|
3096
|
-
|
|
3097
|
-
|
|
3098
|
-
commonjs2?: string | undefined;
|
|
3038
|
+
"css/module"?: {
|
|
3039
|
+
exportsOnly?: boolean | undefined;
|
|
3040
|
+
esModule?: boolean | undefined;
|
|
3041
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
3042
|
+
localIdentName?: string | undefined;
|
|
3099
3043
|
} | undefined;
|
|
3100
|
-
|
|
3101
|
-
|
|
3102
|
-
|
|
3103
|
-
|
|
3104
|
-
|
|
3105
|
-
|
|
3106
|
-
|
|
3107
|
-
|
|
3108
|
-
filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
3109
|
-
publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
3110
|
-
runtime?: string | false | undefined;
|
|
3111
|
-
chunkLoading?: string | false | undefined;
|
|
3112
|
-
asyncChunks?: boolean | undefined;
|
|
3113
|
-
baseUri?: string | undefined;
|
|
3114
|
-
library?: {
|
|
3115
|
-
type: string;
|
|
3116
|
-
name?: string | string[] | {
|
|
3117
|
-
root?: string | string[] | undefined;
|
|
3118
|
-
commonjs?: string | undefined;
|
|
3119
|
-
amd?: string | undefined;
|
|
3044
|
+
"asset/inline"?: {
|
|
3045
|
+
dataUrl?: {
|
|
3046
|
+
encoding?: false | "base64" | undefined;
|
|
3047
|
+
mimetype?: string | undefined;
|
|
3048
|
+
} | ((args_0: Buffer<ArrayBuffer>, args_1: {
|
|
3049
|
+
module: Module;
|
|
3050
|
+
filename: string;
|
|
3051
|
+
}, ...args: unknown[]) => string) | undefined;
|
|
3120
3052
|
} | undefined;
|
|
3121
|
-
|
|
3122
|
-
|
|
3123
|
-
|
|
3124
|
-
|
|
3125
|
-
amd?: string | undefined;
|
|
3126
|
-
commonjs2?: string | undefined;
|
|
3053
|
+
"asset/resource"?: {
|
|
3054
|
+
publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
3055
|
+
filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
3056
|
+
emit?: boolean | undefined;
|
|
3127
3057
|
} | undefined;
|
|
3128
|
-
export?: string | string[] | undefined;
|
|
3129
|
-
umdNamedDefine?: boolean | undefined;
|
|
3130
3058
|
} | undefined;
|
|
3131
|
-
|
|
3132
|
-
|
|
3133
|
-
|
|
3059
|
+
noParse?: string | RegExp | ((args_0: string, ...args: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args: unknown[]) => boolean))[] | undefined;
|
|
3060
|
+
} | undefined;
|
|
3061
|
+
profile?: boolean | undefined;
|
|
3062
|
+
cache?: boolean | undefined;
|
|
3063
|
+
amd?: false | Record<string, any> | undefined;
|
|
3134
3064
|
node?: false | {
|
|
3135
3065
|
global?: boolean | "warn" | undefined;
|
|
3136
3066
|
__dirname?: boolean | "warn-mock" | "mock" | "eval-only" | "node-module" | undefined;
|
|
3137
3067
|
__filename?: boolean | "warn-mock" | "mock" | "eval-only" | "node-module" | undefined;
|
|
3138
3068
|
} | undefined;
|
|
3139
|
-
|
|
3140
|
-
|
|
3141
|
-
|
|
3142
|
-
|
|
3143
|
-
|
|
3069
|
+
performance?: false | {
|
|
3070
|
+
maxAssetSize?: number | undefined;
|
|
3071
|
+
assetFilter?: ((args_0: string, ...args: unknown[]) => boolean) | undefined;
|
|
3072
|
+
hints?: false | "error" | "warning" | undefined;
|
|
3073
|
+
maxEntrypointSize?: number | undefined;
|
|
3074
|
+
} | undefined;
|
|
3075
|
+
mode?: "development" | "production" | "none" | undefined;
|
|
3144
3076
|
experiments?: {
|
|
3145
3077
|
css?: boolean | undefined;
|
|
3146
3078
|
cache?: boolean | {
|
|
3147
3079
|
type: "memory";
|
|
3148
3080
|
} | {
|
|
3149
3081
|
type: "persistent";
|
|
3150
|
-
|
|
3151
|
-
|
|
3152
|
-
|
|
3153
|
-
|
|
3154
|
-
|
|
3155
|
-
|
|
3082
|
+
version?: string | undefined;
|
|
3083
|
+
snapshot?: {
|
|
3084
|
+
immutablePaths?: (string | RegExp)[] | undefined;
|
|
3085
|
+
unmanagedPaths?: (string | RegExp)[] | undefined;
|
|
3086
|
+
managedPaths?: (string | RegExp)[] | undefined;
|
|
3087
|
+
} | undefined;
|
|
3088
|
+
buildDependencies?: string[] | undefined;
|
|
3089
|
+
storage?: {
|
|
3156
3090
|
type: "filesystem";
|
|
3157
|
-
directory
|
|
3158
|
-
};
|
|
3091
|
+
directory?: string | undefined;
|
|
3092
|
+
} | undefined;
|
|
3093
|
+
} | undefined;
|
|
3094
|
+
lazyCompilation?: boolean | {
|
|
3095
|
+
entries?: boolean | undefined;
|
|
3096
|
+
test?: RegExp | ((args_0: Module, ...args: unknown[]) => boolean) | undefined;
|
|
3097
|
+
imports?: boolean | undefined;
|
|
3098
|
+
backend?: {
|
|
3099
|
+
client?: string | undefined;
|
|
3100
|
+
listen?: number | {
|
|
3101
|
+
path?: string | undefined;
|
|
3102
|
+
port?: number | undefined;
|
|
3103
|
+
host?: string | undefined;
|
|
3104
|
+
backlog?: number | undefined;
|
|
3105
|
+
exclusive?: boolean | undefined;
|
|
3106
|
+
readableAll?: boolean | undefined;
|
|
3107
|
+
writableAll?: boolean | undefined;
|
|
3108
|
+
ipv6Only?: boolean | undefined;
|
|
3109
|
+
} | undefined;
|
|
3110
|
+
protocol?: "http" | "https" | undefined;
|
|
3111
|
+
} | undefined;
|
|
3159
3112
|
} | undefined;
|
|
3113
|
+
asyncWebAssembly?: boolean | undefined;
|
|
3114
|
+
outputModule?: boolean | undefined;
|
|
3160
3115
|
topLevelAwait?: boolean | undefined;
|
|
3161
3116
|
layers?: boolean | undefined;
|
|
3162
3117
|
incremental?: boolean | {
|
|
3163
|
-
make?: boolean | undefined;
|
|
3164
3118
|
providedExports?: boolean | undefined;
|
|
3119
|
+
make?: boolean | undefined;
|
|
3165
3120
|
inferAsyncModules?: boolean | undefined;
|
|
3166
3121
|
dependenciesDiagnostics?: boolean | undefined;
|
|
3122
|
+
sideEffects?: boolean | undefined;
|
|
3167
3123
|
buildChunkGraph?: boolean | undefined;
|
|
3168
3124
|
moduleIds?: boolean | undefined;
|
|
3169
3125
|
chunkIds?: boolean | undefined;
|
|
@@ -3175,79 +3131,206 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
3175
3131
|
chunksRender?: boolean | undefined;
|
|
3176
3132
|
emitAssets?: boolean | undefined;
|
|
3177
3133
|
} | undefined;
|
|
3134
|
+
futureDefaults?: boolean | undefined;
|
|
3178
3135
|
rspackFuture?: {
|
|
3179
3136
|
bundlerInfo?: {
|
|
3180
|
-
force?: boolean | ("version" | "uniqueId")[] | undefined;
|
|
3181
3137
|
version?: string | undefined;
|
|
3138
|
+
force?: boolean | ("version" | "uniqueId")[] | undefined;
|
|
3182
3139
|
bundler?: string | undefined;
|
|
3183
3140
|
} | undefined;
|
|
3184
3141
|
} | undefined;
|
|
3185
|
-
asyncWebAssembly?: boolean | undefined;
|
|
3186
|
-
outputModule?: boolean | undefined;
|
|
3187
|
-
futureDefaults?: boolean | undefined;
|
|
3188
|
-
lazyCompilation?: boolean | {
|
|
3189
|
-
entries?: boolean | undefined;
|
|
3190
|
-
imports?: boolean | undefined;
|
|
3191
|
-
test?: RegExp | ((args_0: Module, ...args: unknown[]) => boolean) | undefined;
|
|
3192
|
-
backend?: {
|
|
3193
|
-
client?: string | undefined;
|
|
3194
|
-
listen?: number | {
|
|
3195
|
-
path?: string | undefined;
|
|
3196
|
-
port?: number | undefined;
|
|
3197
|
-
host?: string | undefined;
|
|
3198
|
-
backlog?: number | undefined;
|
|
3199
|
-
exclusive?: boolean | undefined;
|
|
3200
|
-
readableAll?: boolean | undefined;
|
|
3201
|
-
writableAll?: boolean | undefined;
|
|
3202
|
-
ipv6Only?: boolean | undefined;
|
|
3203
|
-
} | undefined;
|
|
3204
|
-
protocol?: "http" | "https" | undefined;
|
|
3205
|
-
} | undefined;
|
|
3206
|
-
} | undefined;
|
|
3207
3142
|
} | undefined;
|
|
3208
|
-
|
|
3143
|
+
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;
|
|
3209
3144
|
resolve?: t.ResolveOptions | undefined;
|
|
3210
|
-
|
|
3211
|
-
|
|
3212
|
-
|
|
3213
|
-
|
|
3214
|
-
|
|
3215
|
-
|
|
3216
|
-
|
|
3217
|
-
|
|
3218
|
-
|
|
3219
|
-
|
|
3220
|
-
|
|
3221
|
-
|
|
3222
|
-
|
|
3223
|
-
|
|
3224
|
-
|
|
3225
|
-
|
|
3226
|
-
|
|
3227
|
-
|
|
3228
|
-
|
|
3145
|
+
stats?: boolean | "none" | "verbose" | "normal" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | {
|
|
3146
|
+
modules?: boolean | undefined;
|
|
3147
|
+
chunks?: boolean | undefined;
|
|
3148
|
+
ids?: boolean | undefined;
|
|
3149
|
+
runtime?: boolean | undefined;
|
|
3150
|
+
hash?: boolean | undefined;
|
|
3151
|
+
all?: boolean | undefined;
|
|
3152
|
+
version?: boolean | undefined;
|
|
3153
|
+
publicPath?: boolean | undefined;
|
|
3154
|
+
preset?: boolean | "none" | "verbose" | "normal" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | undefined;
|
|
3155
|
+
assets?: boolean | undefined;
|
|
3156
|
+
entrypoints?: boolean | "auto" | undefined;
|
|
3157
|
+
chunkGroups?: boolean | undefined;
|
|
3158
|
+
warnings?: boolean | undefined;
|
|
3159
|
+
warningsCount?: boolean | undefined;
|
|
3160
|
+
errors?: boolean | undefined;
|
|
3161
|
+
errorsCount?: boolean | undefined;
|
|
3162
|
+
colors?: boolean | undefined;
|
|
3163
|
+
reasons?: boolean | undefined;
|
|
3164
|
+
outputPath?: boolean | undefined;
|
|
3165
|
+
chunkModules?: boolean | undefined;
|
|
3166
|
+
chunkRelations?: boolean | undefined;
|
|
3167
|
+
timings?: boolean | undefined;
|
|
3168
|
+
builtAt?: boolean | undefined;
|
|
3169
|
+
moduleAssets?: boolean | undefined;
|
|
3170
|
+
nestedModules?: boolean | undefined;
|
|
3171
|
+
source?: boolean | undefined;
|
|
3172
|
+
logging?: boolean | "error" | "warn" | "info" | "log" | "none" | "verbose" | undefined;
|
|
3173
|
+
loggingDebug?: string | boolean | RegExp | ((args_0: string, ...args: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args: unknown[]) => boolean))[] | undefined;
|
|
3174
|
+
loggingTrace?: boolean | undefined;
|
|
3175
|
+
runtimeModules?: boolean | undefined;
|
|
3176
|
+
children?: boolean | undefined;
|
|
3177
|
+
usedExports?: boolean | undefined;
|
|
3178
|
+
providedExports?: boolean | undefined;
|
|
3179
|
+
optimizationBailout?: boolean | undefined;
|
|
3180
|
+
groupModulesByType?: boolean | undefined;
|
|
3181
|
+
groupModulesByCacheStatus?: boolean | undefined;
|
|
3182
|
+
groupModulesByLayer?: boolean | undefined;
|
|
3183
|
+
groupModulesByAttributes?: boolean | undefined;
|
|
3184
|
+
groupModulesByPath?: boolean | undefined;
|
|
3185
|
+
groupModulesByExtension?: boolean | undefined;
|
|
3186
|
+
modulesSpace?: number | undefined;
|
|
3187
|
+
chunkModulesSpace?: number | undefined;
|
|
3188
|
+
nestedModulesSpace?: number | undefined;
|
|
3189
|
+
relatedAssets?: boolean | undefined;
|
|
3190
|
+
groupAssetsByEmitStatus?: boolean | undefined;
|
|
3191
|
+
groupAssetsByInfo?: boolean | undefined;
|
|
3192
|
+
groupAssetsByPath?: boolean | undefined;
|
|
3193
|
+
groupAssetsByExtension?: boolean | undefined;
|
|
3194
|
+
groupAssetsByChunk?: boolean | undefined;
|
|
3195
|
+
assetsSpace?: number | undefined;
|
|
3196
|
+
orphanModules?: boolean | undefined;
|
|
3197
|
+
excludeModules?: string | boolean | RegExp | ((args_0: string, args_1: any, args_2: any) => boolean) | (string | RegExp | ((args_0: string, args_1: any, args_2: any) => boolean))[] | undefined;
|
|
3198
|
+
excludeAssets?: string | RegExp | ((args_0: string, args_1: any) => boolean) | (string | RegExp | ((args_0: string, args_1: any) => boolean))[] | undefined;
|
|
3199
|
+
modulesSort?: string | undefined;
|
|
3200
|
+
chunkModulesSort?: string | undefined;
|
|
3201
|
+
nestedModulesSort?: string | undefined;
|
|
3202
|
+
chunksSort?: string | undefined;
|
|
3203
|
+
assetsSort?: string | undefined;
|
|
3204
|
+
performance?: boolean | undefined;
|
|
3205
|
+
env?: boolean | undefined;
|
|
3206
|
+
chunkGroupAuxiliary?: boolean | undefined;
|
|
3207
|
+
chunkGroupChildren?: boolean | undefined;
|
|
3208
|
+
chunkGroupMaxAssets?: number | undefined;
|
|
3209
|
+
dependentModules?: boolean | undefined;
|
|
3210
|
+
chunkOrigins?: boolean | undefined;
|
|
3211
|
+
depth?: boolean | undefined;
|
|
3212
|
+
reasonsSpace?: number | undefined;
|
|
3213
|
+
groupReasonsByOrigin?: boolean | undefined;
|
|
3214
|
+
errorDetails?: boolean | undefined;
|
|
3215
|
+
errorStack?: boolean | undefined;
|
|
3216
|
+
moduleTrace?: boolean | undefined;
|
|
3217
|
+
cachedModules?: boolean | undefined;
|
|
3218
|
+
cachedAssets?: boolean | undefined;
|
|
3219
|
+
cached?: boolean | undefined;
|
|
3220
|
+
errorsSpace?: number | undefined;
|
|
3221
|
+
warningsSpace?: number | undefined;
|
|
3222
|
+
} | undefined;
|
|
3223
|
+
loader?: Record<string, any> | undefined;
|
|
3224
|
+
externals?: string | RegExp | Record<string, string | boolean | string[] | t.ExternalItemUmdValue | t.ExternalItemObjectValue> | ((args_0: t.ExternalItemFunctionData, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | t.ExternalItemUmdValue | t.ExternalItemObjectValue | undefined, args_2: "module" | "jsonp" | "import" | "var" | "assign" | "this" | "window" | "self" | "global" | "commonjs" | "commonjs2" | "commonjs-module" | "commonjs-static" | "amd" | "amd-require" | "umd" | "umd2" | "system" | "promise" | "module-import" | "script" | "node-commonjs" | "commonjs-import" | undefined, ...args: unknown[]) => void, ...args: unknown[]) => unknown) | ((args_0: t.ExternalItemFunctionData, ...args: unknown[]) => Promise<string | boolean | string[] | t.ExternalItemUmdValue | t.ExternalItemObjectValue>) | ((args_0: t.ExternalItemFunctionData, ...args: unknown[]) => string | boolean | string[] | t.ExternalItemUmdValue | t.ExternalItemObjectValue) | (string | RegExp | Record<string, string | boolean | string[] | t.ExternalItemUmdValue | t.ExternalItemObjectValue> | ((args_0: t.ExternalItemFunctionData, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | t.ExternalItemUmdValue | t.ExternalItemObjectValue | undefined, args_2: "module" | "jsonp" | "import" | "var" | "assign" | "this" | "window" | "self" | "global" | "commonjs" | "commonjs2" | "commonjs-module" | "commonjs-static" | "amd" | "amd-require" | "umd" | "umd2" | "system" | "promise" | "module-import" | "script" | "node-commonjs" | "commonjs-import" | undefined, ...args: unknown[]) => void, ...args: unknown[]) => unknown) | ((args_0: t.ExternalItemFunctionData, ...args: unknown[]) => Promise<string | boolean | string[] | t.ExternalItemUmdValue | t.ExternalItemObjectValue>) | ((args_0: t.ExternalItemFunctionData, ...args: unknown[]) => string | boolean | string[] | t.ExternalItemUmdValue | t.ExternalItemObjectValue))[] | undefined;
|
|
3225
|
+
target?: false | "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" | "es3" | "es5" | "es2015" | "es2016" | "es2017" | "es2018" | "es2019" | "es2020" | "es2021" | "es2022" | "node" | "electron-main" | "electron-renderer" | "electron-preload" | "nwjs" | "node-webkit" | "browserslist" | ("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" | "es3" | "es5" | "es2015" | "es2016" | "es2017" | "es2018" | "es2019" | "es2020" | "es2021" | "es2022" | "node" | "electron-main" | "electron-renderer" | "electron-preload" | "nwjs" | "node-webkit" | "browserslist")[] | undefined;
|
|
3226
|
+
entry?: string | string[] | Record<string, string | string[] | {
|
|
3227
|
+
import: string | string[];
|
|
3228
|
+
layer?: string | null | undefined;
|
|
3229
|
+
runtime?: string | false | undefined;
|
|
3230
|
+
chunkLoading?: string | false | undefined;
|
|
3231
|
+
asyncChunks?: boolean | undefined;
|
|
3232
|
+
publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
3233
|
+
baseUri?: string | undefined;
|
|
3234
|
+
filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
3235
|
+
library?: {
|
|
3236
|
+
type: string;
|
|
3237
|
+
name?: string | string[] | {
|
|
3238
|
+
commonjs?: string | undefined;
|
|
3239
|
+
amd?: string | undefined;
|
|
3240
|
+
root?: string | string[] | undefined;
|
|
3241
|
+
} | undefined;
|
|
3242
|
+
amdContainer?: string | undefined;
|
|
3243
|
+
auxiliaryComment?: string | {
|
|
3244
|
+
commonjs?: string | undefined;
|
|
3245
|
+
commonjs2?: string | undefined;
|
|
3246
|
+
amd?: string | undefined;
|
|
3247
|
+
root?: string | undefined;
|
|
3248
|
+
} | undefined;
|
|
3249
|
+
export?: string | string[] | undefined;
|
|
3250
|
+
umdNamedDefine?: boolean | undefined;
|
|
3229
3251
|
} | undefined;
|
|
3230
|
-
|
|
3231
|
-
|
|
3252
|
+
wasmLoading?: string | false | undefined;
|
|
3253
|
+
dependOn?: string | string[] | undefined;
|
|
3254
|
+
}> | ((...args: unknown[]) => string | string[] | Record<string, string | string[] | {
|
|
3255
|
+
import: string | string[];
|
|
3256
|
+
layer?: string | null | undefined;
|
|
3257
|
+
runtime?: string | false | undefined;
|
|
3258
|
+
chunkLoading?: string | false | undefined;
|
|
3259
|
+
asyncChunks?: boolean | undefined;
|
|
3260
|
+
publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
3261
|
+
baseUri?: string | undefined;
|
|
3262
|
+
filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
3263
|
+
library?: {
|
|
3264
|
+
type: string;
|
|
3265
|
+
name?: string | string[] | {
|
|
3266
|
+
commonjs?: string | undefined;
|
|
3267
|
+
amd?: string | undefined;
|
|
3268
|
+
root?: string | string[] | undefined;
|
|
3269
|
+
} | undefined;
|
|
3270
|
+
amdContainer?: string | undefined;
|
|
3271
|
+
auxiliaryComment?: string | {
|
|
3272
|
+
commonjs?: string | undefined;
|
|
3273
|
+
commonjs2?: string | undefined;
|
|
3274
|
+
amd?: string | undefined;
|
|
3275
|
+
root?: string | undefined;
|
|
3276
|
+
} | undefined;
|
|
3277
|
+
export?: string | string[] | undefined;
|
|
3278
|
+
umdNamedDefine?: boolean | undefined;
|
|
3279
|
+
} | undefined;
|
|
3280
|
+
wasmLoading?: string | false | undefined;
|
|
3281
|
+
dependOn?: string | string[] | undefined;
|
|
3282
|
+
}> | Promise<string | string[] | Record<string, string | string[] | {
|
|
3283
|
+
import: string | string[];
|
|
3284
|
+
layer?: string | null | undefined;
|
|
3285
|
+
runtime?: string | false | undefined;
|
|
3286
|
+
chunkLoading?: string | false | undefined;
|
|
3287
|
+
asyncChunks?: boolean | undefined;
|
|
3288
|
+
publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
3289
|
+
baseUri?: string | undefined;
|
|
3290
|
+
filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
3291
|
+
library?: {
|
|
3292
|
+
type: string;
|
|
3293
|
+
name?: string | string[] | {
|
|
3294
|
+
commonjs?: string | undefined;
|
|
3295
|
+
amd?: string | undefined;
|
|
3296
|
+
root?: string | string[] | undefined;
|
|
3297
|
+
} | undefined;
|
|
3298
|
+
amdContainer?: string | undefined;
|
|
3299
|
+
auxiliaryComment?: string | {
|
|
3300
|
+
commonjs?: string | undefined;
|
|
3301
|
+
commonjs2?: string | undefined;
|
|
3302
|
+
amd?: string | undefined;
|
|
3303
|
+
root?: string | undefined;
|
|
3304
|
+
} | undefined;
|
|
3305
|
+
export?: string | string[] | undefined;
|
|
3306
|
+
umdNamedDefine?: boolean | undefined;
|
|
3307
|
+
} | undefined;
|
|
3308
|
+
wasmLoading?: string | false | undefined;
|
|
3309
|
+
dependOn?: string | string[] | undefined;
|
|
3310
|
+
}>>) | undefined;
|
|
3311
|
+
output?: {
|
|
3312
|
+
module?: boolean | undefined;
|
|
3232
3313
|
chunkLoading?: string | false | undefined;
|
|
3233
3314
|
asyncChunks?: boolean | undefined;
|
|
3315
|
+
publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
3316
|
+
filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
3234
3317
|
library?: string | string[] | {
|
|
3235
|
-
root?: string | string[] | undefined;
|
|
3236
3318
|
commonjs?: string | undefined;
|
|
3237
3319
|
amd?: string | undefined;
|
|
3320
|
+
root?: string | string[] | undefined;
|
|
3238
3321
|
} | {
|
|
3239
3322
|
type: string;
|
|
3240
3323
|
name?: string | string[] | {
|
|
3241
|
-
root?: string | string[] | undefined;
|
|
3242
3324
|
commonjs?: string | undefined;
|
|
3243
3325
|
amd?: string | undefined;
|
|
3326
|
+
root?: string | string[] | undefined;
|
|
3244
3327
|
} | undefined;
|
|
3245
3328
|
amdContainer?: string | undefined;
|
|
3246
3329
|
auxiliaryComment?: string | {
|
|
3247
|
-
root?: string | undefined;
|
|
3248
3330
|
commonjs?: string | undefined;
|
|
3249
|
-
amd?: string | undefined;
|
|
3250
3331
|
commonjs2?: string | undefined;
|
|
3332
|
+
amd?: string | undefined;
|
|
3333
|
+
root?: string | undefined;
|
|
3251
3334
|
} | undefined;
|
|
3252
3335
|
export?: string | string[] | undefined;
|
|
3253
3336
|
umdNamedDefine?: boolean | undefined;
|
|
@@ -3255,24 +3338,26 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
3255
3338
|
wasmLoading?: string | false | undefined;
|
|
3256
3339
|
cssHeadDataCompression?: boolean | undefined;
|
|
3257
3340
|
auxiliaryComment?: string | {
|
|
3258
|
-
root?: string | undefined;
|
|
3259
3341
|
commonjs?: string | undefined;
|
|
3260
|
-
amd?: string | undefined;
|
|
3261
3342
|
commonjs2?: string | undefined;
|
|
3343
|
+
amd?: string | undefined;
|
|
3344
|
+
root?: string | undefined;
|
|
3262
3345
|
} | undefined;
|
|
3263
3346
|
umdNamedDefine?: boolean | undefined;
|
|
3264
|
-
|
|
3265
|
-
uniqueName?: string | undefined;
|
|
3347
|
+
path?: string | undefined;
|
|
3266
3348
|
pathinfo?: boolean | "verbose" | undefined;
|
|
3267
3349
|
clean?: boolean | {
|
|
3268
3350
|
keep?: string | undefined;
|
|
3269
3351
|
} | undefined;
|
|
3352
|
+
chunkFilename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
3353
|
+
crossOriginLoading?: false | "anonymous" | "use-credentials" | undefined;
|
|
3270
3354
|
cssFilename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
3271
3355
|
cssChunkFilename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
3272
3356
|
hotUpdateMainFilename?: string | undefined;
|
|
3273
3357
|
hotUpdateChunkFilename?: string | undefined;
|
|
3274
3358
|
hotUpdateGlobal?: string | undefined;
|
|
3275
3359
|
assetModuleFilename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
3360
|
+
uniqueName?: string | undefined;
|
|
3276
3361
|
chunkLoadingGlobal?: string | undefined;
|
|
3277
3362
|
enabledLibraryTypes?: string[] | undefined;
|
|
3278
3363
|
strictModuleErrorHandling?: boolean | undefined;
|
|
@@ -3291,7 +3376,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
3291
3376
|
sourceMapFilename?: string | undefined;
|
|
3292
3377
|
hashDigest?: string | undefined;
|
|
3293
3378
|
hashDigestLength?: number | undefined;
|
|
3294
|
-
hashFunction?: "
|
|
3379
|
+
hashFunction?: "md4" | "xxhash64" | undefined;
|
|
3295
3380
|
hashSalt?: string | undefined;
|
|
3296
3381
|
workerChunkLoading?: string | false | undefined;
|
|
3297
3382
|
workerWasmLoading?: string | false | undefined;
|
|
@@ -3300,6 +3385,22 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
3300
3385
|
devtoolNamespace?: string | undefined;
|
|
3301
3386
|
devtoolModuleFilenameTemplate?: string | ((args_0: any) => any) | undefined;
|
|
3302
3387
|
devtoolFallbackModuleFilenameTemplate?: string | ((args_0: any) => any) | undefined;
|
|
3388
|
+
environment?: {
|
|
3389
|
+
module?: boolean | undefined;
|
|
3390
|
+
document?: boolean | undefined;
|
|
3391
|
+
nodePrefixForCoreModules?: boolean | undefined;
|
|
3392
|
+
globalThis?: boolean | undefined;
|
|
3393
|
+
bigIntLiteral?: boolean | undefined;
|
|
3394
|
+
const?: boolean | undefined;
|
|
3395
|
+
arrowFunction?: boolean | undefined;
|
|
3396
|
+
forOf?: boolean | undefined;
|
|
3397
|
+
destructuring?: boolean | undefined;
|
|
3398
|
+
dynamicImport?: boolean | undefined;
|
|
3399
|
+
dynamicImportInWorker?: boolean | undefined;
|
|
3400
|
+
optionalChaining?: boolean | undefined;
|
|
3401
|
+
templateLiteral?: boolean | undefined;
|
|
3402
|
+
asyncFunction?: boolean | undefined;
|
|
3403
|
+
} | undefined;
|
|
3303
3404
|
charset?: boolean | undefined;
|
|
3304
3405
|
chunkLoadTimeout?: number | undefined;
|
|
3305
3406
|
compareBeforeEmit?: boolean | undefined;
|
|
@@ -3307,173 +3408,94 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
3307
3408
|
libraryTarget?: string | undefined;
|
|
3308
3409
|
strictModuleExceptionHandling?: boolean | undefined;
|
|
3309
3410
|
} | undefined;
|
|
3411
|
+
resolveLoader?: t.ResolveOptions | undefined;
|
|
3412
|
+
externalsType?: "module" | "jsonp" | "import" | "var" | "assign" | "this" | "window" | "self" | "global" | "commonjs" | "commonjs2" | "commonjs-module" | "commonjs-static" | "amd" | "amd-require" | "umd" | "umd2" | "system" | "promise" | "module-import" | "script" | "node-commonjs" | "commonjs-import" | undefined;
|
|
3413
|
+
externalsPresets?: {
|
|
3414
|
+
web?: boolean | undefined;
|
|
3415
|
+
node?: boolean | undefined;
|
|
3416
|
+
nwjs?: boolean | undefined;
|
|
3417
|
+
electron?: boolean | undefined;
|
|
3418
|
+
electronMain?: boolean | undefined;
|
|
3419
|
+
electronPreload?: boolean | undefined;
|
|
3420
|
+
electronRenderer?: boolean | undefined;
|
|
3421
|
+
webAsync?: boolean | undefined;
|
|
3422
|
+
} | undefined;
|
|
3423
|
+
infrastructureLogging?: {
|
|
3424
|
+
debug?: string | boolean | RegExp | ((args_0: string, ...args: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args: unknown[]) => boolean))[] | undefined;
|
|
3425
|
+
colors?: boolean | undefined;
|
|
3426
|
+
stream?: NodeJS.WritableStream | undefined;
|
|
3427
|
+
appendOnly?: boolean | undefined;
|
|
3428
|
+
console?: Console | undefined;
|
|
3429
|
+
level?: "error" | "warn" | "info" | "log" | "none" | "verbose" | undefined;
|
|
3430
|
+
} | undefined;
|
|
3431
|
+
snapshot?: {} | undefined;
|
|
3310
3432
|
optimization?: {
|
|
3433
|
+
usedExports?: boolean | "global" | undefined;
|
|
3434
|
+
providedExports?: boolean | undefined;
|
|
3435
|
+
sideEffects?: boolean | "flag" | undefined;
|
|
3436
|
+
moduleIds?: "named" | "natural" | "deterministic" | undefined;
|
|
3437
|
+
chunkIds?: "size" | "named" | "natural" | "deterministic" | "total-size" | undefined;
|
|
3438
|
+
minimize?: boolean | undefined;
|
|
3439
|
+
minimizer?: (false | "" | 0 | "..." | t.RspackPluginInstance | t.WebpackPluginInstance | t.RspackPluginFunction | t.WebpackPluginFunction | null | undefined)[] | undefined;
|
|
3440
|
+
mergeDuplicateChunks?: boolean | undefined;
|
|
3311
3441
|
splitChunks?: false | {
|
|
3442
|
+
chunks?: RegExp | "initial" | "async" | "all" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
|
3312
3443
|
name?: string | false | ((args_0: Module | undefined, ...args: unknown[]) => unknown) | undefined;
|
|
3313
|
-
chunks?: RegExp | "all" | "async" | "initial" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
|
3314
3444
|
usedExports?: boolean | undefined;
|
|
3315
3445
|
defaultSizeTypes?: string[] | undefined;
|
|
3316
3446
|
cacheGroups?: Record<string, false | {
|
|
3317
3447
|
type?: string | RegExp | undefined;
|
|
3318
|
-
|
|
3448
|
+
chunks?: RegExp | "initial" | "async" | "all" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
|
3319
3449
|
name?: string | false | ((args_0: Module | undefined, ...args: unknown[]) => unknown) | undefined;
|
|
3320
|
-
|
|
3321
|
-
chunks?: RegExp | "all" | "async" | "initial" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
|
3450
|
+
filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
3322
3451
|
usedExports?: boolean | undefined;
|
|
3323
3452
|
defaultSizeTypes?: string[] | undefined;
|
|
3324
3453
|
maxSize?: number | Record<string, number> | undefined;
|
|
3325
|
-
|
|
3454
|
+
priority?: number | undefined;
|
|
3326
3455
|
minSize?: number | Record<string, number> | undefined;
|
|
3327
3456
|
maxAsyncSize?: number | Record<string, number> | undefined;
|
|
3328
3457
|
maxInitialSize?: number | Record<string, number> | undefined;
|
|
3458
|
+
minChunks?: number | undefined;
|
|
3329
3459
|
maxAsyncRequests?: number | undefined;
|
|
3330
3460
|
maxInitialRequests?: number | undefined;
|
|
3331
3461
|
automaticNameDelimiter?: string | undefined;
|
|
3332
3462
|
test?: string | RegExp | ((args_0: Module, ...args: unknown[]) => unknown) | undefined;
|
|
3333
|
-
idHint?: string | undefined;
|
|
3334
|
-
reuseExistingChunk?: boolean | undefined;
|
|
3335
3463
|
enforce?: boolean | undefined;
|
|
3464
|
+
reuseExistingChunk?: boolean | undefined;
|
|
3465
|
+
idHint?: string | undefined;
|
|
3336
3466
|
}> | undefined;
|
|
3337
3467
|
maxSize?: number | Record<string, number> | undefined;
|
|
3338
3468
|
fallbackCacheGroup?: {
|
|
3339
|
-
chunks?: RegExp | "
|
|
3469
|
+
chunks?: RegExp | "initial" | "async" | "all" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
|
3340
3470
|
maxSize?: number | undefined;
|
|
3341
3471
|
minSize?: number | undefined;
|
|
3342
3472
|
maxAsyncSize?: number | undefined;
|
|
3343
3473
|
maxInitialSize?: number | undefined;
|
|
3344
3474
|
automaticNameDelimiter?: string | undefined;
|
|
3345
3475
|
} | undefined;
|
|
3346
|
-
hidePathInfo?: boolean | undefined;
|
|
3347
|
-
minChunks?: number | undefined;
|
|
3348
3476
|
minSize?: number | Record<string, number> | undefined;
|
|
3349
3477
|
maxAsyncSize?: number | Record<string, number> | undefined;
|
|
3350
3478
|
maxInitialSize?: number | Record<string, number> | undefined;
|
|
3479
|
+
hidePathInfo?: boolean | undefined;
|
|
3480
|
+
minChunks?: number | undefined;
|
|
3351
3481
|
maxAsyncRequests?: number | undefined;
|
|
3352
3482
|
maxInitialRequests?: number | undefined;
|
|
3353
3483
|
automaticNameDelimiter?: string | undefined;
|
|
3354
3484
|
} | undefined;
|
|
3355
|
-
usedExports?: boolean | "global" | undefined;
|
|
3356
|
-
providedExports?: boolean | undefined;
|
|
3357
|
-
moduleIds?: "named" | "natural" | "deterministic" | undefined;
|
|
3358
|
-
chunkIds?: "named" | "natural" | "deterministic" | undefined;
|
|
3359
|
-
removeAvailableModules?: boolean | undefined;
|
|
3360
|
-
minimize?: boolean | undefined;
|
|
3361
|
-
minimizer?: (false | "" | 0 | t.RspackPluginInstance | "..." | t.WebpackPluginInstance | t.RspackPluginFunction | t.WebpackPluginFunction | null | undefined)[] | undefined;
|
|
3362
|
-
mergeDuplicateChunks?: boolean | undefined;
|
|
3363
3485
|
runtimeChunk?: boolean | "single" | "multiple" | {
|
|
3364
3486
|
name?: string | ((args_0: {
|
|
3365
3487
|
name: string;
|
|
3366
3488
|
}, ...args: unknown[]) => string) | undefined;
|
|
3367
3489
|
} | undefined;
|
|
3490
|
+
removeAvailableModules?: boolean | undefined;
|
|
3368
3491
|
removeEmptyChunks?: boolean | undefined;
|
|
3369
3492
|
realContentHash?: boolean | undefined;
|
|
3370
|
-
sideEffects?: boolean | "flag" | undefined;
|
|
3371
3493
|
concatenateModules?: boolean | undefined;
|
|
3372
3494
|
innerGraph?: boolean | undefined;
|
|
3373
3495
|
mangleExports?: boolean | "size" | "deterministic" | undefined;
|
|
3374
3496
|
nodeEnv?: string | false | undefined;
|
|
3375
3497
|
emitOnErrors?: boolean | undefined;
|
|
3376
|
-
|
|
3377
|
-
snapshot?: {} | undefined;
|
|
3378
|
-
stats?: boolean | "verbose" | "normal" | "none" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | {
|
|
3379
|
-
modules?: boolean | undefined;
|
|
3380
|
-
publicPath?: boolean | undefined;
|
|
3381
|
-
all?: boolean | undefined;
|
|
3382
|
-
preset?: boolean | "verbose" | "normal" | "none" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | undefined;
|
|
3383
|
-
assets?: boolean | undefined;
|
|
3384
|
-
chunks?: boolean | undefined;
|
|
3385
|
-
entrypoints?: boolean | "auto" | undefined;
|
|
3386
|
-
chunkGroups?: boolean | undefined;
|
|
3387
|
-
warnings?: boolean | undefined;
|
|
3388
|
-
warningsCount?: boolean | undefined;
|
|
3389
|
-
errors?: boolean | undefined;
|
|
3390
|
-
errorsCount?: boolean | undefined;
|
|
3391
|
-
colors?: boolean | undefined;
|
|
3392
|
-
hash?: boolean | undefined;
|
|
3393
|
-
version?: boolean | undefined;
|
|
3394
|
-
reasons?: boolean | undefined;
|
|
3395
|
-
outputPath?: boolean | undefined;
|
|
3396
|
-
chunkModules?: boolean | undefined;
|
|
3397
|
-
chunkRelations?: boolean | undefined;
|
|
3398
|
-
ids?: boolean | undefined;
|
|
3399
|
-
timings?: boolean | undefined;
|
|
3400
|
-
builtAt?: boolean | undefined;
|
|
3401
|
-
moduleAssets?: boolean | undefined;
|
|
3402
|
-
nestedModules?: boolean | undefined;
|
|
3403
|
-
source?: boolean | undefined;
|
|
3404
|
-
logging?: boolean | "log" | "info" | "verbose" | "none" | "error" | "warn" | undefined;
|
|
3405
|
-
loggingDebug?: string | boolean | RegExp | ((args_0: string, ...args: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args: unknown[]) => boolean))[] | undefined;
|
|
3406
|
-
loggingTrace?: boolean | undefined;
|
|
3407
|
-
runtimeModules?: boolean | undefined;
|
|
3408
|
-
children?: boolean | undefined;
|
|
3409
|
-
usedExports?: boolean | undefined;
|
|
3410
|
-
providedExports?: boolean | undefined;
|
|
3411
|
-
optimizationBailout?: boolean | undefined;
|
|
3412
|
-
groupModulesByType?: boolean | undefined;
|
|
3413
|
-
groupModulesByCacheStatus?: boolean | undefined;
|
|
3414
|
-
groupModulesByLayer?: boolean | undefined;
|
|
3415
|
-
groupModulesByAttributes?: boolean | undefined;
|
|
3416
|
-
groupModulesByPath?: boolean | undefined;
|
|
3417
|
-
groupModulesByExtension?: boolean | undefined;
|
|
3418
|
-
modulesSpace?: number | undefined;
|
|
3419
|
-
chunkModulesSpace?: number | undefined;
|
|
3420
|
-
nestedModulesSpace?: number | undefined;
|
|
3421
|
-
relatedAssets?: boolean | undefined;
|
|
3422
|
-
groupAssetsByEmitStatus?: boolean | undefined;
|
|
3423
|
-
groupAssetsByInfo?: boolean | undefined;
|
|
3424
|
-
groupAssetsByPath?: boolean | undefined;
|
|
3425
|
-
groupAssetsByExtension?: boolean | undefined;
|
|
3426
|
-
groupAssetsByChunk?: boolean | undefined;
|
|
3427
|
-
assetsSpace?: number | undefined;
|
|
3428
|
-
orphanModules?: boolean | undefined;
|
|
3429
|
-
excludeModules?: string | boolean | RegExp | ((args_0: string, args_1: any, args_2: any) => boolean) | (string | RegExp | ((args_0: string, args_1: any, args_2: any) => boolean))[] | undefined;
|
|
3430
|
-
excludeAssets?: string | RegExp | ((args_0: string, args_1: any) => boolean) | (string | RegExp | ((args_0: string, args_1: any) => boolean))[] | undefined;
|
|
3431
|
-
modulesSort?: string | undefined;
|
|
3432
|
-
chunkModulesSort?: string | undefined;
|
|
3433
|
-
nestedModulesSort?: string | undefined;
|
|
3434
|
-
chunksSort?: string | undefined;
|
|
3435
|
-
assetsSort?: string | undefined;
|
|
3436
|
-
performance?: boolean | undefined;
|
|
3437
|
-
env?: boolean | undefined;
|
|
3438
|
-
chunkGroupAuxiliary?: boolean | undefined;
|
|
3439
|
-
chunkGroupChildren?: boolean | undefined;
|
|
3440
|
-
chunkGroupMaxAssets?: number | undefined;
|
|
3441
|
-
dependentModules?: boolean | undefined;
|
|
3442
|
-
chunkOrigins?: boolean | undefined;
|
|
3443
|
-
runtime?: boolean | undefined;
|
|
3444
|
-
depth?: boolean | undefined;
|
|
3445
|
-
reasonsSpace?: number | undefined;
|
|
3446
|
-
groupReasonsByOrigin?: boolean | undefined;
|
|
3447
|
-
errorDetails?: boolean | undefined;
|
|
3448
|
-
errorStack?: boolean | undefined;
|
|
3449
|
-
moduleTrace?: boolean | undefined;
|
|
3450
|
-
cachedModules?: boolean | undefined;
|
|
3451
|
-
cachedAssets?: boolean | undefined;
|
|
3452
|
-
cached?: boolean | undefined;
|
|
3453
|
-
errorsSpace?: number | undefined;
|
|
3454
|
-
warningsSpace?: number | undefined;
|
|
3455
|
-
} | undefined;
|
|
3456
|
-
loader?: Record<string, any> | undefined;
|
|
3457
|
-
resolveLoader?: t.ResolveOptions | undefined;
|
|
3458
|
-
externals?: string | RegExp | Record<string, string | boolean | string[] | t.ExternalItemUmdValue | t.ExternalItemObjectValue> | ((args_0: t.ExternalItemFunctionData, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | t.ExternalItemUmdValue | t.ExternalItemObjectValue | undefined, args_2: "module" | "global" | "system" | "script" | "commonjs" | "umd" | "amd" | "var" | "jsonp" | "import" | "assign" | "this" | "window" | "self" | "commonjs2" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd2" | "promise" | "module-import" | "node-commonjs" | "commonjs-import" | undefined, ...args: unknown[]) => void, ...args: unknown[]) => unknown) | ((args_0: t.ExternalItemFunctionData, ...args: unknown[]) => Promise<string | boolean | string[] | t.ExternalItemUmdValue | t.ExternalItemObjectValue>) | (string | RegExp | Record<string, string | boolean | string[] | t.ExternalItemUmdValue | t.ExternalItemObjectValue> | ((args_0: t.ExternalItemFunctionData, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | t.ExternalItemUmdValue | t.ExternalItemObjectValue | undefined, args_2: "module" | "global" | "system" | "script" | "commonjs" | "umd" | "amd" | "var" | "jsonp" | "import" | "assign" | "this" | "window" | "self" | "commonjs2" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd2" | "promise" | "module-import" | "node-commonjs" | "commonjs-import" | undefined, ...args: unknown[]) => void, ...args: unknown[]) => unknown) | ((args_0: t.ExternalItemFunctionData, ...args: unknown[]) => Promise<string | boolean | string[] | t.ExternalItemUmdValue | t.ExternalItemObjectValue>))[] | undefined;
|
|
3459
|
-
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" | "commonjs-import" | undefined;
|
|
3460
|
-
externalsPresets?: {
|
|
3461
|
-
node?: boolean | undefined;
|
|
3462
|
-
web?: boolean | undefined;
|
|
3463
|
-
nwjs?: boolean | undefined;
|
|
3464
|
-
electron?: boolean | undefined;
|
|
3465
|
-
electronMain?: boolean | undefined;
|
|
3466
|
-
electronPreload?: boolean | undefined;
|
|
3467
|
-
electronRenderer?: boolean | undefined;
|
|
3468
|
-
webAsync?: boolean | undefined;
|
|
3469
|
-
} | undefined;
|
|
3470
|
-
infrastructureLogging?: {
|
|
3471
|
-
debug?: string | boolean | RegExp | ((args_0: string, ...args: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args: unknown[]) => boolean))[] | undefined;
|
|
3472
|
-
colors?: boolean | undefined;
|
|
3473
|
-
stream?: NodeJS.WritableStream | undefined;
|
|
3474
|
-
appendOnly?: boolean | undefined;
|
|
3475
|
-
console?: Console | undefined;
|
|
3476
|
-
level?: "log" | "info" | "verbose" | "none" | "error" | "warn" | undefined;
|
|
3498
|
+
avoidEntryIife?: boolean | undefined;
|
|
3477
3499
|
} | undefined;
|
|
3478
3500
|
plugins?: (false | "" | 0 | t.RspackPluginInstance | t.WebpackPluginInstance | t.RspackPluginFunction | t.WebpackPluginFunction | null | undefined)[] | undefined;
|
|
3479
3501
|
watch?: boolean | undefined;
|
|
@@ -3490,54 +3512,25 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
3490
3512
|
}, {
|
|
3491
3513
|
dependencies?: string[] | undefined;
|
|
3492
3514
|
context?: string | undefined;
|
|
3515
|
+
name?: string | undefined;
|
|
3493
3516
|
module?: {
|
|
3494
|
-
|
|
3517
|
+
defaultRules?: (false | "" | 0 | t.RuleSetRule | "..." | null | undefined)[] | undefined;
|
|
3518
|
+
rules?: (false | "" | 0 | t.RuleSetRule | "..." | null | undefined)[] | undefined;
|
|
3519
|
+
parser?: {
|
|
3495
3520
|
css?: {
|
|
3496
|
-
|
|
3497
|
-
esModule?: boolean | undefined;
|
|
3498
|
-
} | undefined;
|
|
3499
|
-
"css/auto"?: {
|
|
3500
|
-
exportsOnly?: boolean | undefined;
|
|
3501
|
-
esModule?: boolean | undefined;
|
|
3502
|
-
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
3503
|
-
localIdentName?: string | undefined;
|
|
3504
|
-
} | undefined;
|
|
3505
|
-
"css/module"?: {
|
|
3506
|
-
exportsOnly?: boolean | undefined;
|
|
3507
|
-
esModule?: boolean | undefined;
|
|
3508
|
-
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
3509
|
-
localIdentName?: string | undefined;
|
|
3521
|
+
namedExports?: boolean | undefined;
|
|
3510
3522
|
} | undefined;
|
|
3511
3523
|
asset?: {
|
|
3512
|
-
|
|
3513
|
-
|
|
3514
|
-
|
|
3515
|
-
dataUrl?: {
|
|
3516
|
-
encoding?: false | "base64" | undefined;
|
|
3517
|
-
mimetype?: string | undefined;
|
|
3518
|
-
} | ((args_0: {
|
|
3519
|
-
filename: string;
|
|
3520
|
-
content: string;
|
|
3521
|
-
}, ...args: unknown[]) => string) | undefined;
|
|
3524
|
+
dataUrlCondition?: {
|
|
3525
|
+
maxSize?: number | undefined;
|
|
3526
|
+
} | undefined;
|
|
3522
3527
|
} | undefined;
|
|
3523
|
-
"
|
|
3524
|
-
|
|
3525
|
-
encoding?: false | "base64" | undefined;
|
|
3526
|
-
mimetype?: string | undefined;
|
|
3527
|
-
} | ((args_0: {
|
|
3528
|
-
filename: string;
|
|
3529
|
-
content: string;
|
|
3530
|
-
}, ...args: unknown[]) => string) | undefined;
|
|
3528
|
+
"css/auto"?: {
|
|
3529
|
+
namedExports?: boolean | undefined;
|
|
3531
3530
|
} | undefined;
|
|
3532
|
-
"
|
|
3533
|
-
|
|
3534
|
-
publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
3535
|
-
emit?: boolean | undefined;
|
|
3531
|
+
"css/module"?: {
|
|
3532
|
+
namedExports?: boolean | undefined;
|
|
3536
3533
|
} | undefined;
|
|
3537
|
-
} | undefined;
|
|
3538
|
-
defaultRules?: (false | "" | 0 | "..." | t.RuleSetRule | null | undefined)[] | undefined;
|
|
3539
|
-
rules?: (false | "" | 0 | "..." | t.RuleSetRule | null | undefined)[] | undefined;
|
|
3540
|
-
parser?: {
|
|
3541
3534
|
javascript?: {
|
|
3542
3535
|
dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined;
|
|
3543
3536
|
dynamicImportPreload?: number | boolean | undefined;
|
|
@@ -3548,9 +3541,9 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
3548
3541
|
exprContextCritical?: boolean | undefined;
|
|
3549
3542
|
wrappedContextCritical?: boolean | undefined;
|
|
3550
3543
|
wrappedContextRegExp?: RegExp | undefined;
|
|
3551
|
-
exportsPresence?: false | "
|
|
3552
|
-
importExportsPresence?: false | "
|
|
3553
|
-
reexportExportsPresence?: false | "
|
|
3544
|
+
exportsPresence?: false | "error" | "warn" | "auto" | undefined;
|
|
3545
|
+
importExportsPresence?: false | "error" | "warn" | "auto" | undefined;
|
|
3546
|
+
reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined;
|
|
3554
3547
|
strictExportPresence?: boolean | undefined;
|
|
3555
3548
|
worker?: boolean | string[] | undefined;
|
|
3556
3549
|
overrideStrict?: "strict" | "non-strict" | undefined;
|
|
@@ -3559,20 +3552,6 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
3559
3552
|
requireResolve?: boolean | undefined;
|
|
3560
3553
|
importDynamic?: boolean | undefined;
|
|
3561
3554
|
} | undefined;
|
|
3562
|
-
css?: {
|
|
3563
|
-
namedExports?: boolean | undefined;
|
|
3564
|
-
} | undefined;
|
|
3565
|
-
"css/auto"?: {
|
|
3566
|
-
namedExports?: boolean | undefined;
|
|
3567
|
-
} | undefined;
|
|
3568
|
-
"css/module"?: {
|
|
3569
|
-
namedExports?: boolean | undefined;
|
|
3570
|
-
} | undefined;
|
|
3571
|
-
asset?: {
|
|
3572
|
-
dataUrlCondition?: {
|
|
3573
|
-
maxSize?: number | undefined;
|
|
3574
|
-
} | undefined;
|
|
3575
|
-
} | undefined;
|
|
3576
3555
|
"javascript/auto"?: {
|
|
3577
3556
|
dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined;
|
|
3578
3557
|
dynamicImportPreload?: number | boolean | undefined;
|
|
@@ -3583,9 +3562,9 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
3583
3562
|
exprContextCritical?: boolean | undefined;
|
|
3584
3563
|
wrappedContextCritical?: boolean | undefined;
|
|
3585
3564
|
wrappedContextRegExp?: RegExp | undefined;
|
|
3586
|
-
exportsPresence?: false | "
|
|
3587
|
-
importExportsPresence?: false | "
|
|
3588
|
-
reexportExportsPresence?: false | "
|
|
3565
|
+
exportsPresence?: false | "error" | "warn" | "auto" | undefined;
|
|
3566
|
+
importExportsPresence?: false | "error" | "warn" | "auto" | undefined;
|
|
3567
|
+
reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined;
|
|
3589
3568
|
strictExportPresence?: boolean | undefined;
|
|
3590
3569
|
worker?: boolean | string[] | undefined;
|
|
3591
3570
|
overrideStrict?: "strict" | "non-strict" | undefined;
|
|
@@ -3604,9 +3583,9 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
3604
3583
|
exprContextCritical?: boolean | undefined;
|
|
3605
3584
|
wrappedContextCritical?: boolean | undefined;
|
|
3606
3585
|
wrappedContextRegExp?: RegExp | undefined;
|
|
3607
|
-
exportsPresence?: false | "
|
|
3608
|
-
importExportsPresence?: false | "
|
|
3609
|
-
reexportExportsPresence?: false | "
|
|
3586
|
+
exportsPresence?: false | "error" | "warn" | "auto" | undefined;
|
|
3587
|
+
importExportsPresence?: false | "error" | "warn" | "auto" | undefined;
|
|
3588
|
+
reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined;
|
|
3610
3589
|
strictExportPresence?: boolean | undefined;
|
|
3611
3590
|
worker?: boolean | string[] | undefined;
|
|
3612
3591
|
overrideStrict?: "strict" | "non-strict" | undefined;
|
|
@@ -3625,9 +3604,9 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
3625
3604
|
exprContextCritical?: boolean | undefined;
|
|
3626
3605
|
wrappedContextCritical?: boolean | undefined;
|
|
3627
3606
|
wrappedContextRegExp?: RegExp | undefined;
|
|
3628
|
-
exportsPresence?: false | "
|
|
3629
|
-
importExportsPresence?: false | "
|
|
3630
|
-
reexportExportsPresence?: false | "
|
|
3607
|
+
exportsPresence?: false | "error" | "warn" | "auto" | undefined;
|
|
3608
|
+
importExportsPresence?: false | "error" | "warn" | "auto" | undefined;
|
|
3609
|
+
reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined;
|
|
3631
3610
|
strictExportPresence?: boolean | undefined;
|
|
3632
3611
|
worker?: boolean | string[] | undefined;
|
|
3633
3612
|
overrideStrict?: "strict" | "non-strict" | undefined;
|
|
@@ -3637,217 +3616,325 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
3637
3616
|
importDynamic?: boolean | undefined;
|
|
3638
3617
|
} | undefined;
|
|
3639
3618
|
} | Record<string, Record<string, any>> | undefined;
|
|
3619
|
+
generator?: Record<string, Record<string, any>> | {
|
|
3620
|
+
css?: {
|
|
3621
|
+
exportsOnly?: boolean | undefined;
|
|
3622
|
+
esModule?: boolean | undefined;
|
|
3623
|
+
} | undefined;
|
|
3624
|
+
asset?: {
|
|
3625
|
+
publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
3626
|
+
filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
3627
|
+
dataUrl?: {
|
|
3628
|
+
encoding?: false | "base64" | undefined;
|
|
3629
|
+
mimetype?: string | undefined;
|
|
3630
|
+
} | ((args_0: Buffer<ArrayBuffer>, args_1: {
|
|
3631
|
+
module: Module;
|
|
3632
|
+
filename: string;
|
|
3633
|
+
}, ...args: unknown[]) => string) | undefined;
|
|
3634
|
+
emit?: boolean | undefined;
|
|
3635
|
+
} | undefined;
|
|
3636
|
+
"css/auto"?: {
|
|
3637
|
+
exportsOnly?: boolean | undefined;
|
|
3638
|
+
esModule?: boolean | undefined;
|
|
3639
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
3640
|
+
localIdentName?: string | undefined;
|
|
3641
|
+
} | undefined;
|
|
3642
|
+
"css/module"?: {
|
|
3643
|
+
exportsOnly?: boolean | undefined;
|
|
3644
|
+
esModule?: boolean | undefined;
|
|
3645
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
3646
|
+
localIdentName?: string | undefined;
|
|
3647
|
+
} | undefined;
|
|
3648
|
+
"asset/inline"?: {
|
|
3649
|
+
dataUrl?: {
|
|
3650
|
+
encoding?: false | "base64" | undefined;
|
|
3651
|
+
mimetype?: string | undefined;
|
|
3652
|
+
} | ((args_0: Buffer<ArrayBuffer>, args_1: {
|
|
3653
|
+
module: Module;
|
|
3654
|
+
filename: string;
|
|
3655
|
+
}, ...args: unknown[]) => string) | undefined;
|
|
3656
|
+
} | undefined;
|
|
3657
|
+
"asset/resource"?: {
|
|
3658
|
+
publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
3659
|
+
filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
3660
|
+
emit?: boolean | undefined;
|
|
3661
|
+
} | undefined;
|
|
3662
|
+
} | undefined;
|
|
3640
3663
|
noParse?: string | RegExp | ((args_0: string, ...args: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args: unknown[]) => boolean))[] | undefined;
|
|
3641
3664
|
} | undefined;
|
|
3642
|
-
|
|
3665
|
+
profile?: boolean | undefined;
|
|
3666
|
+
cache?: boolean | undefined;
|
|
3667
|
+
amd?: false | Record<string, any> | undefined;
|
|
3668
|
+
node?: false | {
|
|
3669
|
+
global?: boolean | "warn" | undefined;
|
|
3670
|
+
__dirname?: boolean | "warn-mock" | "mock" | "eval-only" | "node-module" | undefined;
|
|
3671
|
+
__filename?: boolean | "warn-mock" | "mock" | "eval-only" | "node-module" | undefined;
|
|
3672
|
+
} | undefined;
|
|
3643
3673
|
performance?: false | {
|
|
3644
3674
|
maxAssetSize?: number | undefined;
|
|
3645
3675
|
assetFilter?: ((args_0: string, ...args: unknown[]) => boolean) | undefined;
|
|
3646
3676
|
hints?: false | "error" | "warning" | undefined;
|
|
3647
3677
|
maxEntrypointSize?: number | undefined;
|
|
3648
3678
|
} | undefined;
|
|
3649
|
-
|
|
3650
|
-
|
|
3651
|
-
|
|
3652
|
-
|
|
3653
|
-
|
|
3654
|
-
|
|
3655
|
-
|
|
3656
|
-
|
|
3657
|
-
|
|
3658
|
-
|
|
3659
|
-
|
|
3660
|
-
|
|
3661
|
-
|
|
3662
|
-
|
|
3663
|
-
|
|
3679
|
+
mode?: "development" | "production" | "none" | undefined;
|
|
3680
|
+
experiments?: {
|
|
3681
|
+
css?: boolean | undefined;
|
|
3682
|
+
cache?: boolean | {
|
|
3683
|
+
type: "memory";
|
|
3684
|
+
} | {
|
|
3685
|
+
type: "persistent";
|
|
3686
|
+
version?: string | undefined;
|
|
3687
|
+
snapshot?: {
|
|
3688
|
+
immutablePaths?: (string | RegExp)[] | undefined;
|
|
3689
|
+
unmanagedPaths?: (string | RegExp)[] | undefined;
|
|
3690
|
+
managedPaths?: (string | RegExp)[] | undefined;
|
|
3691
|
+
} | undefined;
|
|
3692
|
+
buildDependencies?: string[] | undefined;
|
|
3693
|
+
storage?: {
|
|
3694
|
+
type: "filesystem";
|
|
3695
|
+
directory?: string | undefined;
|
|
3664
3696
|
} | undefined;
|
|
3665
|
-
|
|
3666
|
-
|
|
3667
|
-
|
|
3668
|
-
|
|
3669
|
-
|
|
3670
|
-
|
|
3697
|
+
} | undefined;
|
|
3698
|
+
lazyCompilation?: boolean | {
|
|
3699
|
+
entries?: boolean | undefined;
|
|
3700
|
+
test?: RegExp | ((args_0: Module, ...args: unknown[]) => boolean) | undefined;
|
|
3701
|
+
imports?: boolean | undefined;
|
|
3702
|
+
backend?: {
|
|
3703
|
+
client?: string | undefined;
|
|
3704
|
+
listen?: number | {
|
|
3705
|
+
path?: string | undefined;
|
|
3706
|
+
port?: number | undefined;
|
|
3707
|
+
host?: string | undefined;
|
|
3708
|
+
backlog?: number | undefined;
|
|
3709
|
+
exclusive?: boolean | undefined;
|
|
3710
|
+
readableAll?: boolean | undefined;
|
|
3711
|
+
writableAll?: boolean | undefined;
|
|
3712
|
+
ipv6Only?: boolean | undefined;
|
|
3713
|
+
} | undefined;
|
|
3714
|
+
protocol?: "http" | "https" | undefined;
|
|
3671
3715
|
} | undefined;
|
|
3672
|
-
export?: string | string[] | undefined;
|
|
3673
|
-
umdNamedDefine?: boolean | undefined;
|
|
3674
3716
|
} | undefined;
|
|
3675
|
-
|
|
3676
|
-
|
|
3677
|
-
|
|
3717
|
+
asyncWebAssembly?: boolean | undefined;
|
|
3718
|
+
outputModule?: boolean | undefined;
|
|
3719
|
+
topLevelAwait?: boolean | undefined;
|
|
3720
|
+
layers?: boolean | undefined;
|
|
3721
|
+
incremental?: boolean | {
|
|
3722
|
+
providedExports?: boolean | undefined;
|
|
3723
|
+
make?: boolean | undefined;
|
|
3724
|
+
inferAsyncModules?: boolean | undefined;
|
|
3725
|
+
dependenciesDiagnostics?: boolean | undefined;
|
|
3726
|
+
sideEffects?: boolean | undefined;
|
|
3727
|
+
buildChunkGraph?: boolean | undefined;
|
|
3728
|
+
moduleIds?: boolean | undefined;
|
|
3729
|
+
chunkIds?: boolean | undefined;
|
|
3730
|
+
modulesHashes?: boolean | undefined;
|
|
3731
|
+
modulesCodegen?: boolean | undefined;
|
|
3732
|
+
modulesRuntimeRequirements?: boolean | undefined;
|
|
3733
|
+
chunksRuntimeRequirements?: boolean | undefined;
|
|
3734
|
+
chunksHashes?: boolean | undefined;
|
|
3735
|
+
chunksRender?: boolean | undefined;
|
|
3736
|
+
emitAssets?: boolean | undefined;
|
|
3737
|
+
} | undefined;
|
|
3738
|
+
futureDefaults?: boolean | undefined;
|
|
3739
|
+
rspackFuture?: {
|
|
3740
|
+
bundlerInfo?: {
|
|
3741
|
+
version?: string | undefined;
|
|
3742
|
+
force?: boolean | ("version" | "uniqueId")[] | undefined;
|
|
3743
|
+
bundler?: string | undefined;
|
|
3744
|
+
} | undefined;
|
|
3745
|
+
} | undefined;
|
|
3746
|
+
} | undefined;
|
|
3747
|
+
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;
|
|
3748
|
+
resolve?: t.ResolveOptions | undefined;
|
|
3749
|
+
stats?: boolean | "none" | "verbose" | "normal" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | {
|
|
3750
|
+
modules?: boolean | undefined;
|
|
3751
|
+
chunks?: boolean | undefined;
|
|
3752
|
+
ids?: boolean | undefined;
|
|
3753
|
+
runtime?: boolean | undefined;
|
|
3754
|
+
hash?: boolean | undefined;
|
|
3755
|
+
all?: boolean | undefined;
|
|
3756
|
+
version?: boolean | undefined;
|
|
3757
|
+
publicPath?: boolean | undefined;
|
|
3758
|
+
preset?: boolean | "none" | "verbose" | "normal" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | undefined;
|
|
3759
|
+
assets?: boolean | undefined;
|
|
3760
|
+
entrypoints?: boolean | "auto" | undefined;
|
|
3761
|
+
chunkGroups?: boolean | undefined;
|
|
3762
|
+
warnings?: boolean | undefined;
|
|
3763
|
+
warningsCount?: boolean | undefined;
|
|
3764
|
+
errors?: boolean | undefined;
|
|
3765
|
+
errorsCount?: boolean | undefined;
|
|
3766
|
+
colors?: boolean | undefined;
|
|
3767
|
+
reasons?: boolean | undefined;
|
|
3768
|
+
outputPath?: boolean | undefined;
|
|
3769
|
+
chunkModules?: boolean | undefined;
|
|
3770
|
+
chunkRelations?: boolean | undefined;
|
|
3771
|
+
timings?: boolean | undefined;
|
|
3772
|
+
builtAt?: boolean | undefined;
|
|
3773
|
+
moduleAssets?: boolean | undefined;
|
|
3774
|
+
nestedModules?: boolean | undefined;
|
|
3775
|
+
source?: boolean | undefined;
|
|
3776
|
+
logging?: boolean | "error" | "warn" | "info" | "log" | "none" | "verbose" | undefined;
|
|
3777
|
+
loggingDebug?: string | boolean | RegExp | ((args_0: string, ...args: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args: unknown[]) => boolean))[] | undefined;
|
|
3778
|
+
loggingTrace?: boolean | undefined;
|
|
3779
|
+
runtimeModules?: boolean | undefined;
|
|
3780
|
+
children?: boolean | undefined;
|
|
3781
|
+
usedExports?: boolean | undefined;
|
|
3782
|
+
providedExports?: boolean | undefined;
|
|
3783
|
+
optimizationBailout?: boolean | undefined;
|
|
3784
|
+
groupModulesByType?: boolean | undefined;
|
|
3785
|
+
groupModulesByCacheStatus?: boolean | undefined;
|
|
3786
|
+
groupModulesByLayer?: boolean | undefined;
|
|
3787
|
+
groupModulesByAttributes?: boolean | undefined;
|
|
3788
|
+
groupModulesByPath?: boolean | undefined;
|
|
3789
|
+
groupModulesByExtension?: boolean | undefined;
|
|
3790
|
+
modulesSpace?: number | undefined;
|
|
3791
|
+
chunkModulesSpace?: number | undefined;
|
|
3792
|
+
nestedModulesSpace?: number | undefined;
|
|
3793
|
+
relatedAssets?: boolean | undefined;
|
|
3794
|
+
groupAssetsByEmitStatus?: boolean | undefined;
|
|
3795
|
+
groupAssetsByInfo?: boolean | undefined;
|
|
3796
|
+
groupAssetsByPath?: boolean | undefined;
|
|
3797
|
+
groupAssetsByExtension?: boolean | undefined;
|
|
3798
|
+
groupAssetsByChunk?: boolean | undefined;
|
|
3799
|
+
assetsSpace?: number | undefined;
|
|
3800
|
+
orphanModules?: boolean | undefined;
|
|
3801
|
+
excludeModules?: string | boolean | RegExp | ((args_0: string, args_1: any, args_2: any) => boolean) | (string | RegExp | ((args_0: string, args_1: any, args_2: any) => boolean))[] | undefined;
|
|
3802
|
+
excludeAssets?: string | RegExp | ((args_0: string, args_1: any) => boolean) | (string | RegExp | ((args_0: string, args_1: any) => boolean))[] | undefined;
|
|
3803
|
+
modulesSort?: string | undefined;
|
|
3804
|
+
chunkModulesSort?: string | undefined;
|
|
3805
|
+
nestedModulesSort?: string | undefined;
|
|
3806
|
+
chunksSort?: string | undefined;
|
|
3807
|
+
assetsSort?: string | undefined;
|
|
3808
|
+
performance?: boolean | undefined;
|
|
3809
|
+
env?: boolean | undefined;
|
|
3810
|
+
chunkGroupAuxiliary?: boolean | undefined;
|
|
3811
|
+
chunkGroupChildren?: boolean | undefined;
|
|
3812
|
+
chunkGroupMaxAssets?: number | undefined;
|
|
3813
|
+
dependentModules?: boolean | undefined;
|
|
3814
|
+
chunkOrigins?: boolean | undefined;
|
|
3815
|
+
depth?: boolean | undefined;
|
|
3816
|
+
reasonsSpace?: number | undefined;
|
|
3817
|
+
groupReasonsByOrigin?: boolean | undefined;
|
|
3818
|
+
errorDetails?: boolean | undefined;
|
|
3819
|
+
errorStack?: boolean | undefined;
|
|
3820
|
+
moduleTrace?: boolean | undefined;
|
|
3821
|
+
cachedModules?: boolean | undefined;
|
|
3822
|
+
cachedAssets?: boolean | undefined;
|
|
3823
|
+
cached?: boolean | undefined;
|
|
3824
|
+
errorsSpace?: number | undefined;
|
|
3825
|
+
warningsSpace?: number | undefined;
|
|
3826
|
+
} | undefined;
|
|
3827
|
+
loader?: Record<string, any> | undefined;
|
|
3828
|
+
externals?: string | RegExp | Record<string, string | boolean | string[] | t.ExternalItemUmdValue | t.ExternalItemObjectValue> | ((args_0: t.ExternalItemFunctionData, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | t.ExternalItemUmdValue | t.ExternalItemObjectValue | undefined, args_2: "module" | "jsonp" | "import" | "var" | "assign" | "this" | "window" | "self" | "global" | "commonjs" | "commonjs2" | "commonjs-module" | "commonjs-static" | "amd" | "amd-require" | "umd" | "umd2" | "system" | "promise" | "module-import" | "script" | "node-commonjs" | "commonjs-import" | undefined, ...args: unknown[]) => void, ...args: unknown[]) => unknown) | ((args_0: t.ExternalItemFunctionData, ...args: unknown[]) => Promise<string | boolean | string[] | t.ExternalItemUmdValue | t.ExternalItemObjectValue>) | ((args_0: t.ExternalItemFunctionData, ...args: unknown[]) => string | boolean | string[] | t.ExternalItemUmdValue | t.ExternalItemObjectValue) | (string | RegExp | Record<string, string | boolean | string[] | t.ExternalItemUmdValue | t.ExternalItemObjectValue> | ((args_0: t.ExternalItemFunctionData, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | t.ExternalItemUmdValue | t.ExternalItemObjectValue | undefined, args_2: "module" | "jsonp" | "import" | "var" | "assign" | "this" | "window" | "self" | "global" | "commonjs" | "commonjs2" | "commonjs-module" | "commonjs-static" | "amd" | "amd-require" | "umd" | "umd2" | "system" | "promise" | "module-import" | "script" | "node-commonjs" | "commonjs-import" | undefined, ...args: unknown[]) => void, ...args: unknown[]) => unknown) | ((args_0: t.ExternalItemFunctionData, ...args: unknown[]) => Promise<string | boolean | string[] | t.ExternalItemUmdValue | t.ExternalItemObjectValue>) | ((args_0: t.ExternalItemFunctionData, ...args: unknown[]) => string | boolean | string[] | t.ExternalItemUmdValue | t.ExternalItemObjectValue))[] | undefined;
|
|
3829
|
+
target?: false | "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" | "es3" | "es5" | "es2015" | "es2016" | "es2017" | "es2018" | "es2019" | "es2020" | "es2021" | "es2022" | "node" | "electron-main" | "electron-renderer" | "electron-preload" | "nwjs" | "node-webkit" | "browserslist" | ("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" | "es3" | "es5" | "es2015" | "es2016" | "es2017" | "es2018" | "es2019" | "es2020" | "es2021" | "es2022" | "node" | "electron-main" | "electron-renderer" | "electron-preload" | "nwjs" | "node-webkit" | "browserslist")[] | undefined;
|
|
3830
|
+
entry?: string | string[] | Record<string, string | string[] | {
|
|
3678
3831
|
import: string | string[];
|
|
3679
3832
|
layer?: string | null | undefined;
|
|
3680
|
-
filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
3681
|
-
publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
3682
3833
|
runtime?: string | false | undefined;
|
|
3683
3834
|
chunkLoading?: string | false | undefined;
|
|
3684
3835
|
asyncChunks?: boolean | undefined;
|
|
3836
|
+
publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
3685
3837
|
baseUri?: string | undefined;
|
|
3838
|
+
filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
3686
3839
|
library?: {
|
|
3687
3840
|
type: string;
|
|
3688
3841
|
name?: string | string[] | {
|
|
3689
|
-
root?: string | string[] | undefined;
|
|
3690
3842
|
commonjs?: string | undefined;
|
|
3691
3843
|
amd?: string | undefined;
|
|
3844
|
+
root?: string | string[] | undefined;
|
|
3692
3845
|
} | undefined;
|
|
3693
3846
|
amdContainer?: string | undefined;
|
|
3694
3847
|
auxiliaryComment?: string | {
|
|
3695
|
-
root?: string | undefined;
|
|
3696
3848
|
commonjs?: string | undefined;
|
|
3697
|
-
amd?: string | undefined;
|
|
3698
3849
|
commonjs2?: string | undefined;
|
|
3850
|
+
amd?: string | undefined;
|
|
3851
|
+
root?: string | undefined;
|
|
3699
3852
|
} | undefined;
|
|
3700
3853
|
export?: string | string[] | undefined;
|
|
3701
3854
|
umdNamedDefine?: boolean | undefined;
|
|
3702
3855
|
} | undefined;
|
|
3703
3856
|
wasmLoading?: string | false | undefined;
|
|
3704
3857
|
dependOn?: string | string[] | undefined;
|
|
3705
|
-
}> |
|
|
3858
|
+
}> | ((...args: unknown[]) => string | string[] | Record<string, string | string[] | {
|
|
3706
3859
|
import: string | string[];
|
|
3707
3860
|
layer?: string | null | undefined;
|
|
3708
|
-
filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
3709
|
-
publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
3710
3861
|
runtime?: string | false | undefined;
|
|
3711
3862
|
chunkLoading?: string | false | undefined;
|
|
3712
3863
|
asyncChunks?: boolean | undefined;
|
|
3864
|
+
publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
3713
3865
|
baseUri?: string | undefined;
|
|
3866
|
+
filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
3714
3867
|
library?: {
|
|
3715
3868
|
type: string;
|
|
3716
3869
|
name?: string | string[] | {
|
|
3717
|
-
root?: string | string[] | undefined;
|
|
3718
3870
|
commonjs?: string | undefined;
|
|
3719
3871
|
amd?: string | undefined;
|
|
3872
|
+
root?: string | string[] | undefined;
|
|
3720
3873
|
} | undefined;
|
|
3721
|
-
amdContainer?: string | undefined;
|
|
3722
|
-
auxiliaryComment?: string | {
|
|
3723
|
-
|
|
3724
|
-
|
|
3725
|
-
amd?: string | undefined;
|
|
3726
|
-
|
|
3727
|
-
} | undefined;
|
|
3728
|
-
export?: string | string[] | undefined;
|
|
3729
|
-
umdNamedDefine?: boolean | undefined;
|
|
3730
|
-
} | undefined;
|
|
3731
|
-
wasmLoading?: string | false | undefined;
|
|
3732
|
-
dependOn?: string | string[] | undefined;
|
|
3733
|
-
}>>) | undefined;
|
|
3734
|
-
node?: false | {
|
|
3735
|
-
global?: boolean | "warn" | undefined;
|
|
3736
|
-
__dirname?: boolean | "warn-mock" | "mock" | "eval-only" | "node-module" | undefined;
|
|
3737
|
-
__filename?: boolean | "warn-mock" | "mock" | "eval-only" | "node-module" | undefined;
|
|
3738
|
-
} | undefined;
|
|
3739
|
-
amd?: false | Record<string, any> | undefined;
|
|
3740
|
-
profile?: boolean | undefined;
|
|
3741
|
-
cache?: boolean | undefined;
|
|
3742
|
-
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;
|
|
3743
|
-
mode?: "none" | "development" | "production" | undefined;
|
|
3744
|
-
experiments?: {
|
|
3745
|
-
css?: boolean | undefined;
|
|
3746
|
-
cache?: boolean | {
|
|
3747
|
-
type: "memory";
|
|
3748
|
-
} | {
|
|
3749
|
-
type: "persistent";
|
|
3750
|
-
snapshot: {
|
|
3751
|
-
immutablePaths: (string | RegExp)[];
|
|
3752
|
-
unmanagedPaths: (string | RegExp)[];
|
|
3753
|
-
managedPaths: (string | RegExp)[];
|
|
3754
|
-
};
|
|
3755
|
-
storage: {
|
|
3756
|
-
type: "filesystem";
|
|
3757
|
-
directory: string;
|
|
3758
|
-
};
|
|
3759
|
-
} | undefined;
|
|
3760
|
-
topLevelAwait?: boolean | undefined;
|
|
3761
|
-
layers?: boolean | undefined;
|
|
3762
|
-
incremental?: boolean | {
|
|
3763
|
-
make?: boolean | undefined;
|
|
3764
|
-
providedExports?: boolean | undefined;
|
|
3765
|
-
inferAsyncModules?: boolean | undefined;
|
|
3766
|
-
dependenciesDiagnostics?: boolean | undefined;
|
|
3767
|
-
buildChunkGraph?: boolean | undefined;
|
|
3768
|
-
moduleIds?: boolean | undefined;
|
|
3769
|
-
chunkIds?: boolean | undefined;
|
|
3770
|
-
modulesHashes?: boolean | undefined;
|
|
3771
|
-
modulesCodegen?: boolean | undefined;
|
|
3772
|
-
modulesRuntimeRequirements?: boolean | undefined;
|
|
3773
|
-
chunksRuntimeRequirements?: boolean | undefined;
|
|
3774
|
-
chunksHashes?: boolean | undefined;
|
|
3775
|
-
chunksRender?: boolean | undefined;
|
|
3776
|
-
emitAssets?: boolean | undefined;
|
|
3777
|
-
} | undefined;
|
|
3778
|
-
rspackFuture?: {
|
|
3779
|
-
bundlerInfo?: {
|
|
3780
|
-
force?: boolean | ("version" | "uniqueId")[] | undefined;
|
|
3781
|
-
version?: string | undefined;
|
|
3782
|
-
bundler?: string | undefined;
|
|
3874
|
+
amdContainer?: string | undefined;
|
|
3875
|
+
auxiliaryComment?: string | {
|
|
3876
|
+
commonjs?: string | undefined;
|
|
3877
|
+
commonjs2?: string | undefined;
|
|
3878
|
+
amd?: string | undefined;
|
|
3879
|
+
root?: string | undefined;
|
|
3783
3880
|
} | undefined;
|
|
3881
|
+
export?: string | string[] | undefined;
|
|
3882
|
+
umdNamedDefine?: boolean | undefined;
|
|
3784
3883
|
} | undefined;
|
|
3785
|
-
|
|
3786
|
-
|
|
3787
|
-
|
|
3788
|
-
|
|
3789
|
-
|
|
3790
|
-
|
|
3791
|
-
|
|
3792
|
-
|
|
3793
|
-
|
|
3794
|
-
|
|
3795
|
-
|
|
3796
|
-
|
|
3797
|
-
|
|
3798
|
-
|
|
3799
|
-
|
|
3800
|
-
|
|
3801
|
-
|
|
3802
|
-
|
|
3803
|
-
|
|
3804
|
-
|
|
3884
|
+
wasmLoading?: string | false | undefined;
|
|
3885
|
+
dependOn?: string | string[] | undefined;
|
|
3886
|
+
}> | Promise<string | string[] | Record<string, string | string[] | {
|
|
3887
|
+
import: string | string[];
|
|
3888
|
+
layer?: string | null | undefined;
|
|
3889
|
+
runtime?: string | false | undefined;
|
|
3890
|
+
chunkLoading?: string | false | undefined;
|
|
3891
|
+
asyncChunks?: boolean | undefined;
|
|
3892
|
+
publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
3893
|
+
baseUri?: string | undefined;
|
|
3894
|
+
filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
3895
|
+
library?: {
|
|
3896
|
+
type: string;
|
|
3897
|
+
name?: string | string[] | {
|
|
3898
|
+
commonjs?: string | undefined;
|
|
3899
|
+
amd?: string | undefined;
|
|
3900
|
+
root?: string | string[] | undefined;
|
|
3901
|
+
} | undefined;
|
|
3902
|
+
amdContainer?: string | undefined;
|
|
3903
|
+
auxiliaryComment?: string | {
|
|
3904
|
+
commonjs?: string | undefined;
|
|
3905
|
+
commonjs2?: string | undefined;
|
|
3906
|
+
amd?: string | undefined;
|
|
3907
|
+
root?: string | undefined;
|
|
3805
3908
|
} | undefined;
|
|
3909
|
+
export?: string | string[] | undefined;
|
|
3910
|
+
umdNamedDefine?: boolean | undefined;
|
|
3806
3911
|
} | undefined;
|
|
3807
|
-
|
|
3808
|
-
|
|
3809
|
-
|
|
3912
|
+
wasmLoading?: string | false | undefined;
|
|
3913
|
+
dependOn?: string | string[] | undefined;
|
|
3914
|
+
}>>) | undefined;
|
|
3810
3915
|
output?: {
|
|
3811
3916
|
module?: boolean | undefined;
|
|
3812
|
-
filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
3813
|
-
publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
3814
|
-
environment?: {
|
|
3815
|
-
module?: boolean | undefined;
|
|
3816
|
-
const?: boolean | undefined;
|
|
3817
|
-
document?: boolean | undefined;
|
|
3818
|
-
nodePrefixForCoreModules?: boolean | undefined;
|
|
3819
|
-
globalThis?: boolean | undefined;
|
|
3820
|
-
bigIntLiteral?: boolean | undefined;
|
|
3821
|
-
arrowFunction?: boolean | undefined;
|
|
3822
|
-
forOf?: boolean | undefined;
|
|
3823
|
-
destructuring?: boolean | undefined;
|
|
3824
|
-
dynamicImport?: boolean | undefined;
|
|
3825
|
-
dynamicImportInWorker?: boolean | undefined;
|
|
3826
|
-
optionalChaining?: boolean | undefined;
|
|
3827
|
-
templateLiteral?: boolean | undefined;
|
|
3828
|
-
asyncFunction?: boolean | undefined;
|
|
3829
|
-
} | undefined;
|
|
3830
|
-
chunkFilename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
3831
|
-
path?: string | undefined;
|
|
3832
3917
|
chunkLoading?: string | false | undefined;
|
|
3833
3918
|
asyncChunks?: boolean | undefined;
|
|
3919
|
+
publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
3920
|
+
filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
3834
3921
|
library?: string | string[] | {
|
|
3835
|
-
root?: string | string[] | undefined;
|
|
3836
3922
|
commonjs?: string | undefined;
|
|
3837
3923
|
amd?: string | undefined;
|
|
3924
|
+
root?: string | string[] | undefined;
|
|
3838
3925
|
} | {
|
|
3839
3926
|
type: string;
|
|
3840
3927
|
name?: string | string[] | {
|
|
3841
|
-
root?: string | string[] | undefined;
|
|
3842
3928
|
commonjs?: string | undefined;
|
|
3843
3929
|
amd?: string | undefined;
|
|
3930
|
+
root?: string | string[] | undefined;
|
|
3844
3931
|
} | undefined;
|
|
3845
3932
|
amdContainer?: string | undefined;
|
|
3846
3933
|
auxiliaryComment?: string | {
|
|
3847
|
-
root?: string | undefined;
|
|
3848
3934
|
commonjs?: string | undefined;
|
|
3849
|
-
amd?: string | undefined;
|
|
3850
3935
|
commonjs2?: string | undefined;
|
|
3936
|
+
amd?: string | undefined;
|
|
3937
|
+
root?: string | undefined;
|
|
3851
3938
|
} | undefined;
|
|
3852
3939
|
export?: string | string[] | undefined;
|
|
3853
3940
|
umdNamedDefine?: boolean | undefined;
|
|
@@ -3855,24 +3942,26 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
3855
3942
|
wasmLoading?: string | false | undefined;
|
|
3856
3943
|
cssHeadDataCompression?: boolean | undefined;
|
|
3857
3944
|
auxiliaryComment?: string | {
|
|
3858
|
-
root?: string | undefined;
|
|
3859
3945
|
commonjs?: string | undefined;
|
|
3860
|
-
amd?: string | undefined;
|
|
3861
3946
|
commonjs2?: string | undefined;
|
|
3947
|
+
amd?: string | undefined;
|
|
3948
|
+
root?: string | undefined;
|
|
3862
3949
|
} | undefined;
|
|
3863
3950
|
umdNamedDefine?: boolean | undefined;
|
|
3864
|
-
|
|
3865
|
-
uniqueName?: string | undefined;
|
|
3951
|
+
path?: string | undefined;
|
|
3866
3952
|
pathinfo?: boolean | "verbose" | undefined;
|
|
3867
3953
|
clean?: boolean | {
|
|
3868
3954
|
keep?: string | undefined;
|
|
3869
3955
|
} | undefined;
|
|
3956
|
+
chunkFilename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
3957
|
+
crossOriginLoading?: false | "anonymous" | "use-credentials" | undefined;
|
|
3870
3958
|
cssFilename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
3871
3959
|
cssChunkFilename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
3872
3960
|
hotUpdateMainFilename?: string | undefined;
|
|
3873
3961
|
hotUpdateChunkFilename?: string | undefined;
|
|
3874
3962
|
hotUpdateGlobal?: string | undefined;
|
|
3875
3963
|
assetModuleFilename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
3964
|
+
uniqueName?: string | undefined;
|
|
3876
3965
|
chunkLoadingGlobal?: string | undefined;
|
|
3877
3966
|
enabledLibraryTypes?: string[] | undefined;
|
|
3878
3967
|
strictModuleErrorHandling?: boolean | undefined;
|
|
@@ -3891,7 +3980,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
3891
3980
|
sourceMapFilename?: string | undefined;
|
|
3892
3981
|
hashDigest?: string | undefined;
|
|
3893
3982
|
hashDigestLength?: number | undefined;
|
|
3894
|
-
hashFunction?: "
|
|
3983
|
+
hashFunction?: "md4" | "xxhash64" | undefined;
|
|
3895
3984
|
hashSalt?: string | undefined;
|
|
3896
3985
|
workerChunkLoading?: string | false | undefined;
|
|
3897
3986
|
workerWasmLoading?: string | false | undefined;
|
|
@@ -3900,6 +3989,22 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
3900
3989
|
devtoolNamespace?: string | undefined;
|
|
3901
3990
|
devtoolModuleFilenameTemplate?: string | ((args_0: any) => any) | undefined;
|
|
3902
3991
|
devtoolFallbackModuleFilenameTemplate?: string | ((args_0: any) => any) | undefined;
|
|
3992
|
+
environment?: {
|
|
3993
|
+
module?: boolean | undefined;
|
|
3994
|
+
document?: boolean | undefined;
|
|
3995
|
+
nodePrefixForCoreModules?: boolean | undefined;
|
|
3996
|
+
globalThis?: boolean | undefined;
|
|
3997
|
+
bigIntLiteral?: boolean | undefined;
|
|
3998
|
+
const?: boolean | undefined;
|
|
3999
|
+
arrowFunction?: boolean | undefined;
|
|
4000
|
+
forOf?: boolean | undefined;
|
|
4001
|
+
destructuring?: boolean | undefined;
|
|
4002
|
+
dynamicImport?: boolean | undefined;
|
|
4003
|
+
dynamicImportInWorker?: boolean | undefined;
|
|
4004
|
+
optionalChaining?: boolean | undefined;
|
|
4005
|
+
templateLiteral?: boolean | undefined;
|
|
4006
|
+
asyncFunction?: boolean | undefined;
|
|
4007
|
+
} | undefined;
|
|
3903
4008
|
charset?: boolean | undefined;
|
|
3904
4009
|
chunkLoadTimeout?: number | undefined;
|
|
3905
4010
|
compareBeforeEmit?: boolean | undefined;
|
|
@@ -3907,173 +4012,94 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
3907
4012
|
libraryTarget?: string | undefined;
|
|
3908
4013
|
strictModuleExceptionHandling?: boolean | undefined;
|
|
3909
4014
|
} | undefined;
|
|
4015
|
+
resolveLoader?: t.ResolveOptions | undefined;
|
|
4016
|
+
externalsType?: "module" | "jsonp" | "import" | "var" | "assign" | "this" | "window" | "self" | "global" | "commonjs" | "commonjs2" | "commonjs-module" | "commonjs-static" | "amd" | "amd-require" | "umd" | "umd2" | "system" | "promise" | "module-import" | "script" | "node-commonjs" | "commonjs-import" | undefined;
|
|
4017
|
+
externalsPresets?: {
|
|
4018
|
+
web?: boolean | undefined;
|
|
4019
|
+
node?: boolean | undefined;
|
|
4020
|
+
nwjs?: boolean | undefined;
|
|
4021
|
+
electron?: boolean | undefined;
|
|
4022
|
+
electronMain?: boolean | undefined;
|
|
4023
|
+
electronPreload?: boolean | undefined;
|
|
4024
|
+
electronRenderer?: boolean | undefined;
|
|
4025
|
+
webAsync?: boolean | undefined;
|
|
4026
|
+
} | undefined;
|
|
4027
|
+
infrastructureLogging?: {
|
|
4028
|
+
debug?: string | boolean | RegExp | ((args_0: string, ...args: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args: unknown[]) => boolean))[] | undefined;
|
|
4029
|
+
colors?: boolean | undefined;
|
|
4030
|
+
stream?: NodeJS.WritableStream | undefined;
|
|
4031
|
+
appendOnly?: boolean | undefined;
|
|
4032
|
+
console?: Console | undefined;
|
|
4033
|
+
level?: "error" | "warn" | "info" | "log" | "none" | "verbose" | undefined;
|
|
4034
|
+
} | undefined;
|
|
4035
|
+
snapshot?: {} | undefined;
|
|
3910
4036
|
optimization?: {
|
|
4037
|
+
usedExports?: boolean | "global" | undefined;
|
|
4038
|
+
providedExports?: boolean | undefined;
|
|
4039
|
+
sideEffects?: boolean | "flag" | undefined;
|
|
4040
|
+
moduleIds?: "named" | "natural" | "deterministic" | undefined;
|
|
4041
|
+
chunkIds?: "size" | "named" | "natural" | "deterministic" | "total-size" | undefined;
|
|
4042
|
+
minimize?: boolean | undefined;
|
|
4043
|
+
minimizer?: (false | "" | 0 | "..." | t.RspackPluginInstance | t.WebpackPluginInstance | t.RspackPluginFunction | t.WebpackPluginFunction | null | undefined)[] | undefined;
|
|
4044
|
+
mergeDuplicateChunks?: boolean | undefined;
|
|
3911
4045
|
splitChunks?: false | {
|
|
4046
|
+
chunks?: RegExp | "initial" | "async" | "all" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
|
3912
4047
|
name?: string | false | ((args_0: Module | undefined, ...args: unknown[]) => unknown) | undefined;
|
|
3913
|
-
chunks?: RegExp | "all" | "async" | "initial" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
|
3914
4048
|
usedExports?: boolean | undefined;
|
|
3915
4049
|
defaultSizeTypes?: string[] | undefined;
|
|
3916
4050
|
cacheGroups?: Record<string, false | {
|
|
3917
4051
|
type?: string | RegExp | undefined;
|
|
3918
|
-
|
|
4052
|
+
chunks?: RegExp | "initial" | "async" | "all" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
|
3919
4053
|
name?: string | false | ((args_0: Module | undefined, ...args: unknown[]) => unknown) | undefined;
|
|
3920
|
-
|
|
3921
|
-
chunks?: RegExp | "all" | "async" | "initial" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
|
4054
|
+
filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
3922
4055
|
usedExports?: boolean | undefined;
|
|
3923
4056
|
defaultSizeTypes?: string[] | undefined;
|
|
3924
4057
|
maxSize?: number | Record<string, number> | undefined;
|
|
3925
|
-
|
|
4058
|
+
priority?: number | undefined;
|
|
3926
4059
|
minSize?: number | Record<string, number> | undefined;
|
|
3927
4060
|
maxAsyncSize?: number | Record<string, number> | undefined;
|
|
3928
4061
|
maxInitialSize?: number | Record<string, number> | undefined;
|
|
4062
|
+
minChunks?: number | undefined;
|
|
3929
4063
|
maxAsyncRequests?: number | undefined;
|
|
3930
4064
|
maxInitialRequests?: number | undefined;
|
|
3931
4065
|
automaticNameDelimiter?: string | undefined;
|
|
3932
4066
|
test?: string | RegExp | ((args_0: Module, ...args: unknown[]) => unknown) | undefined;
|
|
3933
|
-
idHint?: string | undefined;
|
|
3934
|
-
reuseExistingChunk?: boolean | undefined;
|
|
3935
4067
|
enforce?: boolean | undefined;
|
|
4068
|
+
reuseExistingChunk?: boolean | undefined;
|
|
4069
|
+
idHint?: string | undefined;
|
|
3936
4070
|
}> | undefined;
|
|
3937
4071
|
maxSize?: number | Record<string, number> | undefined;
|
|
3938
4072
|
fallbackCacheGroup?: {
|
|
3939
|
-
chunks?: RegExp | "
|
|
4073
|
+
chunks?: RegExp | "initial" | "async" | "all" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
|
3940
4074
|
maxSize?: number | undefined;
|
|
3941
4075
|
minSize?: number | undefined;
|
|
3942
4076
|
maxAsyncSize?: number | undefined;
|
|
3943
4077
|
maxInitialSize?: number | undefined;
|
|
3944
4078
|
automaticNameDelimiter?: string | undefined;
|
|
3945
4079
|
} | undefined;
|
|
3946
|
-
hidePathInfo?: boolean | undefined;
|
|
3947
|
-
minChunks?: number | undefined;
|
|
3948
4080
|
minSize?: number | Record<string, number> | undefined;
|
|
3949
4081
|
maxAsyncSize?: number | Record<string, number> | undefined;
|
|
3950
4082
|
maxInitialSize?: number | Record<string, number> | undefined;
|
|
4083
|
+
hidePathInfo?: boolean | undefined;
|
|
4084
|
+
minChunks?: number | undefined;
|
|
3951
4085
|
maxAsyncRequests?: number | undefined;
|
|
3952
4086
|
maxInitialRequests?: number | undefined;
|
|
3953
4087
|
automaticNameDelimiter?: string | undefined;
|
|
3954
4088
|
} | undefined;
|
|
3955
|
-
usedExports?: boolean | "global" | undefined;
|
|
3956
|
-
providedExports?: boolean | undefined;
|
|
3957
|
-
moduleIds?: "named" | "natural" | "deterministic" | undefined;
|
|
3958
|
-
chunkIds?: "named" | "natural" | "deterministic" | undefined;
|
|
3959
|
-
removeAvailableModules?: boolean | undefined;
|
|
3960
|
-
minimize?: boolean | undefined;
|
|
3961
|
-
minimizer?: (false | "" | 0 | t.RspackPluginInstance | "..." | t.WebpackPluginInstance | t.RspackPluginFunction | t.WebpackPluginFunction | null | undefined)[] | undefined;
|
|
3962
|
-
mergeDuplicateChunks?: boolean | undefined;
|
|
3963
4089
|
runtimeChunk?: boolean | "single" | "multiple" | {
|
|
3964
4090
|
name?: string | ((args_0: {
|
|
3965
4091
|
name: string;
|
|
3966
4092
|
}, ...args: unknown[]) => string) | undefined;
|
|
3967
4093
|
} | undefined;
|
|
4094
|
+
removeAvailableModules?: boolean | undefined;
|
|
3968
4095
|
removeEmptyChunks?: boolean | undefined;
|
|
3969
4096
|
realContentHash?: boolean | undefined;
|
|
3970
|
-
sideEffects?: boolean | "flag" | undefined;
|
|
3971
4097
|
concatenateModules?: boolean | undefined;
|
|
3972
4098
|
innerGraph?: boolean | undefined;
|
|
3973
4099
|
mangleExports?: boolean | "size" | "deterministic" | undefined;
|
|
3974
4100
|
nodeEnv?: string | false | undefined;
|
|
3975
4101
|
emitOnErrors?: boolean | undefined;
|
|
3976
|
-
|
|
3977
|
-
snapshot?: {} | undefined;
|
|
3978
|
-
stats?: boolean | "verbose" | "normal" | "none" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | {
|
|
3979
|
-
modules?: boolean | undefined;
|
|
3980
|
-
publicPath?: boolean | undefined;
|
|
3981
|
-
all?: boolean | undefined;
|
|
3982
|
-
preset?: boolean | "verbose" | "normal" | "none" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | undefined;
|
|
3983
|
-
assets?: boolean | undefined;
|
|
3984
|
-
chunks?: boolean | undefined;
|
|
3985
|
-
entrypoints?: boolean | "auto" | undefined;
|
|
3986
|
-
chunkGroups?: boolean | undefined;
|
|
3987
|
-
warnings?: boolean | undefined;
|
|
3988
|
-
warningsCount?: boolean | undefined;
|
|
3989
|
-
errors?: boolean | undefined;
|
|
3990
|
-
errorsCount?: boolean | undefined;
|
|
3991
|
-
colors?: boolean | undefined;
|
|
3992
|
-
hash?: boolean | undefined;
|
|
3993
|
-
version?: boolean | undefined;
|
|
3994
|
-
reasons?: boolean | undefined;
|
|
3995
|
-
outputPath?: boolean | undefined;
|
|
3996
|
-
chunkModules?: boolean | undefined;
|
|
3997
|
-
chunkRelations?: boolean | undefined;
|
|
3998
|
-
ids?: boolean | undefined;
|
|
3999
|
-
timings?: boolean | undefined;
|
|
4000
|
-
builtAt?: boolean | undefined;
|
|
4001
|
-
moduleAssets?: boolean | undefined;
|
|
4002
|
-
nestedModules?: boolean | undefined;
|
|
4003
|
-
source?: boolean | undefined;
|
|
4004
|
-
logging?: boolean | "log" | "info" | "verbose" | "none" | "error" | "warn" | undefined;
|
|
4005
|
-
loggingDebug?: string | boolean | RegExp | ((args_0: string, ...args: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args: unknown[]) => boolean))[] | undefined;
|
|
4006
|
-
loggingTrace?: boolean | undefined;
|
|
4007
|
-
runtimeModules?: boolean | undefined;
|
|
4008
|
-
children?: boolean | undefined;
|
|
4009
|
-
usedExports?: boolean | undefined;
|
|
4010
|
-
providedExports?: boolean | undefined;
|
|
4011
|
-
optimizationBailout?: boolean | undefined;
|
|
4012
|
-
groupModulesByType?: boolean | undefined;
|
|
4013
|
-
groupModulesByCacheStatus?: boolean | undefined;
|
|
4014
|
-
groupModulesByLayer?: boolean | undefined;
|
|
4015
|
-
groupModulesByAttributes?: boolean | undefined;
|
|
4016
|
-
groupModulesByPath?: boolean | undefined;
|
|
4017
|
-
groupModulesByExtension?: boolean | undefined;
|
|
4018
|
-
modulesSpace?: number | undefined;
|
|
4019
|
-
chunkModulesSpace?: number | undefined;
|
|
4020
|
-
nestedModulesSpace?: number | undefined;
|
|
4021
|
-
relatedAssets?: boolean | undefined;
|
|
4022
|
-
groupAssetsByEmitStatus?: boolean | undefined;
|
|
4023
|
-
groupAssetsByInfo?: boolean | undefined;
|
|
4024
|
-
groupAssetsByPath?: boolean | undefined;
|
|
4025
|
-
groupAssetsByExtension?: boolean | undefined;
|
|
4026
|
-
groupAssetsByChunk?: boolean | undefined;
|
|
4027
|
-
assetsSpace?: number | undefined;
|
|
4028
|
-
orphanModules?: boolean | undefined;
|
|
4029
|
-
excludeModules?: string | boolean | RegExp | ((args_0: string, args_1: any, args_2: any) => boolean) | (string | RegExp | ((args_0: string, args_1: any, args_2: any) => boolean))[] | undefined;
|
|
4030
|
-
excludeAssets?: string | RegExp | ((args_0: string, args_1: any) => boolean) | (string | RegExp | ((args_0: string, args_1: any) => boolean))[] | undefined;
|
|
4031
|
-
modulesSort?: string | undefined;
|
|
4032
|
-
chunkModulesSort?: string | undefined;
|
|
4033
|
-
nestedModulesSort?: string | undefined;
|
|
4034
|
-
chunksSort?: string | undefined;
|
|
4035
|
-
assetsSort?: string | undefined;
|
|
4036
|
-
performance?: boolean | undefined;
|
|
4037
|
-
env?: boolean | undefined;
|
|
4038
|
-
chunkGroupAuxiliary?: boolean | undefined;
|
|
4039
|
-
chunkGroupChildren?: boolean | undefined;
|
|
4040
|
-
chunkGroupMaxAssets?: number | undefined;
|
|
4041
|
-
dependentModules?: boolean | undefined;
|
|
4042
|
-
chunkOrigins?: boolean | undefined;
|
|
4043
|
-
runtime?: boolean | undefined;
|
|
4044
|
-
depth?: boolean | undefined;
|
|
4045
|
-
reasonsSpace?: number | undefined;
|
|
4046
|
-
groupReasonsByOrigin?: boolean | undefined;
|
|
4047
|
-
errorDetails?: boolean | undefined;
|
|
4048
|
-
errorStack?: boolean | undefined;
|
|
4049
|
-
moduleTrace?: boolean | undefined;
|
|
4050
|
-
cachedModules?: boolean | undefined;
|
|
4051
|
-
cachedAssets?: boolean | undefined;
|
|
4052
|
-
cached?: boolean | undefined;
|
|
4053
|
-
errorsSpace?: number | undefined;
|
|
4054
|
-
warningsSpace?: number | undefined;
|
|
4055
|
-
} | undefined;
|
|
4056
|
-
loader?: Record<string, any> | undefined;
|
|
4057
|
-
resolveLoader?: t.ResolveOptions | undefined;
|
|
4058
|
-
externals?: string | RegExp | Record<string, string | boolean | string[] | t.ExternalItemUmdValue | t.ExternalItemObjectValue> | ((args_0: t.ExternalItemFunctionData, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | t.ExternalItemUmdValue | t.ExternalItemObjectValue | undefined, args_2: "module" | "global" | "system" | "script" | "commonjs" | "umd" | "amd" | "var" | "jsonp" | "import" | "assign" | "this" | "window" | "self" | "commonjs2" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd2" | "promise" | "module-import" | "node-commonjs" | "commonjs-import" | undefined, ...args: unknown[]) => void, ...args: unknown[]) => unknown) | ((args_0: t.ExternalItemFunctionData, ...args: unknown[]) => Promise<string | boolean | string[] | t.ExternalItemUmdValue | t.ExternalItemObjectValue>) | (string | RegExp | Record<string, string | boolean | string[] | t.ExternalItemUmdValue | t.ExternalItemObjectValue> | ((args_0: t.ExternalItemFunctionData, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | t.ExternalItemUmdValue | t.ExternalItemObjectValue | undefined, args_2: "module" | "global" | "system" | "script" | "commonjs" | "umd" | "amd" | "var" | "jsonp" | "import" | "assign" | "this" | "window" | "self" | "commonjs2" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd2" | "promise" | "module-import" | "node-commonjs" | "commonjs-import" | undefined, ...args: unknown[]) => void, ...args: unknown[]) => unknown) | ((args_0: t.ExternalItemFunctionData, ...args: unknown[]) => Promise<string | boolean | string[] | t.ExternalItemUmdValue | t.ExternalItemObjectValue>))[] | undefined;
|
|
4059
|
-
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" | "commonjs-import" | undefined;
|
|
4060
|
-
externalsPresets?: {
|
|
4061
|
-
node?: boolean | undefined;
|
|
4062
|
-
web?: boolean | undefined;
|
|
4063
|
-
nwjs?: boolean | undefined;
|
|
4064
|
-
electron?: boolean | undefined;
|
|
4065
|
-
electronMain?: boolean | undefined;
|
|
4066
|
-
electronPreload?: boolean | undefined;
|
|
4067
|
-
electronRenderer?: boolean | undefined;
|
|
4068
|
-
webAsync?: boolean | undefined;
|
|
4069
|
-
} | undefined;
|
|
4070
|
-
infrastructureLogging?: {
|
|
4071
|
-
debug?: string | boolean | RegExp | ((args_0: string, ...args: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args: unknown[]) => boolean))[] | undefined;
|
|
4072
|
-
colors?: boolean | undefined;
|
|
4073
|
-
stream?: NodeJS.WritableStream | undefined;
|
|
4074
|
-
appendOnly?: boolean | undefined;
|
|
4075
|
-
console?: Console | undefined;
|
|
4076
|
-
level?: "log" | "info" | "verbose" | "none" | "error" | "warn" | undefined;
|
|
4102
|
+
avoidEntryIife?: boolean | undefined;
|
|
4077
4103
|
} | undefined;
|
|
4078
4104
|
plugins?: (false | "" | 0 | t.RspackPluginInstance | t.WebpackPluginInstance | t.RspackPluginFunction | t.WebpackPluginFunction | null | undefined)[] | undefined;
|
|
4079
4105
|
watch?: boolean | undefined;
|