@rspack/core 1.2.0-alpha.0 → 1.2.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/browserslist/index.js +28 -28
- package/compiled/graceful-fs/index.js +18 -18
- package/compiled/watchpack/index.js +34 -34
- package/compiled/webpack-sources/index.js +76 -76
- package/compiled/zod/index.js +30 -30
- package/dist/ChunkGraph.d.ts +1 -0
- package/dist/ChunkGroup.d.ts +2 -0
- package/dist/Compilation.d.ts +0 -9
- package/dist/Module.d.ts +5 -8
- package/dist/ResolverFactory.d.ts +1 -1
- 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/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 +1 -1
- 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/NoEmitOnErrorsPlugin.d.ts +1 -1
- package/dist/builtin-plugin/NodeTargetPlugin.d.ts +1 -1
- package/dist/builtin-plugin/OccurrenceChunkIdsPlugin.d.ts +1 -1
- 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/lazy-compilation/backend.d.ts +1 -1
- package/dist/builtin-plugin/lazy-compilation/lazyCompilation.d.ts +1 -1
- package/dist/config/normalization.d.ts +3 -2
- package/dist/config/types.d.ts +33 -53
- package/dist/config/zod.d.ts +124 -119
- package/dist/container/ModuleFederationRuntimePlugin.d.ts +1 -1
- package/dist/exports.d.ts +2 -3
- package/dist/index.js +368 -290
- package/dist/stats/statsFactoryUtils.d.ts +9 -0
- package/package.json +11 -5
package/dist/config/zod.d.ts
CHANGED
|
@@ -89,6 +89,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
89
89
|
layer: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
90
90
|
}, "strict", z.ZodTypeAny, {
|
|
91
91
|
import: string | string[];
|
|
92
|
+
layer?: string | null | undefined;
|
|
92
93
|
runtime?: string | false | undefined;
|
|
93
94
|
chunkLoading?: string | false | undefined;
|
|
94
95
|
asyncChunks?: boolean | undefined;
|
|
@@ -112,11 +113,11 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
112
113
|
export?: string | string[] | undefined;
|
|
113
114
|
umdNamedDefine?: boolean | undefined;
|
|
114
115
|
} | undefined;
|
|
115
|
-
layer?: string | null | undefined;
|
|
116
116
|
wasmLoading?: string | false | undefined;
|
|
117
117
|
dependOn?: string | string[] | undefined;
|
|
118
118
|
}, {
|
|
119
119
|
import: string | string[];
|
|
120
|
+
layer?: string | null | undefined;
|
|
120
121
|
runtime?: string | false | undefined;
|
|
121
122
|
chunkLoading?: string | false | undefined;
|
|
122
123
|
asyncChunks?: boolean | undefined;
|
|
@@ -140,7 +141,6 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
140
141
|
export?: string | string[] | undefined;
|
|
141
142
|
umdNamedDefine?: boolean | undefined;
|
|
142
143
|
} | undefined;
|
|
143
|
-
layer?: string | null | undefined;
|
|
144
144
|
wasmLoading?: string | false | undefined;
|
|
145
145
|
dependOn?: string | string[] | undefined;
|
|
146
146
|
}>]>>, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>]>, z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodUnion<[z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
|
|
@@ -223,6 +223,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
223
223
|
layer: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
224
224
|
}, "strict", z.ZodTypeAny, {
|
|
225
225
|
import: string | string[];
|
|
226
|
+
layer?: string | null | undefined;
|
|
226
227
|
runtime?: string | false | undefined;
|
|
227
228
|
chunkLoading?: string | false | undefined;
|
|
228
229
|
asyncChunks?: boolean | undefined;
|
|
@@ -246,11 +247,11 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
246
247
|
export?: string | string[] | undefined;
|
|
247
248
|
umdNamedDefine?: boolean | undefined;
|
|
248
249
|
} | undefined;
|
|
249
|
-
layer?: string | null | undefined;
|
|
250
250
|
wasmLoading?: string | false | undefined;
|
|
251
251
|
dependOn?: string | string[] | undefined;
|
|
252
252
|
}, {
|
|
253
253
|
import: string | string[];
|
|
254
|
+
layer?: string | null | undefined;
|
|
254
255
|
runtime?: string | false | undefined;
|
|
255
256
|
chunkLoading?: string | false | undefined;
|
|
256
257
|
asyncChunks?: boolean | undefined;
|
|
@@ -274,7 +275,6 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
274
275
|
export?: string | string[] | undefined;
|
|
275
276
|
umdNamedDefine?: boolean | undefined;
|
|
276
277
|
} | undefined;
|
|
277
|
-
layer?: string | null | undefined;
|
|
278
278
|
wasmLoading?: string | false | undefined;
|
|
279
279
|
dependOn?: string | string[] | undefined;
|
|
280
280
|
}>]>>, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>]>, z.ZodPromise<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
|
|
@@ -357,6 +357,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
357
357
|
layer: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
358
358
|
}, "strict", z.ZodTypeAny, {
|
|
359
359
|
import: string | string[];
|
|
360
|
+
layer?: string | null | undefined;
|
|
360
361
|
runtime?: string | false | undefined;
|
|
361
362
|
chunkLoading?: string | false | undefined;
|
|
362
363
|
asyncChunks?: boolean | undefined;
|
|
@@ -380,11 +381,11 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
380
381
|
export?: string | string[] | undefined;
|
|
381
382
|
umdNamedDefine?: boolean | undefined;
|
|
382
383
|
} | undefined;
|
|
383
|
-
layer?: string | null | undefined;
|
|
384
384
|
wasmLoading?: string | false | undefined;
|
|
385
385
|
dependOn?: string | string[] | undefined;
|
|
386
386
|
}, {
|
|
387
387
|
import: string | string[];
|
|
388
|
+
layer?: string | null | undefined;
|
|
388
389
|
runtime?: string | false | undefined;
|
|
389
390
|
chunkLoading?: string | false | undefined;
|
|
390
391
|
asyncChunks?: boolean | undefined;
|
|
@@ -408,7 +409,6 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
408
409
|
export?: string | string[] | undefined;
|
|
409
410
|
umdNamedDefine?: boolean | undefined;
|
|
410
411
|
} | undefined;
|
|
411
|
-
layer?: string | null | undefined;
|
|
412
412
|
wasmLoading?: string | false | undefined;
|
|
413
413
|
dependOn?: string | string[] | undefined;
|
|
414
414
|
}>]>>, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>]>>]>>]>>;
|
|
@@ -621,6 +621,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
621
621
|
compareBeforeEmit: z.ZodOptional<z.ZodBoolean>;
|
|
622
622
|
}, "strict", z.ZodTypeAny, {
|
|
623
623
|
module?: boolean | undefined;
|
|
624
|
+
path?: string | undefined;
|
|
624
625
|
chunkLoading?: string | false | undefined;
|
|
625
626
|
asyncChunks?: boolean | undefined;
|
|
626
627
|
publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
@@ -655,7 +656,6 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
655
656
|
root?: string | undefined;
|
|
656
657
|
} | undefined;
|
|
657
658
|
umdNamedDefine?: boolean | undefined;
|
|
658
|
-
path?: string | undefined;
|
|
659
659
|
pathinfo?: boolean | "verbose" | undefined;
|
|
660
660
|
clean?: boolean | {
|
|
661
661
|
keep?: string | undefined;
|
|
@@ -720,6 +720,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
720
720
|
strictModuleExceptionHandling?: boolean | undefined;
|
|
721
721
|
}, {
|
|
722
722
|
module?: boolean | undefined;
|
|
723
|
+
path?: string | undefined;
|
|
723
724
|
chunkLoading?: string | false | undefined;
|
|
724
725
|
asyncChunks?: boolean | undefined;
|
|
725
726
|
publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
@@ -754,7 +755,6 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
754
755
|
root?: string | undefined;
|
|
755
756
|
} | undefined;
|
|
756
757
|
umdNamedDefine?: boolean | undefined;
|
|
757
|
-
path?: string | undefined;
|
|
758
758
|
pathinfo?: boolean | "verbose" | undefined;
|
|
759
759
|
clean?: boolean | {
|
|
760
760
|
keep?: string | undefined;
|
|
@@ -894,19 +894,19 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
894
894
|
writableAll: z.ZodOptional<z.ZodBoolean>;
|
|
895
895
|
ipv6Only: z.ZodOptional<z.ZodBoolean>;
|
|
896
896
|
}, "strip", z.ZodTypeAny, {
|
|
897
|
-
path?: string | undefined;
|
|
898
897
|
port?: number | undefined;
|
|
899
898
|
host?: string | undefined;
|
|
900
899
|
backlog?: number | undefined;
|
|
900
|
+
path?: string | undefined;
|
|
901
901
|
exclusive?: boolean | undefined;
|
|
902
902
|
readableAll?: boolean | undefined;
|
|
903
903
|
writableAll?: boolean | undefined;
|
|
904
904
|
ipv6Only?: boolean | undefined;
|
|
905
905
|
}, {
|
|
906
|
-
path?: string | undefined;
|
|
907
906
|
port?: number | undefined;
|
|
908
907
|
host?: string | undefined;
|
|
909
908
|
backlog?: number | undefined;
|
|
909
|
+
path?: string | undefined;
|
|
910
910
|
exclusive?: boolean | undefined;
|
|
911
911
|
readableAll?: boolean | undefined;
|
|
912
912
|
writableAll?: boolean | undefined;
|
|
@@ -916,10 +916,10 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
916
916
|
}, "strip", z.ZodTypeAny, {
|
|
917
917
|
client?: string | undefined;
|
|
918
918
|
listen?: number | {
|
|
919
|
-
path?: string | undefined;
|
|
920
919
|
port?: number | undefined;
|
|
921
920
|
host?: string | undefined;
|
|
922
921
|
backlog?: number | undefined;
|
|
922
|
+
path?: string | undefined;
|
|
923
923
|
exclusive?: boolean | undefined;
|
|
924
924
|
readableAll?: boolean | undefined;
|
|
925
925
|
writableAll?: boolean | undefined;
|
|
@@ -929,10 +929,10 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
929
929
|
}, {
|
|
930
930
|
client?: string | undefined;
|
|
931
931
|
listen?: number | {
|
|
932
|
-
path?: string | undefined;
|
|
933
932
|
port?: number | undefined;
|
|
934
933
|
host?: string | undefined;
|
|
935
934
|
backlog?: number | undefined;
|
|
935
|
+
path?: string | undefined;
|
|
936
936
|
exclusive?: boolean | undefined;
|
|
937
937
|
readableAll?: boolean | undefined;
|
|
938
938
|
writableAll?: boolean | undefined;
|
|
@@ -950,10 +950,10 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
950
950
|
backend?: {
|
|
951
951
|
client?: string | undefined;
|
|
952
952
|
listen?: number | {
|
|
953
|
-
path?: string | undefined;
|
|
954
953
|
port?: number | undefined;
|
|
955
954
|
host?: string | undefined;
|
|
956
955
|
backlog?: number | undefined;
|
|
956
|
+
path?: string | undefined;
|
|
957
957
|
exclusive?: boolean | undefined;
|
|
958
958
|
readableAll?: boolean | undefined;
|
|
959
959
|
writableAll?: boolean | undefined;
|
|
@@ -968,10 +968,10 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
968
968
|
backend?: {
|
|
969
969
|
client?: string | undefined;
|
|
970
970
|
listen?: number | {
|
|
971
|
-
path?: string | undefined;
|
|
972
971
|
port?: number | undefined;
|
|
973
972
|
host?: string | undefined;
|
|
974
973
|
backlog?: number | undefined;
|
|
974
|
+
path?: string | undefined;
|
|
975
975
|
exclusive?: boolean | undefined;
|
|
976
976
|
readableAll?: boolean | undefined;
|
|
977
977
|
writableAll?: boolean | undefined;
|
|
@@ -1034,6 +1034,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
1034
1034
|
chunksRender?: boolean | undefined;
|
|
1035
1035
|
emitAssets?: boolean | undefined;
|
|
1036
1036
|
}>]>>;
|
|
1037
|
+
parallelCodeSplitting: z.ZodOptional<z.ZodBoolean>;
|
|
1037
1038
|
futureDefaults: z.ZodOptional<z.ZodBoolean>;
|
|
1038
1039
|
rspackFuture: z.ZodOptional<z.ZodObject<{
|
|
1039
1040
|
bundlerInfo: z.ZodOptional<z.ZodObject<{
|
|
@@ -1087,10 +1088,10 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
1087
1088
|
backend?: {
|
|
1088
1089
|
client?: string | undefined;
|
|
1089
1090
|
listen?: number | {
|
|
1090
|
-
path?: string | undefined;
|
|
1091
1091
|
port?: number | undefined;
|
|
1092
1092
|
host?: string | undefined;
|
|
1093
1093
|
backlog?: number | undefined;
|
|
1094
|
+
path?: string | undefined;
|
|
1094
1095
|
exclusive?: boolean | undefined;
|
|
1095
1096
|
readableAll?: boolean | undefined;
|
|
1096
1097
|
writableAll?: boolean | undefined;
|
|
@@ -1120,6 +1121,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
1120
1121
|
chunksRender?: boolean | undefined;
|
|
1121
1122
|
emitAssets?: boolean | undefined;
|
|
1122
1123
|
} | undefined;
|
|
1124
|
+
parallelCodeSplitting?: boolean | undefined;
|
|
1123
1125
|
futureDefaults?: boolean | undefined;
|
|
1124
1126
|
rspackFuture?: {
|
|
1125
1127
|
bundlerInfo?: {
|
|
@@ -1153,10 +1155,10 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
1153
1155
|
backend?: {
|
|
1154
1156
|
client?: string | undefined;
|
|
1155
1157
|
listen?: number | {
|
|
1156
|
-
path?: string | undefined;
|
|
1157
1158
|
port?: number | undefined;
|
|
1158
1159
|
host?: string | undefined;
|
|
1159
1160
|
backlog?: number | undefined;
|
|
1161
|
+
path?: string | undefined;
|
|
1160
1162
|
exclusive?: boolean | undefined;
|
|
1161
1163
|
readableAll?: boolean | undefined;
|
|
1162
1164
|
writableAll?: boolean | undefined;
|
|
@@ -1186,6 +1188,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
1186
1188
|
chunksRender?: boolean | undefined;
|
|
1187
1189
|
emitAssets?: boolean | undefined;
|
|
1188
1190
|
} | undefined;
|
|
1191
|
+
parallelCodeSplitting?: boolean | undefined;
|
|
1189
1192
|
futureDefaults?: boolean | undefined;
|
|
1190
1193
|
rspackFuture?: {
|
|
1191
1194
|
bundlerInfo?: {
|
|
@@ -1195,7 +1198,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
1195
1198
|
} | undefined;
|
|
1196
1199
|
} | undefined;
|
|
1197
1200
|
}>>;
|
|
1198
|
-
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>]>>>]>]>>;
|
|
1201
|
+
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>]>>]>]>>;
|
|
1199
1202
|
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"]>>;
|
|
1200
1203
|
externalsPresets: z.ZodOptional<z.ZodObject<{
|
|
1201
1204
|
node: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1363,14 +1366,16 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
1363
1366
|
errorsSpace: z.ZodOptional<z.ZodNumber>;
|
|
1364
1367
|
warningsSpace: z.ZodOptional<z.ZodNumber>;
|
|
1365
1368
|
}, "strict", z.ZodTypeAny, {
|
|
1369
|
+
modules?: boolean | undefined;
|
|
1370
|
+
chunks?: boolean | undefined;
|
|
1371
|
+
ids?: boolean | undefined;
|
|
1372
|
+
runtime?: boolean | undefined;
|
|
1373
|
+
hash?: boolean | undefined;
|
|
1366
1374
|
all?: boolean | undefined;
|
|
1367
1375
|
version?: boolean | undefined;
|
|
1368
|
-
runtime?: boolean | undefined;
|
|
1369
1376
|
publicPath?: boolean | undefined;
|
|
1370
1377
|
preset?: boolean | "none" | "verbose" | "normal" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | undefined;
|
|
1371
1378
|
assets?: boolean | undefined;
|
|
1372
|
-
chunks?: boolean | undefined;
|
|
1373
|
-
modules?: boolean | undefined;
|
|
1374
1379
|
entrypoints?: boolean | "auto" | undefined;
|
|
1375
1380
|
chunkGroups?: boolean | undefined;
|
|
1376
1381
|
warnings?: boolean | undefined;
|
|
@@ -1378,12 +1383,10 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
1378
1383
|
errors?: boolean | undefined;
|
|
1379
1384
|
errorsCount?: boolean | undefined;
|
|
1380
1385
|
colors?: boolean | undefined;
|
|
1381
|
-
hash?: boolean | undefined;
|
|
1382
1386
|
reasons?: boolean | undefined;
|
|
1383
1387
|
outputPath?: boolean | undefined;
|
|
1384
1388
|
chunkModules?: boolean | undefined;
|
|
1385
1389
|
chunkRelations?: boolean | undefined;
|
|
1386
|
-
ids?: boolean | undefined;
|
|
1387
1390
|
timings?: boolean | undefined;
|
|
1388
1391
|
builtAt?: boolean | undefined;
|
|
1389
1392
|
moduleAssets?: boolean | undefined;
|
|
@@ -1440,14 +1443,16 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
1440
1443
|
errorsSpace?: number | undefined;
|
|
1441
1444
|
warningsSpace?: number | undefined;
|
|
1442
1445
|
}, {
|
|
1446
|
+
modules?: boolean | undefined;
|
|
1447
|
+
chunks?: boolean | undefined;
|
|
1448
|
+
ids?: boolean | undefined;
|
|
1449
|
+
runtime?: boolean | undefined;
|
|
1450
|
+
hash?: boolean | undefined;
|
|
1443
1451
|
all?: boolean | undefined;
|
|
1444
1452
|
version?: boolean | undefined;
|
|
1445
|
-
runtime?: boolean | undefined;
|
|
1446
1453
|
publicPath?: boolean | undefined;
|
|
1447
1454
|
preset?: boolean | "none" | "verbose" | "normal" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | undefined;
|
|
1448
1455
|
assets?: boolean | undefined;
|
|
1449
|
-
chunks?: boolean | undefined;
|
|
1450
|
-
modules?: boolean | undefined;
|
|
1451
1456
|
entrypoints?: boolean | "auto" | undefined;
|
|
1452
1457
|
chunkGroups?: boolean | undefined;
|
|
1453
1458
|
warnings?: boolean | undefined;
|
|
@@ -1455,12 +1460,10 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
1455
1460
|
errors?: boolean | undefined;
|
|
1456
1461
|
errorsCount?: boolean | undefined;
|
|
1457
1462
|
colors?: boolean | undefined;
|
|
1458
|
-
hash?: boolean | undefined;
|
|
1459
1463
|
reasons?: boolean | undefined;
|
|
1460
1464
|
outputPath?: boolean | undefined;
|
|
1461
1465
|
chunkModules?: boolean | undefined;
|
|
1462
1466
|
chunkRelations?: boolean | undefined;
|
|
1463
|
-
ids?: boolean | undefined;
|
|
1464
1467
|
timings?: boolean | undefined;
|
|
1465
1468
|
builtAt?: boolean | undefined;
|
|
1466
1469
|
moduleAssets?: boolean | undefined;
|
|
@@ -1529,7 +1532,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
1529
1532
|
defaultSizeTypes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1530
1533
|
minChunks: z.ZodOptional<z.ZodNumber>;
|
|
1531
1534
|
usedExports: z.ZodOptional<z.ZodBoolean>;
|
|
1532
|
-
name: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodLiteral<false>]>, z.ZodFunction<z.ZodTuple<[z.
|
|
1535
|
+
name: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodLiteral<false>]>, z.ZodFunction<z.ZodTuple<[z.ZodType<Module, z.ZodTypeDef, Module>, z.ZodArray<z.ZodType<Chunk, z.ZodTypeDef, Chunk>, "many">, z.ZodString], z.ZodUnknown>, z.ZodOptional<z.ZodString>>]>>;
|
|
1533
1536
|
minSize: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodRecord<z.ZodString, z.ZodNumber>]>>;
|
|
1534
1537
|
maxSize: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodRecord<z.ZodString, z.ZodNumber>]>>;
|
|
1535
1538
|
maxAsyncSize: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodRecord<z.ZodString, z.ZodNumber>]>>;
|
|
@@ -1542,7 +1545,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
1542
1545
|
defaultSizeTypes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1543
1546
|
minChunks: z.ZodOptional<z.ZodNumber>;
|
|
1544
1547
|
usedExports: z.ZodOptional<z.ZodBoolean>;
|
|
1545
|
-
name: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodLiteral<false>]>, z.ZodFunction<z.ZodTuple<[z.
|
|
1548
|
+
name: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodLiteral<false>]>, z.ZodFunction<z.ZodTuple<[z.ZodType<Module, z.ZodTypeDef, Module>, z.ZodArray<z.ZodType<Chunk, z.ZodTypeDef, Chunk>, "many">, z.ZodString], z.ZodUnknown>, z.ZodOptional<z.ZodString>>]>>;
|
|
1546
1549
|
minSize: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodRecord<z.ZodString, z.ZodNumber>]>>;
|
|
1547
1550
|
maxSize: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodRecord<z.ZodString, z.ZodNumber>]>>;
|
|
1548
1551
|
maxAsyncSize: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodRecord<z.ZodString, z.ZodNumber>]>>;
|
|
@@ -1558,10 +1561,10 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
1558
1561
|
type: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>>;
|
|
1559
1562
|
idHint: z.ZodOptional<z.ZodString>;
|
|
1560
1563
|
}, "strict", z.ZodTypeAny, {
|
|
1561
|
-
name?: string | false | ((args_0: Module | undefined, ...args: unknown[]) => unknown) | undefined;
|
|
1562
|
-
filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
1563
1564
|
type?: string | RegExp | undefined;
|
|
1564
1565
|
chunks?: RegExp | "initial" | "async" | "all" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
|
1566
|
+
name?: string | false | ((args_0: Module, args_1: Chunk[], args_2: string, ...args: unknown[]) => string | undefined) | undefined;
|
|
1567
|
+
filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
1565
1568
|
usedExports?: boolean | undefined;
|
|
1566
1569
|
defaultSizeTypes?: string[] | undefined;
|
|
1567
1570
|
maxSize?: number | Record<string, number> | undefined;
|
|
@@ -1578,10 +1581,10 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
1578
1581
|
reuseExistingChunk?: boolean | undefined;
|
|
1579
1582
|
idHint?: string | undefined;
|
|
1580
1583
|
}, {
|
|
1581
|
-
name?: string | false | ((args_0: Module | undefined, ...args: unknown[]) => unknown) | undefined;
|
|
1582
|
-
filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
1583
1584
|
type?: string | RegExp | undefined;
|
|
1584
1585
|
chunks?: RegExp | "initial" | "async" | "all" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
|
1586
|
+
name?: string | false | ((args_0: Module, args_1: Chunk[], args_2: string, ...args: unknown[]) => string | undefined) | undefined;
|
|
1587
|
+
filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
1585
1588
|
usedExports?: boolean | undefined;
|
|
1586
1589
|
defaultSizeTypes?: string[] | undefined;
|
|
1587
1590
|
maxSize?: number | Record<string, number> | undefined;
|
|
@@ -1622,15 +1625,15 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
1622
1625
|
}>>;
|
|
1623
1626
|
hidePathInfo: z.ZodOptional<z.ZodBoolean>;
|
|
1624
1627
|
}, "strict", z.ZodTypeAny, {
|
|
1625
|
-
name?: string | false | ((args_0: Module | undefined, ...args: unknown[]) => unknown) | undefined;
|
|
1626
1628
|
chunks?: RegExp | "initial" | "async" | "all" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
|
1629
|
+
name?: string | false | ((args_0: Module, args_1: Chunk[], args_2: string, ...args: unknown[]) => string | undefined) | undefined;
|
|
1627
1630
|
usedExports?: boolean | undefined;
|
|
1628
1631
|
defaultSizeTypes?: string[] | undefined;
|
|
1629
1632
|
cacheGroups?: Record<string, false | {
|
|
1630
|
-
name?: string | false | ((args_0: Module | undefined, ...args: unknown[]) => unknown) | undefined;
|
|
1631
|
-
filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
1632
1633
|
type?: string | RegExp | undefined;
|
|
1633
1634
|
chunks?: RegExp | "initial" | "async" | "all" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
|
1635
|
+
name?: string | false | ((args_0: Module, args_1: Chunk[], args_2: string, ...args: unknown[]) => string | undefined) | undefined;
|
|
1636
|
+
filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
1634
1637
|
usedExports?: boolean | undefined;
|
|
1635
1638
|
defaultSizeTypes?: string[] | undefined;
|
|
1636
1639
|
maxSize?: number | Record<string, number> | undefined;
|
|
@@ -1665,15 +1668,15 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
1665
1668
|
maxInitialRequests?: number | undefined;
|
|
1666
1669
|
automaticNameDelimiter?: string | undefined;
|
|
1667
1670
|
}, {
|
|
1668
|
-
name?: string | false | ((args_0: Module | undefined, ...args: unknown[]) => unknown) | undefined;
|
|
1669
1671
|
chunks?: RegExp | "initial" | "async" | "all" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
|
1672
|
+
name?: string | false | ((args_0: Module, args_1: Chunk[], args_2: string, ...args: unknown[]) => string | undefined) | undefined;
|
|
1670
1673
|
usedExports?: boolean | undefined;
|
|
1671
1674
|
defaultSizeTypes?: string[] | undefined;
|
|
1672
1675
|
cacheGroups?: Record<string, false | {
|
|
1673
|
-
name?: string | false | ((args_0: Module | undefined, ...args: unknown[]) => unknown) | undefined;
|
|
1674
|
-
filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
1675
1676
|
type?: string | RegExp | undefined;
|
|
1676
1677
|
chunks?: RegExp | "initial" | "async" | "all" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
|
1678
|
+
name?: string | false | ((args_0: Module, args_1: Chunk[], args_2: string, ...args: unknown[]) => string | undefined) | undefined;
|
|
1679
|
+
filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
1677
1680
|
usedExports?: boolean | undefined;
|
|
1678
1681
|
defaultSizeTypes?: string[] | undefined;
|
|
1679
1682
|
maxSize?: number | Record<string, number> | undefined;
|
|
@@ -1742,20 +1745,20 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
1742
1745
|
providedExports?: boolean | undefined;
|
|
1743
1746
|
sideEffects?: boolean | "flag" | undefined;
|
|
1744
1747
|
moduleIds?: "named" | "natural" | "deterministic" | undefined;
|
|
1745
|
-
chunkIds?: "
|
|
1748
|
+
chunkIds?: "size" | "named" | "natural" | "deterministic" | "total-size" | undefined;
|
|
1746
1749
|
minimize?: boolean | undefined;
|
|
1747
1750
|
minimizer?: (false | "" | 0 | "..." | t.RspackPluginInstance | t.WebpackPluginInstance | t.RspackPluginFunction | t.WebpackPluginFunction | null | undefined)[] | undefined;
|
|
1748
1751
|
mergeDuplicateChunks?: boolean | undefined;
|
|
1749
1752
|
splitChunks?: false | {
|
|
1750
|
-
name?: string | false | ((args_0: Module | undefined, ...args: unknown[]) => unknown) | undefined;
|
|
1751
1753
|
chunks?: RegExp | "initial" | "async" | "all" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
|
1754
|
+
name?: string | false | ((args_0: Module, args_1: Chunk[], args_2: string, ...args: unknown[]) => string | undefined) | undefined;
|
|
1752
1755
|
usedExports?: boolean | undefined;
|
|
1753
1756
|
defaultSizeTypes?: string[] | undefined;
|
|
1754
1757
|
cacheGroups?: Record<string, false | {
|
|
1755
|
-
name?: string | false | ((args_0: Module | undefined, ...args: unknown[]) => unknown) | undefined;
|
|
1756
|
-
filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
1757
1758
|
type?: string | RegExp | undefined;
|
|
1758
1759
|
chunks?: RegExp | "initial" | "async" | "all" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
|
1760
|
+
name?: string | false | ((args_0: Module, args_1: Chunk[], args_2: string, ...args: unknown[]) => string | undefined) | undefined;
|
|
1761
|
+
filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
1759
1762
|
usedExports?: boolean | undefined;
|
|
1760
1763
|
defaultSizeTypes?: string[] | undefined;
|
|
1761
1764
|
maxSize?: number | Record<string, number> | undefined;
|
|
@@ -1800,7 +1803,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
1800
1803
|
realContentHash?: boolean | undefined;
|
|
1801
1804
|
concatenateModules?: boolean | undefined;
|
|
1802
1805
|
innerGraph?: boolean | undefined;
|
|
1803
|
-
mangleExports?: boolean | "
|
|
1806
|
+
mangleExports?: boolean | "size" | "deterministic" | undefined;
|
|
1804
1807
|
nodeEnv?: string | false | undefined;
|
|
1805
1808
|
emitOnErrors?: boolean | undefined;
|
|
1806
1809
|
avoidEntryIife?: boolean | undefined;
|
|
@@ -1809,20 +1812,20 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
1809
1812
|
providedExports?: boolean | undefined;
|
|
1810
1813
|
sideEffects?: boolean | "flag" | undefined;
|
|
1811
1814
|
moduleIds?: "named" | "natural" | "deterministic" | undefined;
|
|
1812
|
-
chunkIds?: "
|
|
1815
|
+
chunkIds?: "size" | "named" | "natural" | "deterministic" | "total-size" | undefined;
|
|
1813
1816
|
minimize?: boolean | undefined;
|
|
1814
1817
|
minimizer?: (false | "" | 0 | "..." | t.RspackPluginInstance | t.WebpackPluginInstance | t.RspackPluginFunction | t.WebpackPluginFunction | null | undefined)[] | undefined;
|
|
1815
1818
|
mergeDuplicateChunks?: boolean | undefined;
|
|
1816
1819
|
splitChunks?: false | {
|
|
1817
|
-
name?: string | false | ((args_0: Module | undefined, ...args: unknown[]) => unknown) | undefined;
|
|
1818
1820
|
chunks?: RegExp | "initial" | "async" | "all" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
|
1821
|
+
name?: string | false | ((args_0: Module, args_1: Chunk[], args_2: string, ...args: unknown[]) => string | undefined) | undefined;
|
|
1819
1822
|
usedExports?: boolean | undefined;
|
|
1820
1823
|
defaultSizeTypes?: string[] | undefined;
|
|
1821
1824
|
cacheGroups?: Record<string, false | {
|
|
1822
|
-
name?: string | false | ((args_0: Module | undefined, ...args: unknown[]) => unknown) | undefined;
|
|
1823
|
-
filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
1824
1825
|
type?: string | RegExp | undefined;
|
|
1825
1826
|
chunks?: RegExp | "initial" | "async" | "all" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
|
1827
|
+
name?: string | false | ((args_0: Module, args_1: Chunk[], args_2: string, ...args: unknown[]) => string | undefined) | undefined;
|
|
1828
|
+
filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
1826
1829
|
usedExports?: boolean | undefined;
|
|
1827
1830
|
defaultSizeTypes?: string[] | undefined;
|
|
1828
1831
|
maxSize?: number | Record<string, number> | undefined;
|
|
@@ -1867,7 +1870,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
1867
1870
|
realContentHash?: boolean | undefined;
|
|
1868
1871
|
concatenateModules?: boolean | undefined;
|
|
1869
1872
|
innerGraph?: boolean | undefined;
|
|
1870
|
-
mangleExports?: boolean | "
|
|
1873
|
+
mangleExports?: boolean | "size" | "deterministic" | undefined;
|
|
1871
1874
|
nodeEnv?: string | false | undefined;
|
|
1872
1875
|
emitOnErrors?: boolean | undefined;
|
|
1873
1876
|
avoidEntryIife?: boolean | undefined;
|
|
@@ -1939,12 +1942,12 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
1939
1942
|
requireResolve: z.ZodOptional<z.ZodBoolean>;
|
|
1940
1943
|
importDynamic: z.ZodOptional<z.ZodBoolean>;
|
|
1941
1944
|
}, "strict", z.ZodTypeAny, {
|
|
1945
|
+
url?: boolean | "relative" | undefined;
|
|
1942
1946
|
dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined;
|
|
1943
1947
|
dynamicImportPreload?: number | boolean | undefined;
|
|
1944
1948
|
dynamicImportPrefetch?: number | boolean | undefined;
|
|
1945
1949
|
dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined;
|
|
1946
1950
|
importMeta?: boolean | undefined;
|
|
1947
|
-
url?: boolean | "relative" | undefined;
|
|
1948
1951
|
exprContextCritical?: boolean | undefined;
|
|
1949
1952
|
wrappedContextCritical?: boolean | undefined;
|
|
1950
1953
|
wrappedContextRegExp?: RegExp | undefined;
|
|
@@ -1959,12 +1962,12 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
1959
1962
|
requireResolve?: boolean | undefined;
|
|
1960
1963
|
importDynamic?: boolean | undefined;
|
|
1961
1964
|
}, {
|
|
1965
|
+
url?: boolean | "relative" | undefined;
|
|
1962
1966
|
dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined;
|
|
1963
1967
|
dynamicImportPreload?: number | boolean | undefined;
|
|
1964
1968
|
dynamicImportPrefetch?: number | boolean | undefined;
|
|
1965
1969
|
dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined;
|
|
1966
1970
|
importMeta?: boolean | undefined;
|
|
1967
|
-
url?: boolean | "relative" | undefined;
|
|
1968
1971
|
exprContextCritical?: boolean | undefined;
|
|
1969
1972
|
wrappedContextCritical?: boolean | undefined;
|
|
1970
1973
|
wrappedContextRegExp?: RegExp | undefined;
|
|
@@ -2000,12 +2003,12 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2000
2003
|
requireResolve: z.ZodOptional<z.ZodBoolean>;
|
|
2001
2004
|
importDynamic: z.ZodOptional<z.ZodBoolean>;
|
|
2002
2005
|
}, "strict", z.ZodTypeAny, {
|
|
2006
|
+
url?: boolean | "relative" | undefined;
|
|
2003
2007
|
dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined;
|
|
2004
2008
|
dynamicImportPreload?: number | boolean | undefined;
|
|
2005
2009
|
dynamicImportPrefetch?: number | boolean | undefined;
|
|
2006
2010
|
dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined;
|
|
2007
2011
|
importMeta?: boolean | undefined;
|
|
2008
|
-
url?: boolean | "relative" | undefined;
|
|
2009
2012
|
exprContextCritical?: boolean | undefined;
|
|
2010
2013
|
wrappedContextCritical?: boolean | undefined;
|
|
2011
2014
|
wrappedContextRegExp?: RegExp | undefined;
|
|
@@ -2020,12 +2023,12 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2020
2023
|
requireResolve?: boolean | undefined;
|
|
2021
2024
|
importDynamic?: boolean | undefined;
|
|
2022
2025
|
}, {
|
|
2026
|
+
url?: boolean | "relative" | undefined;
|
|
2023
2027
|
dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined;
|
|
2024
2028
|
dynamicImportPreload?: number | boolean | undefined;
|
|
2025
2029
|
dynamicImportPrefetch?: number | boolean | undefined;
|
|
2026
2030
|
dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined;
|
|
2027
2031
|
importMeta?: boolean | undefined;
|
|
2028
|
-
url?: boolean | "relative" | undefined;
|
|
2029
2032
|
exprContextCritical?: boolean | undefined;
|
|
2030
2033
|
wrappedContextCritical?: boolean | undefined;
|
|
2031
2034
|
wrappedContextRegExp?: RegExp | undefined;
|
|
@@ -2061,12 +2064,12 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2061
2064
|
requireResolve: z.ZodOptional<z.ZodBoolean>;
|
|
2062
2065
|
importDynamic: z.ZodOptional<z.ZodBoolean>;
|
|
2063
2066
|
}, "strict", z.ZodTypeAny, {
|
|
2067
|
+
url?: boolean | "relative" | undefined;
|
|
2064
2068
|
dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined;
|
|
2065
2069
|
dynamicImportPreload?: number | boolean | undefined;
|
|
2066
2070
|
dynamicImportPrefetch?: number | boolean | undefined;
|
|
2067
2071
|
dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined;
|
|
2068
2072
|
importMeta?: boolean | undefined;
|
|
2069
|
-
url?: boolean | "relative" | undefined;
|
|
2070
2073
|
exprContextCritical?: boolean | undefined;
|
|
2071
2074
|
wrappedContextCritical?: boolean | undefined;
|
|
2072
2075
|
wrappedContextRegExp?: RegExp | undefined;
|
|
@@ -2081,12 +2084,12 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2081
2084
|
requireResolve?: boolean | undefined;
|
|
2082
2085
|
importDynamic?: boolean | undefined;
|
|
2083
2086
|
}, {
|
|
2087
|
+
url?: boolean | "relative" | undefined;
|
|
2084
2088
|
dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined;
|
|
2085
2089
|
dynamicImportPreload?: number | boolean | undefined;
|
|
2086
2090
|
dynamicImportPrefetch?: number | boolean | undefined;
|
|
2087
2091
|
dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined;
|
|
2088
2092
|
importMeta?: boolean | undefined;
|
|
2089
|
-
url?: boolean | "relative" | undefined;
|
|
2090
2093
|
exprContextCritical?: boolean | undefined;
|
|
2091
2094
|
wrappedContextCritical?: boolean | undefined;
|
|
2092
2095
|
wrappedContextRegExp?: RegExp | undefined;
|
|
@@ -2122,12 +2125,12 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2122
2125
|
requireResolve: z.ZodOptional<z.ZodBoolean>;
|
|
2123
2126
|
importDynamic: z.ZodOptional<z.ZodBoolean>;
|
|
2124
2127
|
}, "strict", z.ZodTypeAny, {
|
|
2128
|
+
url?: boolean | "relative" | undefined;
|
|
2125
2129
|
dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined;
|
|
2126
2130
|
dynamicImportPreload?: number | boolean | undefined;
|
|
2127
2131
|
dynamicImportPrefetch?: number | boolean | undefined;
|
|
2128
2132
|
dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined;
|
|
2129
2133
|
importMeta?: boolean | undefined;
|
|
2130
|
-
url?: boolean | "relative" | undefined;
|
|
2131
2134
|
exprContextCritical?: boolean | undefined;
|
|
2132
2135
|
wrappedContextCritical?: boolean | undefined;
|
|
2133
2136
|
wrappedContextRegExp?: RegExp | undefined;
|
|
@@ -2142,12 +2145,12 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2142
2145
|
requireResolve?: boolean | undefined;
|
|
2143
2146
|
importDynamic?: boolean | undefined;
|
|
2144
2147
|
}, {
|
|
2148
|
+
url?: boolean | "relative" | undefined;
|
|
2145
2149
|
dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined;
|
|
2146
2150
|
dynamicImportPreload?: number | boolean | undefined;
|
|
2147
2151
|
dynamicImportPrefetch?: number | boolean | undefined;
|
|
2148
2152
|
dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined;
|
|
2149
2153
|
importMeta?: boolean | undefined;
|
|
2150
|
-
url?: boolean | "relative" | undefined;
|
|
2151
2154
|
exprContextCritical?: boolean | undefined;
|
|
2152
2155
|
wrappedContextCritical?: boolean | undefined;
|
|
2153
2156
|
wrappedContextRegExp?: RegExp | undefined;
|
|
@@ -2178,12 +2181,12 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2178
2181
|
namedExports?: boolean | undefined;
|
|
2179
2182
|
} | undefined;
|
|
2180
2183
|
javascript?: {
|
|
2184
|
+
url?: boolean | "relative" | undefined;
|
|
2181
2185
|
dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined;
|
|
2182
2186
|
dynamicImportPreload?: number | boolean | undefined;
|
|
2183
2187
|
dynamicImportPrefetch?: number | boolean | undefined;
|
|
2184
2188
|
dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined;
|
|
2185
2189
|
importMeta?: boolean | undefined;
|
|
2186
|
-
url?: boolean | "relative" | undefined;
|
|
2187
2190
|
exprContextCritical?: boolean | undefined;
|
|
2188
2191
|
wrappedContextCritical?: boolean | undefined;
|
|
2189
2192
|
wrappedContextRegExp?: RegExp | undefined;
|
|
@@ -2199,12 +2202,12 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2199
2202
|
importDynamic?: boolean | undefined;
|
|
2200
2203
|
} | undefined;
|
|
2201
2204
|
"javascript/auto"?: {
|
|
2205
|
+
url?: boolean | "relative" | undefined;
|
|
2202
2206
|
dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined;
|
|
2203
2207
|
dynamicImportPreload?: number | boolean | undefined;
|
|
2204
2208
|
dynamicImportPrefetch?: number | boolean | undefined;
|
|
2205
2209
|
dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined;
|
|
2206
2210
|
importMeta?: boolean | undefined;
|
|
2207
|
-
url?: boolean | "relative" | undefined;
|
|
2208
2211
|
exprContextCritical?: boolean | undefined;
|
|
2209
2212
|
wrappedContextCritical?: boolean | undefined;
|
|
2210
2213
|
wrappedContextRegExp?: RegExp | undefined;
|
|
@@ -2220,12 +2223,12 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2220
2223
|
importDynamic?: boolean | undefined;
|
|
2221
2224
|
} | undefined;
|
|
2222
2225
|
"javascript/dynamic"?: {
|
|
2226
|
+
url?: boolean | "relative" | undefined;
|
|
2223
2227
|
dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined;
|
|
2224
2228
|
dynamicImportPreload?: number | boolean | undefined;
|
|
2225
2229
|
dynamicImportPrefetch?: number | boolean | undefined;
|
|
2226
2230
|
dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined;
|
|
2227
2231
|
importMeta?: boolean | undefined;
|
|
2228
|
-
url?: boolean | "relative" | undefined;
|
|
2229
2232
|
exprContextCritical?: boolean | undefined;
|
|
2230
2233
|
wrappedContextCritical?: boolean | undefined;
|
|
2231
2234
|
wrappedContextRegExp?: RegExp | undefined;
|
|
@@ -2241,12 +2244,12 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2241
2244
|
importDynamic?: boolean | undefined;
|
|
2242
2245
|
} | undefined;
|
|
2243
2246
|
"javascript/esm"?: {
|
|
2247
|
+
url?: boolean | "relative" | undefined;
|
|
2244
2248
|
dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined;
|
|
2245
2249
|
dynamicImportPreload?: number | boolean | undefined;
|
|
2246
2250
|
dynamicImportPrefetch?: number | boolean | undefined;
|
|
2247
2251
|
dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined;
|
|
2248
2252
|
importMeta?: boolean | undefined;
|
|
2249
|
-
url?: boolean | "relative" | undefined;
|
|
2250
2253
|
exprContextCritical?: boolean | undefined;
|
|
2251
2254
|
wrappedContextCritical?: boolean | undefined;
|
|
2252
2255
|
wrappedContextRegExp?: RegExp | undefined;
|
|
@@ -2277,12 +2280,12 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2277
2280
|
namedExports?: boolean | undefined;
|
|
2278
2281
|
} | undefined;
|
|
2279
2282
|
javascript?: {
|
|
2283
|
+
url?: boolean | "relative" | undefined;
|
|
2280
2284
|
dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined;
|
|
2281
2285
|
dynamicImportPreload?: number | boolean | undefined;
|
|
2282
2286
|
dynamicImportPrefetch?: number | boolean | undefined;
|
|
2283
2287
|
dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined;
|
|
2284
2288
|
importMeta?: boolean | undefined;
|
|
2285
|
-
url?: boolean | "relative" | undefined;
|
|
2286
2289
|
exprContextCritical?: boolean | undefined;
|
|
2287
2290
|
wrappedContextCritical?: boolean | undefined;
|
|
2288
2291
|
wrappedContextRegExp?: RegExp | undefined;
|
|
@@ -2298,12 +2301,12 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2298
2301
|
importDynamic?: boolean | undefined;
|
|
2299
2302
|
} | undefined;
|
|
2300
2303
|
"javascript/auto"?: {
|
|
2304
|
+
url?: boolean | "relative" | undefined;
|
|
2301
2305
|
dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined;
|
|
2302
2306
|
dynamicImportPreload?: number | boolean | undefined;
|
|
2303
2307
|
dynamicImportPrefetch?: number | boolean | undefined;
|
|
2304
2308
|
dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined;
|
|
2305
2309
|
importMeta?: boolean | undefined;
|
|
2306
|
-
url?: boolean | "relative" | undefined;
|
|
2307
2310
|
exprContextCritical?: boolean | undefined;
|
|
2308
2311
|
wrappedContextCritical?: boolean | undefined;
|
|
2309
2312
|
wrappedContextRegExp?: RegExp | undefined;
|
|
@@ -2319,12 +2322,12 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2319
2322
|
importDynamic?: boolean | undefined;
|
|
2320
2323
|
} | undefined;
|
|
2321
2324
|
"javascript/dynamic"?: {
|
|
2325
|
+
url?: boolean | "relative" | undefined;
|
|
2322
2326
|
dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined;
|
|
2323
2327
|
dynamicImportPreload?: number | boolean | undefined;
|
|
2324
2328
|
dynamicImportPrefetch?: number | boolean | undefined;
|
|
2325
2329
|
dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined;
|
|
2326
2330
|
importMeta?: boolean | undefined;
|
|
2327
|
-
url?: boolean | "relative" | undefined;
|
|
2328
2331
|
exprContextCritical?: boolean | undefined;
|
|
2329
2332
|
wrappedContextCritical?: boolean | undefined;
|
|
2330
2333
|
wrappedContextRegExp?: RegExp | undefined;
|
|
@@ -2340,12 +2343,12 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2340
2343
|
importDynamic?: boolean | undefined;
|
|
2341
2344
|
} | undefined;
|
|
2342
2345
|
"javascript/esm"?: {
|
|
2346
|
+
url?: boolean | "relative" | undefined;
|
|
2343
2347
|
dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined;
|
|
2344
2348
|
dynamicImportPreload?: number | boolean | undefined;
|
|
2345
2349
|
dynamicImportPrefetch?: number | boolean | undefined;
|
|
2346
2350
|
dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined;
|
|
2347
2351
|
importMeta?: boolean | undefined;
|
|
2348
|
-
url?: boolean | "relative" | undefined;
|
|
2349
2352
|
exprContextCritical?: boolean | undefined;
|
|
2350
2353
|
wrappedContextCritical?: boolean | undefined;
|
|
2351
2354
|
wrappedContextRegExp?: RegExp | undefined;
|
|
@@ -2608,12 +2611,12 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2608
2611
|
namedExports?: boolean | undefined;
|
|
2609
2612
|
} | undefined;
|
|
2610
2613
|
javascript?: {
|
|
2614
|
+
url?: boolean | "relative" | undefined;
|
|
2611
2615
|
dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined;
|
|
2612
2616
|
dynamicImportPreload?: number | boolean | undefined;
|
|
2613
2617
|
dynamicImportPrefetch?: number | boolean | undefined;
|
|
2614
2618
|
dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined;
|
|
2615
2619
|
importMeta?: boolean | undefined;
|
|
2616
|
-
url?: boolean | "relative" | undefined;
|
|
2617
2620
|
exprContextCritical?: boolean | undefined;
|
|
2618
2621
|
wrappedContextCritical?: boolean | undefined;
|
|
2619
2622
|
wrappedContextRegExp?: RegExp | undefined;
|
|
@@ -2629,12 +2632,12 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2629
2632
|
importDynamic?: boolean | undefined;
|
|
2630
2633
|
} | undefined;
|
|
2631
2634
|
"javascript/auto"?: {
|
|
2635
|
+
url?: boolean | "relative" | undefined;
|
|
2632
2636
|
dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined;
|
|
2633
2637
|
dynamicImportPreload?: number | boolean | undefined;
|
|
2634
2638
|
dynamicImportPrefetch?: number | boolean | undefined;
|
|
2635
2639
|
dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined;
|
|
2636
2640
|
importMeta?: boolean | undefined;
|
|
2637
|
-
url?: boolean | "relative" | undefined;
|
|
2638
2641
|
exprContextCritical?: boolean | undefined;
|
|
2639
2642
|
wrappedContextCritical?: boolean | undefined;
|
|
2640
2643
|
wrappedContextRegExp?: RegExp | undefined;
|
|
@@ -2650,12 +2653,12 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2650
2653
|
importDynamic?: boolean | undefined;
|
|
2651
2654
|
} | undefined;
|
|
2652
2655
|
"javascript/dynamic"?: {
|
|
2656
|
+
url?: boolean | "relative" | undefined;
|
|
2653
2657
|
dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined;
|
|
2654
2658
|
dynamicImportPreload?: number | boolean | undefined;
|
|
2655
2659
|
dynamicImportPrefetch?: number | boolean | undefined;
|
|
2656
2660
|
dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined;
|
|
2657
2661
|
importMeta?: boolean | undefined;
|
|
2658
|
-
url?: boolean | "relative" | undefined;
|
|
2659
2662
|
exprContextCritical?: boolean | undefined;
|
|
2660
2663
|
wrappedContextCritical?: boolean | undefined;
|
|
2661
2664
|
wrappedContextRegExp?: RegExp | undefined;
|
|
@@ -2671,12 +2674,12 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2671
2674
|
importDynamic?: boolean | undefined;
|
|
2672
2675
|
} | undefined;
|
|
2673
2676
|
"javascript/esm"?: {
|
|
2677
|
+
url?: boolean | "relative" | undefined;
|
|
2674
2678
|
dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined;
|
|
2675
2679
|
dynamicImportPreload?: number | boolean | undefined;
|
|
2676
2680
|
dynamicImportPrefetch?: number | boolean | undefined;
|
|
2677
2681
|
dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined;
|
|
2678
2682
|
importMeta?: boolean | undefined;
|
|
2679
|
-
url?: boolean | "relative" | undefined;
|
|
2680
2683
|
exprContextCritical?: boolean | undefined;
|
|
2681
2684
|
wrappedContextCritical?: boolean | undefined;
|
|
2682
2685
|
wrappedContextRegExp?: RegExp | undefined;
|
|
@@ -2756,12 +2759,12 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2756
2759
|
namedExports?: boolean | undefined;
|
|
2757
2760
|
} | undefined;
|
|
2758
2761
|
javascript?: {
|
|
2762
|
+
url?: boolean | "relative" | undefined;
|
|
2759
2763
|
dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined;
|
|
2760
2764
|
dynamicImportPreload?: number | boolean | undefined;
|
|
2761
2765
|
dynamicImportPrefetch?: number | boolean | undefined;
|
|
2762
2766
|
dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined;
|
|
2763
2767
|
importMeta?: boolean | undefined;
|
|
2764
|
-
url?: boolean | "relative" | undefined;
|
|
2765
2768
|
exprContextCritical?: boolean | undefined;
|
|
2766
2769
|
wrappedContextCritical?: boolean | undefined;
|
|
2767
2770
|
wrappedContextRegExp?: RegExp | undefined;
|
|
@@ -2777,12 +2780,12 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2777
2780
|
importDynamic?: boolean | undefined;
|
|
2778
2781
|
} | undefined;
|
|
2779
2782
|
"javascript/auto"?: {
|
|
2783
|
+
url?: boolean | "relative" | undefined;
|
|
2780
2784
|
dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined;
|
|
2781
2785
|
dynamicImportPreload?: number | boolean | undefined;
|
|
2782
2786
|
dynamicImportPrefetch?: number | boolean | undefined;
|
|
2783
2787
|
dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined;
|
|
2784
2788
|
importMeta?: boolean | undefined;
|
|
2785
|
-
url?: boolean | "relative" | undefined;
|
|
2786
2789
|
exprContextCritical?: boolean | undefined;
|
|
2787
2790
|
wrappedContextCritical?: boolean | undefined;
|
|
2788
2791
|
wrappedContextRegExp?: RegExp | undefined;
|
|
@@ -2798,12 +2801,12 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2798
2801
|
importDynamic?: boolean | undefined;
|
|
2799
2802
|
} | undefined;
|
|
2800
2803
|
"javascript/dynamic"?: {
|
|
2804
|
+
url?: boolean | "relative" | undefined;
|
|
2801
2805
|
dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined;
|
|
2802
2806
|
dynamicImportPreload?: number | boolean | undefined;
|
|
2803
2807
|
dynamicImportPrefetch?: number | boolean | undefined;
|
|
2804
2808
|
dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined;
|
|
2805
2809
|
importMeta?: boolean | undefined;
|
|
2806
|
-
url?: boolean | "relative" | undefined;
|
|
2807
2810
|
exprContextCritical?: boolean | undefined;
|
|
2808
2811
|
wrappedContextCritical?: boolean | undefined;
|
|
2809
2812
|
wrappedContextRegExp?: RegExp | undefined;
|
|
@@ -2819,12 +2822,12 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2819
2822
|
importDynamic?: boolean | undefined;
|
|
2820
2823
|
} | undefined;
|
|
2821
2824
|
"javascript/esm"?: {
|
|
2825
|
+
url?: boolean | "relative" | undefined;
|
|
2822
2826
|
dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined;
|
|
2823
2827
|
dynamicImportPreload?: number | boolean | undefined;
|
|
2824
2828
|
dynamicImportPrefetch?: number | boolean | undefined;
|
|
2825
2829
|
dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined;
|
|
2826
2830
|
importMeta?: boolean | undefined;
|
|
2827
|
-
url?: boolean | "relative" | undefined;
|
|
2828
2831
|
exprContextCritical?: boolean | undefined;
|
|
2829
2832
|
wrappedContextCritical?: boolean | undefined;
|
|
2830
2833
|
wrappedContextRegExp?: RegExp | undefined;
|
|
@@ -2906,6 +2909,9 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2906
2909
|
maxEntrypointSize?: number | undefined;
|
|
2907
2910
|
}>, z.ZodLiteral<false>]>>;
|
|
2908
2911
|
}, "strict", z.ZodTypeAny, {
|
|
2912
|
+
dependencies?: string[] | undefined;
|
|
2913
|
+
context?: string | undefined;
|
|
2914
|
+
name?: string | undefined;
|
|
2909
2915
|
module?: {
|
|
2910
2916
|
defaultRules?: (false | "" | 0 | t.RuleSetRule | "..." | null | undefined)[] | undefined;
|
|
2911
2917
|
rules?: (false | "" | 0 | t.RuleSetRule | "..." | null | undefined)[] | undefined;
|
|
@@ -2925,12 +2931,12 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2925
2931
|
namedExports?: boolean | undefined;
|
|
2926
2932
|
} | undefined;
|
|
2927
2933
|
javascript?: {
|
|
2934
|
+
url?: boolean | "relative" | undefined;
|
|
2928
2935
|
dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined;
|
|
2929
2936
|
dynamicImportPreload?: number | boolean | undefined;
|
|
2930
2937
|
dynamicImportPrefetch?: number | boolean | undefined;
|
|
2931
2938
|
dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined;
|
|
2932
2939
|
importMeta?: boolean | undefined;
|
|
2933
|
-
url?: boolean | "relative" | undefined;
|
|
2934
2940
|
exprContextCritical?: boolean | undefined;
|
|
2935
2941
|
wrappedContextCritical?: boolean | undefined;
|
|
2936
2942
|
wrappedContextRegExp?: RegExp | undefined;
|
|
@@ -2946,12 +2952,12 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2946
2952
|
importDynamic?: boolean | undefined;
|
|
2947
2953
|
} | undefined;
|
|
2948
2954
|
"javascript/auto"?: {
|
|
2955
|
+
url?: boolean | "relative" | undefined;
|
|
2949
2956
|
dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined;
|
|
2950
2957
|
dynamicImportPreload?: number | boolean | undefined;
|
|
2951
2958
|
dynamicImportPrefetch?: number | boolean | undefined;
|
|
2952
2959
|
dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined;
|
|
2953
2960
|
importMeta?: boolean | undefined;
|
|
2954
|
-
url?: boolean | "relative" | undefined;
|
|
2955
2961
|
exprContextCritical?: boolean | undefined;
|
|
2956
2962
|
wrappedContextCritical?: boolean | undefined;
|
|
2957
2963
|
wrappedContextRegExp?: RegExp | undefined;
|
|
@@ -2967,12 +2973,12 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2967
2973
|
importDynamic?: boolean | undefined;
|
|
2968
2974
|
} | undefined;
|
|
2969
2975
|
"javascript/dynamic"?: {
|
|
2976
|
+
url?: boolean | "relative" | undefined;
|
|
2970
2977
|
dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined;
|
|
2971
2978
|
dynamicImportPreload?: number | boolean | undefined;
|
|
2972
2979
|
dynamicImportPrefetch?: number | boolean | undefined;
|
|
2973
2980
|
dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined;
|
|
2974
2981
|
importMeta?: boolean | undefined;
|
|
2975
|
-
url?: boolean | "relative" | undefined;
|
|
2976
2982
|
exprContextCritical?: boolean | undefined;
|
|
2977
2983
|
wrappedContextCritical?: boolean | undefined;
|
|
2978
2984
|
wrappedContextRegExp?: RegExp | undefined;
|
|
@@ -2988,12 +2994,12 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2988
2994
|
importDynamic?: boolean | undefined;
|
|
2989
2995
|
} | undefined;
|
|
2990
2996
|
"javascript/esm"?: {
|
|
2997
|
+
url?: boolean | "relative" | undefined;
|
|
2991
2998
|
dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined;
|
|
2992
2999
|
dynamicImportPreload?: number | boolean | undefined;
|
|
2993
3000
|
dynamicImportPrefetch?: number | boolean | undefined;
|
|
2994
3001
|
dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined;
|
|
2995
3002
|
importMeta?: boolean | undefined;
|
|
2996
|
-
url?: boolean | "relative" | undefined;
|
|
2997
3003
|
exprContextCritical?: boolean | undefined;
|
|
2998
3004
|
wrappedContextCritical?: boolean | undefined;
|
|
2999
3005
|
wrappedContextRegExp?: RegExp | undefined;
|
|
@@ -3055,7 +3061,6 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
3055
3061
|
} | undefined;
|
|
3056
3062
|
noParse?: string | RegExp | ((args_0: string, ...args: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args: unknown[]) => boolean))[] | undefined;
|
|
3057
3063
|
} | undefined;
|
|
3058
|
-
name?: string | undefined;
|
|
3059
3064
|
profile?: boolean | undefined;
|
|
3060
3065
|
cache?: boolean | undefined;
|
|
3061
3066
|
amd?: false | Record<string, any> | undefined;
|
|
@@ -3070,7 +3075,6 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
3070
3075
|
hints?: false | "error" | "warning" | undefined;
|
|
3071
3076
|
maxEntrypointSize?: number | undefined;
|
|
3072
3077
|
} | undefined;
|
|
3073
|
-
context?: string | undefined;
|
|
3074
3078
|
mode?: "development" | "production" | "none" | undefined;
|
|
3075
3079
|
experiments?: {
|
|
3076
3080
|
css?: boolean | undefined;
|
|
@@ -3097,10 +3101,10 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
3097
3101
|
backend?: {
|
|
3098
3102
|
client?: string | undefined;
|
|
3099
3103
|
listen?: number | {
|
|
3100
|
-
path?: string | undefined;
|
|
3101
3104
|
port?: number | undefined;
|
|
3102
3105
|
host?: string | undefined;
|
|
3103
3106
|
backlog?: number | undefined;
|
|
3107
|
+
path?: string | undefined;
|
|
3104
3108
|
exclusive?: boolean | undefined;
|
|
3105
3109
|
readableAll?: boolean | undefined;
|
|
3106
3110
|
writableAll?: boolean | undefined;
|
|
@@ -3130,6 +3134,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
3130
3134
|
chunksRender?: boolean | undefined;
|
|
3131
3135
|
emitAssets?: boolean | undefined;
|
|
3132
3136
|
} | undefined;
|
|
3137
|
+
parallelCodeSplitting?: boolean | undefined;
|
|
3133
3138
|
futureDefaults?: boolean | undefined;
|
|
3134
3139
|
rspackFuture?: {
|
|
3135
3140
|
bundlerInfo?: {
|
|
@@ -3142,14 +3147,16 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
3142
3147
|
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;
|
|
3143
3148
|
resolve?: t.ResolveOptions | undefined;
|
|
3144
3149
|
stats?: boolean | "none" | "verbose" | "normal" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | {
|
|
3150
|
+
modules?: boolean | undefined;
|
|
3151
|
+
chunks?: boolean | undefined;
|
|
3152
|
+
ids?: boolean | undefined;
|
|
3153
|
+
runtime?: boolean | undefined;
|
|
3154
|
+
hash?: boolean | undefined;
|
|
3145
3155
|
all?: boolean | undefined;
|
|
3146
3156
|
version?: boolean | undefined;
|
|
3147
|
-
runtime?: boolean | undefined;
|
|
3148
3157
|
publicPath?: boolean | undefined;
|
|
3149
3158
|
preset?: boolean | "none" | "verbose" | "normal" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | undefined;
|
|
3150
3159
|
assets?: boolean | undefined;
|
|
3151
|
-
chunks?: boolean | undefined;
|
|
3152
|
-
modules?: boolean | undefined;
|
|
3153
3160
|
entrypoints?: boolean | "auto" | undefined;
|
|
3154
3161
|
chunkGroups?: boolean | undefined;
|
|
3155
3162
|
warnings?: boolean | undefined;
|
|
@@ -3157,12 +3164,10 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
3157
3164
|
errors?: boolean | undefined;
|
|
3158
3165
|
errorsCount?: boolean | undefined;
|
|
3159
3166
|
colors?: boolean | undefined;
|
|
3160
|
-
hash?: boolean | undefined;
|
|
3161
3167
|
reasons?: boolean | undefined;
|
|
3162
3168
|
outputPath?: boolean | undefined;
|
|
3163
3169
|
chunkModules?: boolean | undefined;
|
|
3164
3170
|
chunkRelations?: boolean | undefined;
|
|
3165
|
-
ids?: boolean | undefined;
|
|
3166
3171
|
timings?: boolean | undefined;
|
|
3167
3172
|
builtAt?: boolean | undefined;
|
|
3168
3173
|
moduleAssets?: boolean | undefined;
|
|
@@ -3220,10 +3225,11 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
3220
3225
|
warningsSpace?: number | undefined;
|
|
3221
3226
|
} | undefined;
|
|
3222
3227
|
loader?: Record<string, any> | undefined;
|
|
3223
|
-
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>) | (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>))[] | undefined;
|
|
3228
|
+
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;
|
|
3224
3229
|
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;
|
|
3225
3230
|
entry?: string | string[] | Record<string, string | string[] | {
|
|
3226
3231
|
import: string | string[];
|
|
3232
|
+
layer?: string | null | undefined;
|
|
3227
3233
|
runtime?: string | false | undefined;
|
|
3228
3234
|
chunkLoading?: string | false | undefined;
|
|
3229
3235
|
asyncChunks?: boolean | undefined;
|
|
@@ -3247,11 +3253,11 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
3247
3253
|
export?: string | string[] | undefined;
|
|
3248
3254
|
umdNamedDefine?: boolean | undefined;
|
|
3249
3255
|
} | undefined;
|
|
3250
|
-
layer?: string | null | undefined;
|
|
3251
3256
|
wasmLoading?: string | false | undefined;
|
|
3252
3257
|
dependOn?: string | string[] | undefined;
|
|
3253
3258
|
}> | ((...args: unknown[]) => string | string[] | Record<string, string | string[] | {
|
|
3254
3259
|
import: string | string[];
|
|
3260
|
+
layer?: string | null | undefined;
|
|
3255
3261
|
runtime?: string | false | undefined;
|
|
3256
3262
|
chunkLoading?: string | false | undefined;
|
|
3257
3263
|
asyncChunks?: boolean | undefined;
|
|
@@ -3275,11 +3281,11 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
3275
3281
|
export?: string | string[] | undefined;
|
|
3276
3282
|
umdNamedDefine?: boolean | undefined;
|
|
3277
3283
|
} | undefined;
|
|
3278
|
-
layer?: string | null | undefined;
|
|
3279
3284
|
wasmLoading?: string | false | undefined;
|
|
3280
3285
|
dependOn?: string | string[] | undefined;
|
|
3281
3286
|
}> | Promise<string | string[] | Record<string, string | string[] | {
|
|
3282
3287
|
import: string | string[];
|
|
3288
|
+
layer?: string | null | undefined;
|
|
3283
3289
|
runtime?: string | false | undefined;
|
|
3284
3290
|
chunkLoading?: string | false | undefined;
|
|
3285
3291
|
asyncChunks?: boolean | undefined;
|
|
@@ -3303,13 +3309,12 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
3303
3309
|
export?: string | string[] | undefined;
|
|
3304
3310
|
umdNamedDefine?: boolean | undefined;
|
|
3305
3311
|
} | undefined;
|
|
3306
|
-
layer?: string | null | undefined;
|
|
3307
3312
|
wasmLoading?: string | false | undefined;
|
|
3308
3313
|
dependOn?: string | string[] | undefined;
|
|
3309
3314
|
}>>) | undefined;
|
|
3310
|
-
dependencies?: string[] | undefined;
|
|
3311
3315
|
output?: {
|
|
3312
3316
|
module?: boolean | undefined;
|
|
3317
|
+
path?: string | undefined;
|
|
3313
3318
|
chunkLoading?: string | false | undefined;
|
|
3314
3319
|
asyncChunks?: boolean | undefined;
|
|
3315
3320
|
publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
@@ -3344,7 +3349,6 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
3344
3349
|
root?: string | undefined;
|
|
3345
3350
|
} | undefined;
|
|
3346
3351
|
umdNamedDefine?: boolean | undefined;
|
|
3347
|
-
path?: string | undefined;
|
|
3348
3352
|
pathinfo?: boolean | "verbose" | undefined;
|
|
3349
3353
|
clean?: boolean | {
|
|
3350
3354
|
keep?: string | undefined;
|
|
@@ -3434,20 +3438,20 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
3434
3438
|
providedExports?: boolean | undefined;
|
|
3435
3439
|
sideEffects?: boolean | "flag" | undefined;
|
|
3436
3440
|
moduleIds?: "named" | "natural" | "deterministic" | undefined;
|
|
3437
|
-
chunkIds?: "
|
|
3441
|
+
chunkIds?: "size" | "named" | "natural" | "deterministic" | "total-size" | undefined;
|
|
3438
3442
|
minimize?: boolean | undefined;
|
|
3439
3443
|
minimizer?: (false | "" | 0 | "..." | t.RspackPluginInstance | t.WebpackPluginInstance | t.RspackPluginFunction | t.WebpackPluginFunction | null | undefined)[] | undefined;
|
|
3440
3444
|
mergeDuplicateChunks?: boolean | undefined;
|
|
3441
3445
|
splitChunks?: false | {
|
|
3442
|
-
name?: string | false | ((args_0: Module | undefined, ...args: unknown[]) => unknown) | undefined;
|
|
3443
3446
|
chunks?: RegExp | "initial" | "async" | "all" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
|
3447
|
+
name?: string | false | ((args_0: Module, args_1: Chunk[], args_2: string, ...args: unknown[]) => string | undefined) | undefined;
|
|
3444
3448
|
usedExports?: boolean | undefined;
|
|
3445
3449
|
defaultSizeTypes?: string[] | undefined;
|
|
3446
3450
|
cacheGroups?: Record<string, false | {
|
|
3447
|
-
name?: string | false | ((args_0: Module | undefined, ...args: unknown[]) => unknown) | undefined;
|
|
3448
|
-
filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
3449
3451
|
type?: string | RegExp | undefined;
|
|
3450
3452
|
chunks?: RegExp | "initial" | "async" | "all" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
|
3453
|
+
name?: string | false | ((args_0: Module, args_1: Chunk[], args_2: string, ...args: unknown[]) => string | undefined) | undefined;
|
|
3454
|
+
filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
3451
3455
|
usedExports?: boolean | undefined;
|
|
3452
3456
|
defaultSizeTypes?: string[] | undefined;
|
|
3453
3457
|
maxSize?: number | Record<string, number> | undefined;
|
|
@@ -3492,7 +3496,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
3492
3496
|
realContentHash?: boolean | undefined;
|
|
3493
3497
|
concatenateModules?: boolean | undefined;
|
|
3494
3498
|
innerGraph?: boolean | undefined;
|
|
3495
|
-
mangleExports?: boolean | "
|
|
3499
|
+
mangleExports?: boolean | "size" | "deterministic" | undefined;
|
|
3496
3500
|
nodeEnv?: string | false | undefined;
|
|
3497
3501
|
emitOnErrors?: boolean | undefined;
|
|
3498
3502
|
avoidEntryIife?: boolean | undefined;
|
|
@@ -3510,6 +3514,9 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
3510
3514
|
ignoreWarnings?: (RegExp | ((args_0: Error, args_1: Compilation, ...args: unknown[]) => boolean))[] | undefined;
|
|
3511
3515
|
bail?: boolean | undefined;
|
|
3512
3516
|
}, {
|
|
3517
|
+
dependencies?: string[] | undefined;
|
|
3518
|
+
context?: string | undefined;
|
|
3519
|
+
name?: string | undefined;
|
|
3513
3520
|
module?: {
|
|
3514
3521
|
defaultRules?: (false | "" | 0 | t.RuleSetRule | "..." | null | undefined)[] | undefined;
|
|
3515
3522
|
rules?: (false | "" | 0 | t.RuleSetRule | "..." | null | undefined)[] | undefined;
|
|
@@ -3529,12 +3536,12 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
3529
3536
|
namedExports?: boolean | undefined;
|
|
3530
3537
|
} | undefined;
|
|
3531
3538
|
javascript?: {
|
|
3539
|
+
url?: boolean | "relative" | undefined;
|
|
3532
3540
|
dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined;
|
|
3533
3541
|
dynamicImportPreload?: number | boolean | undefined;
|
|
3534
3542
|
dynamicImportPrefetch?: number | boolean | undefined;
|
|
3535
3543
|
dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined;
|
|
3536
3544
|
importMeta?: boolean | undefined;
|
|
3537
|
-
url?: boolean | "relative" | undefined;
|
|
3538
3545
|
exprContextCritical?: boolean | undefined;
|
|
3539
3546
|
wrappedContextCritical?: boolean | undefined;
|
|
3540
3547
|
wrappedContextRegExp?: RegExp | undefined;
|
|
@@ -3550,12 +3557,12 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
3550
3557
|
importDynamic?: boolean | undefined;
|
|
3551
3558
|
} | undefined;
|
|
3552
3559
|
"javascript/auto"?: {
|
|
3560
|
+
url?: boolean | "relative" | undefined;
|
|
3553
3561
|
dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined;
|
|
3554
3562
|
dynamicImportPreload?: number | boolean | undefined;
|
|
3555
3563
|
dynamicImportPrefetch?: number | boolean | undefined;
|
|
3556
3564
|
dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined;
|
|
3557
3565
|
importMeta?: boolean | undefined;
|
|
3558
|
-
url?: boolean | "relative" | undefined;
|
|
3559
3566
|
exprContextCritical?: boolean | undefined;
|
|
3560
3567
|
wrappedContextCritical?: boolean | undefined;
|
|
3561
3568
|
wrappedContextRegExp?: RegExp | undefined;
|
|
@@ -3571,12 +3578,12 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
3571
3578
|
importDynamic?: boolean | undefined;
|
|
3572
3579
|
} | undefined;
|
|
3573
3580
|
"javascript/dynamic"?: {
|
|
3581
|
+
url?: boolean | "relative" | undefined;
|
|
3574
3582
|
dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined;
|
|
3575
3583
|
dynamicImportPreload?: number | boolean | undefined;
|
|
3576
3584
|
dynamicImportPrefetch?: number | boolean | undefined;
|
|
3577
3585
|
dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined;
|
|
3578
3586
|
importMeta?: boolean | undefined;
|
|
3579
|
-
url?: boolean | "relative" | undefined;
|
|
3580
3587
|
exprContextCritical?: boolean | undefined;
|
|
3581
3588
|
wrappedContextCritical?: boolean | undefined;
|
|
3582
3589
|
wrappedContextRegExp?: RegExp | undefined;
|
|
@@ -3592,12 +3599,12 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
3592
3599
|
importDynamic?: boolean | undefined;
|
|
3593
3600
|
} | undefined;
|
|
3594
3601
|
"javascript/esm"?: {
|
|
3602
|
+
url?: boolean | "relative" | undefined;
|
|
3595
3603
|
dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined;
|
|
3596
3604
|
dynamicImportPreload?: number | boolean | undefined;
|
|
3597
3605
|
dynamicImportPrefetch?: number | boolean | undefined;
|
|
3598
3606
|
dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined;
|
|
3599
3607
|
importMeta?: boolean | undefined;
|
|
3600
|
-
url?: boolean | "relative" | undefined;
|
|
3601
3608
|
exprContextCritical?: boolean | undefined;
|
|
3602
3609
|
wrappedContextCritical?: boolean | undefined;
|
|
3603
3610
|
wrappedContextRegExp?: RegExp | undefined;
|
|
@@ -3659,7 +3666,6 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
3659
3666
|
} | undefined;
|
|
3660
3667
|
noParse?: string | RegExp | ((args_0: string, ...args: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args: unknown[]) => boolean))[] | undefined;
|
|
3661
3668
|
} | undefined;
|
|
3662
|
-
name?: string | undefined;
|
|
3663
3669
|
profile?: boolean | undefined;
|
|
3664
3670
|
cache?: boolean | undefined;
|
|
3665
3671
|
amd?: false | Record<string, any> | undefined;
|
|
@@ -3674,7 +3680,6 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
3674
3680
|
hints?: false | "error" | "warning" | undefined;
|
|
3675
3681
|
maxEntrypointSize?: number | undefined;
|
|
3676
3682
|
} | undefined;
|
|
3677
|
-
context?: string | undefined;
|
|
3678
3683
|
mode?: "development" | "production" | "none" | undefined;
|
|
3679
3684
|
experiments?: {
|
|
3680
3685
|
css?: boolean | undefined;
|
|
@@ -3701,10 +3706,10 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
3701
3706
|
backend?: {
|
|
3702
3707
|
client?: string | undefined;
|
|
3703
3708
|
listen?: number | {
|
|
3704
|
-
path?: string | undefined;
|
|
3705
3709
|
port?: number | undefined;
|
|
3706
3710
|
host?: string | undefined;
|
|
3707
3711
|
backlog?: number | undefined;
|
|
3712
|
+
path?: string | undefined;
|
|
3708
3713
|
exclusive?: boolean | undefined;
|
|
3709
3714
|
readableAll?: boolean | undefined;
|
|
3710
3715
|
writableAll?: boolean | undefined;
|
|
@@ -3734,6 +3739,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
3734
3739
|
chunksRender?: boolean | undefined;
|
|
3735
3740
|
emitAssets?: boolean | undefined;
|
|
3736
3741
|
} | undefined;
|
|
3742
|
+
parallelCodeSplitting?: boolean | undefined;
|
|
3737
3743
|
futureDefaults?: boolean | undefined;
|
|
3738
3744
|
rspackFuture?: {
|
|
3739
3745
|
bundlerInfo?: {
|
|
@@ -3746,14 +3752,16 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
3746
3752
|
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;
|
|
3747
3753
|
resolve?: t.ResolveOptions | undefined;
|
|
3748
3754
|
stats?: boolean | "none" | "verbose" | "normal" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | {
|
|
3755
|
+
modules?: boolean | undefined;
|
|
3756
|
+
chunks?: boolean | undefined;
|
|
3757
|
+
ids?: boolean | undefined;
|
|
3758
|
+
runtime?: boolean | undefined;
|
|
3759
|
+
hash?: boolean | undefined;
|
|
3749
3760
|
all?: boolean | undefined;
|
|
3750
3761
|
version?: boolean | undefined;
|
|
3751
|
-
runtime?: boolean | undefined;
|
|
3752
3762
|
publicPath?: boolean | undefined;
|
|
3753
3763
|
preset?: boolean | "none" | "verbose" | "normal" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | undefined;
|
|
3754
3764
|
assets?: boolean | undefined;
|
|
3755
|
-
chunks?: boolean | undefined;
|
|
3756
|
-
modules?: boolean | undefined;
|
|
3757
3765
|
entrypoints?: boolean | "auto" | undefined;
|
|
3758
3766
|
chunkGroups?: boolean | undefined;
|
|
3759
3767
|
warnings?: boolean | undefined;
|
|
@@ -3761,12 +3769,10 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
3761
3769
|
errors?: boolean | undefined;
|
|
3762
3770
|
errorsCount?: boolean | undefined;
|
|
3763
3771
|
colors?: boolean | undefined;
|
|
3764
|
-
hash?: boolean | undefined;
|
|
3765
3772
|
reasons?: boolean | undefined;
|
|
3766
3773
|
outputPath?: boolean | undefined;
|
|
3767
3774
|
chunkModules?: boolean | undefined;
|
|
3768
3775
|
chunkRelations?: boolean | undefined;
|
|
3769
|
-
ids?: boolean | undefined;
|
|
3770
3776
|
timings?: boolean | undefined;
|
|
3771
3777
|
builtAt?: boolean | undefined;
|
|
3772
3778
|
moduleAssets?: boolean | undefined;
|
|
@@ -3824,10 +3830,11 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
3824
3830
|
warningsSpace?: number | undefined;
|
|
3825
3831
|
} | undefined;
|
|
3826
3832
|
loader?: Record<string, any> | undefined;
|
|
3827
|
-
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>) | (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>))[] | undefined;
|
|
3833
|
+
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;
|
|
3828
3834
|
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;
|
|
3829
3835
|
entry?: string | string[] | Record<string, string | string[] | {
|
|
3830
3836
|
import: string | string[];
|
|
3837
|
+
layer?: string | null | undefined;
|
|
3831
3838
|
runtime?: string | false | undefined;
|
|
3832
3839
|
chunkLoading?: string | false | undefined;
|
|
3833
3840
|
asyncChunks?: boolean | undefined;
|
|
@@ -3851,11 +3858,11 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
3851
3858
|
export?: string | string[] | undefined;
|
|
3852
3859
|
umdNamedDefine?: boolean | undefined;
|
|
3853
3860
|
} | undefined;
|
|
3854
|
-
layer?: string | null | undefined;
|
|
3855
3861
|
wasmLoading?: string | false | undefined;
|
|
3856
3862
|
dependOn?: string | string[] | undefined;
|
|
3857
3863
|
}> | ((...args: unknown[]) => string | string[] | Record<string, string | string[] | {
|
|
3858
3864
|
import: string | string[];
|
|
3865
|
+
layer?: string | null | undefined;
|
|
3859
3866
|
runtime?: string | false | undefined;
|
|
3860
3867
|
chunkLoading?: string | false | undefined;
|
|
3861
3868
|
asyncChunks?: boolean | undefined;
|
|
@@ -3879,11 +3886,11 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
3879
3886
|
export?: string | string[] | undefined;
|
|
3880
3887
|
umdNamedDefine?: boolean | undefined;
|
|
3881
3888
|
} | undefined;
|
|
3882
|
-
layer?: string | null | undefined;
|
|
3883
3889
|
wasmLoading?: string | false | undefined;
|
|
3884
3890
|
dependOn?: string | string[] | undefined;
|
|
3885
3891
|
}> | Promise<string | string[] | Record<string, string | string[] | {
|
|
3886
3892
|
import: string | string[];
|
|
3893
|
+
layer?: string | null | undefined;
|
|
3887
3894
|
runtime?: string | false | undefined;
|
|
3888
3895
|
chunkLoading?: string | false | undefined;
|
|
3889
3896
|
asyncChunks?: boolean | undefined;
|
|
@@ -3907,13 +3914,12 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
3907
3914
|
export?: string | string[] | undefined;
|
|
3908
3915
|
umdNamedDefine?: boolean | undefined;
|
|
3909
3916
|
} | undefined;
|
|
3910
|
-
layer?: string | null | undefined;
|
|
3911
3917
|
wasmLoading?: string | false | undefined;
|
|
3912
3918
|
dependOn?: string | string[] | undefined;
|
|
3913
3919
|
}>>) | undefined;
|
|
3914
|
-
dependencies?: string[] | undefined;
|
|
3915
3920
|
output?: {
|
|
3916
3921
|
module?: boolean | undefined;
|
|
3922
|
+
path?: string | undefined;
|
|
3917
3923
|
chunkLoading?: string | false | undefined;
|
|
3918
3924
|
asyncChunks?: boolean | undefined;
|
|
3919
3925
|
publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
@@ -3948,7 +3954,6 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
3948
3954
|
root?: string | undefined;
|
|
3949
3955
|
} | undefined;
|
|
3950
3956
|
umdNamedDefine?: boolean | undefined;
|
|
3951
|
-
path?: string | undefined;
|
|
3952
3957
|
pathinfo?: boolean | "verbose" | undefined;
|
|
3953
3958
|
clean?: boolean | {
|
|
3954
3959
|
keep?: string | undefined;
|
|
@@ -4038,20 +4043,20 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
4038
4043
|
providedExports?: boolean | undefined;
|
|
4039
4044
|
sideEffects?: boolean | "flag" | undefined;
|
|
4040
4045
|
moduleIds?: "named" | "natural" | "deterministic" | undefined;
|
|
4041
|
-
chunkIds?: "
|
|
4046
|
+
chunkIds?: "size" | "named" | "natural" | "deterministic" | "total-size" | undefined;
|
|
4042
4047
|
minimize?: boolean | undefined;
|
|
4043
4048
|
minimizer?: (false | "" | 0 | "..." | t.RspackPluginInstance | t.WebpackPluginInstance | t.RspackPluginFunction | t.WebpackPluginFunction | null | undefined)[] | undefined;
|
|
4044
4049
|
mergeDuplicateChunks?: boolean | undefined;
|
|
4045
4050
|
splitChunks?: false | {
|
|
4046
|
-
name?: string | false | ((args_0: Module | undefined, ...args: unknown[]) => unknown) | undefined;
|
|
4047
4051
|
chunks?: RegExp | "initial" | "async" | "all" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
|
4052
|
+
name?: string | false | ((args_0: Module, args_1: Chunk[], args_2: string, ...args: unknown[]) => string | undefined) | undefined;
|
|
4048
4053
|
usedExports?: boolean | undefined;
|
|
4049
4054
|
defaultSizeTypes?: string[] | undefined;
|
|
4050
4055
|
cacheGroups?: Record<string, false | {
|
|
4051
|
-
name?: string | false | ((args_0: Module | undefined, ...args: unknown[]) => unknown) | undefined;
|
|
4052
|
-
filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
4053
4056
|
type?: string | RegExp | undefined;
|
|
4054
4057
|
chunks?: RegExp | "initial" | "async" | "all" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
|
4058
|
+
name?: string | false | ((args_0: Module, args_1: Chunk[], args_2: string, ...args: unknown[]) => string | undefined) | undefined;
|
|
4059
|
+
filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
4055
4060
|
usedExports?: boolean | undefined;
|
|
4056
4061
|
defaultSizeTypes?: string[] | undefined;
|
|
4057
4062
|
maxSize?: number | Record<string, number> | undefined;
|
|
@@ -4096,7 +4101,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
4096
4101
|
realContentHash?: boolean | undefined;
|
|
4097
4102
|
concatenateModules?: boolean | undefined;
|
|
4098
4103
|
innerGraph?: boolean | undefined;
|
|
4099
|
-
mangleExports?: boolean | "
|
|
4104
|
+
mangleExports?: boolean | "size" | "deterministic" | undefined;
|
|
4100
4105
|
nodeEnv?: string | false | undefined;
|
|
4101
4106
|
emitOnErrors?: boolean | undefined;
|
|
4102
4107
|
avoidEntryIife?: boolean | undefined;
|