@rspack/core 1.2.0-beta.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/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/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 +32 -52
- package/dist/config/zod.d.ts +67 -62
- package/dist/container/ModuleFederationRuntimePlugin.d.ts +1 -1
- package/dist/exports.d.ts +2 -3
- package/dist/index.js +158 -29
- package/dist/stats/statsFactoryUtils.d.ts +9 -0
- package/package.json +9 -4
package/dist/config/zod.d.ts
CHANGED
|
@@ -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?: {
|
|
@@ -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>]>>;
|
|
@@ -1560,7 +1563,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
1560
1563
|
}, "strict", z.ZodTypeAny, {
|
|
1561
1564
|
type?: string | RegExp | undefined;
|
|
1562
1565
|
chunks?: RegExp | "initial" | "async" | "all" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
|
1563
|
-
name?: string | false | ((args_0: Module
|
|
1566
|
+
name?: string | false | ((args_0: Module, args_1: Chunk[], args_2: string, ...args: unknown[]) => string | undefined) | undefined;
|
|
1564
1567
|
filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
1565
1568
|
usedExports?: boolean | undefined;
|
|
1566
1569
|
defaultSizeTypes?: string[] | undefined;
|
|
@@ -1580,7 +1583,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
1580
1583
|
}, {
|
|
1581
1584
|
type?: string | RegExp | undefined;
|
|
1582
1585
|
chunks?: RegExp | "initial" | "async" | "all" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
|
1583
|
-
name?: string | false | ((args_0: Module
|
|
1586
|
+
name?: string | false | ((args_0: Module, args_1: Chunk[], args_2: string, ...args: unknown[]) => string | undefined) | undefined;
|
|
1584
1587
|
filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
1585
1588
|
usedExports?: boolean | undefined;
|
|
1586
1589
|
defaultSizeTypes?: string[] | undefined;
|
|
@@ -1623,13 +1626,13 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
1623
1626
|
hidePathInfo: z.ZodOptional<z.ZodBoolean>;
|
|
1624
1627
|
}, "strict", z.ZodTypeAny, {
|
|
1625
1628
|
chunks?: RegExp | "initial" | "async" | "all" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
|
1626
|
-
name?: string | false | ((args_0: Module
|
|
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
1633
|
type?: string | RegExp | undefined;
|
|
1631
1634
|
chunks?: RegExp | "initial" | "async" | "all" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
|
1632
|
-
name?: string | false | ((args_0: Module
|
|
1635
|
+
name?: string | false | ((args_0: Module, args_1: Chunk[], args_2: string, ...args: unknown[]) => string | undefined) | undefined;
|
|
1633
1636
|
filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
1634
1637
|
usedExports?: boolean | undefined;
|
|
1635
1638
|
defaultSizeTypes?: string[] | undefined;
|
|
@@ -1666,13 +1669,13 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
1666
1669
|
automaticNameDelimiter?: string | undefined;
|
|
1667
1670
|
}, {
|
|
1668
1671
|
chunks?: RegExp | "initial" | "async" | "all" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
|
1669
|
-
name?: string | false | ((args_0: Module
|
|
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
1676
|
type?: string | RegExp | undefined;
|
|
1674
1677
|
chunks?: RegExp | "initial" | "async" | "all" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
|
1675
|
-
name?: string | false | ((args_0: Module
|
|
1678
|
+
name?: string | false | ((args_0: Module, args_1: Chunk[], args_2: string, ...args: unknown[]) => string | undefined) | undefined;
|
|
1676
1679
|
filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
1677
1680
|
usedExports?: boolean | undefined;
|
|
1678
1681
|
defaultSizeTypes?: string[] | undefined;
|
|
@@ -1748,13 +1751,13 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
1748
1751
|
mergeDuplicateChunks?: boolean | undefined;
|
|
1749
1752
|
splitChunks?: false | {
|
|
1750
1753
|
chunks?: RegExp | "initial" | "async" | "all" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
|
1751
|
-
name?: string | false | ((args_0: Module
|
|
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
1758
|
type?: string | RegExp | undefined;
|
|
1756
1759
|
chunks?: RegExp | "initial" | "async" | "all" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
|
1757
|
-
name?: string | false | ((args_0: Module
|
|
1760
|
+
name?: string | false | ((args_0: Module, args_1: Chunk[], args_2: string, ...args: unknown[]) => string | undefined) | undefined;
|
|
1758
1761
|
filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
1759
1762
|
usedExports?: boolean | undefined;
|
|
1760
1763
|
defaultSizeTypes?: string[] | undefined;
|
|
@@ -1815,13 +1818,13 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
1815
1818
|
mergeDuplicateChunks?: boolean | undefined;
|
|
1816
1819
|
splitChunks?: false | {
|
|
1817
1820
|
chunks?: RegExp | "initial" | "async" | "all" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
|
1818
|
-
name?: string | false | ((args_0: Module
|
|
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
1825
|
type?: string | RegExp | undefined;
|
|
1823
1826
|
chunks?: RegExp | "initial" | "async" | "all" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
|
1824
|
-
name?: string | false | ((args_0: Module
|
|
1827
|
+
name?: string | false | ((args_0: Module, args_1: Chunk[], args_2: string, ...args: unknown[]) => string | undefined) | undefined;
|
|
1825
1828
|
filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
1826
1829
|
usedExports?: boolean | undefined;
|
|
1827
1830
|
defaultSizeTypes?: string[] | 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;
|
|
@@ -2928,12 +2931,12 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2928
2931
|
namedExports?: boolean | undefined;
|
|
2929
2932
|
} | undefined;
|
|
2930
2933
|
javascript?: {
|
|
2934
|
+
url?: boolean | "relative" | undefined;
|
|
2931
2935
|
dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined;
|
|
2932
2936
|
dynamicImportPreload?: number | boolean | undefined;
|
|
2933
2937
|
dynamicImportPrefetch?: number | boolean | undefined;
|
|
2934
2938
|
dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined;
|
|
2935
2939
|
importMeta?: boolean | undefined;
|
|
2936
|
-
url?: boolean | "relative" | undefined;
|
|
2937
2940
|
exprContextCritical?: boolean | undefined;
|
|
2938
2941
|
wrappedContextCritical?: boolean | undefined;
|
|
2939
2942
|
wrappedContextRegExp?: RegExp | undefined;
|
|
@@ -2949,12 +2952,12 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2949
2952
|
importDynamic?: boolean | undefined;
|
|
2950
2953
|
} | undefined;
|
|
2951
2954
|
"javascript/auto"?: {
|
|
2955
|
+
url?: boolean | "relative" | undefined;
|
|
2952
2956
|
dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined;
|
|
2953
2957
|
dynamicImportPreload?: number | boolean | undefined;
|
|
2954
2958
|
dynamicImportPrefetch?: number | boolean | undefined;
|
|
2955
2959
|
dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined;
|
|
2956
2960
|
importMeta?: boolean | undefined;
|
|
2957
|
-
url?: boolean | "relative" | undefined;
|
|
2958
2961
|
exprContextCritical?: boolean | undefined;
|
|
2959
2962
|
wrappedContextCritical?: boolean | undefined;
|
|
2960
2963
|
wrappedContextRegExp?: RegExp | undefined;
|
|
@@ -2970,12 +2973,12 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2970
2973
|
importDynamic?: boolean | undefined;
|
|
2971
2974
|
} | undefined;
|
|
2972
2975
|
"javascript/dynamic"?: {
|
|
2976
|
+
url?: boolean | "relative" | undefined;
|
|
2973
2977
|
dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined;
|
|
2974
2978
|
dynamicImportPreload?: number | boolean | undefined;
|
|
2975
2979
|
dynamicImportPrefetch?: number | boolean | undefined;
|
|
2976
2980
|
dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined;
|
|
2977
2981
|
importMeta?: boolean | undefined;
|
|
2978
|
-
url?: boolean | "relative" | undefined;
|
|
2979
2982
|
exprContextCritical?: boolean | undefined;
|
|
2980
2983
|
wrappedContextCritical?: boolean | undefined;
|
|
2981
2984
|
wrappedContextRegExp?: RegExp | undefined;
|
|
@@ -2991,12 +2994,12 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
2991
2994
|
importDynamic?: boolean | undefined;
|
|
2992
2995
|
} | undefined;
|
|
2993
2996
|
"javascript/esm"?: {
|
|
2997
|
+
url?: boolean | "relative" | undefined;
|
|
2994
2998
|
dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined;
|
|
2995
2999
|
dynamicImportPreload?: number | boolean | undefined;
|
|
2996
3000
|
dynamicImportPrefetch?: number | boolean | undefined;
|
|
2997
3001
|
dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined;
|
|
2998
3002
|
importMeta?: boolean | undefined;
|
|
2999
|
-
url?: boolean | "relative" | undefined;
|
|
3000
3003
|
exprContextCritical?: boolean | undefined;
|
|
3001
3004
|
wrappedContextCritical?: boolean | undefined;
|
|
3002
3005
|
wrappedContextRegExp?: RegExp | undefined;
|
|
@@ -3098,10 +3101,10 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
3098
3101
|
backend?: {
|
|
3099
3102
|
client?: string | undefined;
|
|
3100
3103
|
listen?: number | {
|
|
3101
|
-
path?: string | undefined;
|
|
3102
3104
|
port?: number | undefined;
|
|
3103
3105
|
host?: string | undefined;
|
|
3104
3106
|
backlog?: number | undefined;
|
|
3107
|
+
path?: string | undefined;
|
|
3105
3108
|
exclusive?: boolean | undefined;
|
|
3106
3109
|
readableAll?: boolean | undefined;
|
|
3107
3110
|
writableAll?: boolean | undefined;
|
|
@@ -3131,6 +3134,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
3131
3134
|
chunksRender?: boolean | undefined;
|
|
3132
3135
|
emitAssets?: boolean | undefined;
|
|
3133
3136
|
} | undefined;
|
|
3137
|
+
parallelCodeSplitting?: boolean | undefined;
|
|
3134
3138
|
futureDefaults?: boolean | undefined;
|
|
3135
3139
|
rspackFuture?: {
|
|
3136
3140
|
bundlerInfo?: {
|
|
@@ -3310,6 +3314,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
3310
3314
|
}>>) | 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;
|
|
@@ -3440,13 +3444,13 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
3440
3444
|
mergeDuplicateChunks?: boolean | undefined;
|
|
3441
3445
|
splitChunks?: false | {
|
|
3442
3446
|
chunks?: RegExp | "initial" | "async" | "all" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
|
3443
|
-
name?: string | false | ((args_0: Module
|
|
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
3451
|
type?: string | RegExp | undefined;
|
|
3448
3452
|
chunks?: RegExp | "initial" | "async" | "all" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
|
3449
|
-
name?: string | false | ((args_0: Module
|
|
3453
|
+
name?: string | false | ((args_0: Module, args_1: Chunk[], args_2: string, ...args: unknown[]) => string | undefined) | undefined;
|
|
3450
3454
|
filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
3451
3455
|
usedExports?: boolean | undefined;
|
|
3452
3456
|
defaultSizeTypes?: string[] | undefined;
|
|
@@ -3532,12 +3536,12 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
3532
3536
|
namedExports?: boolean | undefined;
|
|
3533
3537
|
} | undefined;
|
|
3534
3538
|
javascript?: {
|
|
3539
|
+
url?: boolean | "relative" | undefined;
|
|
3535
3540
|
dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined;
|
|
3536
3541
|
dynamicImportPreload?: number | boolean | undefined;
|
|
3537
3542
|
dynamicImportPrefetch?: number | boolean | undefined;
|
|
3538
3543
|
dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined;
|
|
3539
3544
|
importMeta?: boolean | undefined;
|
|
3540
|
-
url?: boolean | "relative" | undefined;
|
|
3541
3545
|
exprContextCritical?: boolean | undefined;
|
|
3542
3546
|
wrappedContextCritical?: boolean | undefined;
|
|
3543
3547
|
wrappedContextRegExp?: RegExp | undefined;
|
|
@@ -3553,12 +3557,12 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
3553
3557
|
importDynamic?: boolean | undefined;
|
|
3554
3558
|
} | undefined;
|
|
3555
3559
|
"javascript/auto"?: {
|
|
3560
|
+
url?: boolean | "relative" | undefined;
|
|
3556
3561
|
dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined;
|
|
3557
3562
|
dynamicImportPreload?: number | boolean | undefined;
|
|
3558
3563
|
dynamicImportPrefetch?: number | boolean | undefined;
|
|
3559
3564
|
dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined;
|
|
3560
3565
|
importMeta?: boolean | undefined;
|
|
3561
|
-
url?: boolean | "relative" | undefined;
|
|
3562
3566
|
exprContextCritical?: boolean | undefined;
|
|
3563
3567
|
wrappedContextCritical?: boolean | undefined;
|
|
3564
3568
|
wrappedContextRegExp?: RegExp | undefined;
|
|
@@ -3574,12 +3578,12 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
3574
3578
|
importDynamic?: boolean | undefined;
|
|
3575
3579
|
} | undefined;
|
|
3576
3580
|
"javascript/dynamic"?: {
|
|
3581
|
+
url?: boolean | "relative" | undefined;
|
|
3577
3582
|
dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined;
|
|
3578
3583
|
dynamicImportPreload?: number | boolean | undefined;
|
|
3579
3584
|
dynamicImportPrefetch?: number | boolean | undefined;
|
|
3580
3585
|
dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined;
|
|
3581
3586
|
importMeta?: boolean | undefined;
|
|
3582
|
-
url?: boolean | "relative" | undefined;
|
|
3583
3587
|
exprContextCritical?: boolean | undefined;
|
|
3584
3588
|
wrappedContextCritical?: boolean | undefined;
|
|
3585
3589
|
wrappedContextRegExp?: RegExp | undefined;
|
|
@@ -3595,12 +3599,12 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
3595
3599
|
importDynamic?: boolean | undefined;
|
|
3596
3600
|
} | undefined;
|
|
3597
3601
|
"javascript/esm"?: {
|
|
3602
|
+
url?: boolean | "relative" | undefined;
|
|
3598
3603
|
dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined;
|
|
3599
3604
|
dynamicImportPreload?: number | boolean | undefined;
|
|
3600
3605
|
dynamicImportPrefetch?: number | boolean | undefined;
|
|
3601
3606
|
dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined;
|
|
3602
3607
|
importMeta?: boolean | undefined;
|
|
3603
|
-
url?: boolean | "relative" | undefined;
|
|
3604
3608
|
exprContextCritical?: boolean | undefined;
|
|
3605
3609
|
wrappedContextCritical?: boolean | undefined;
|
|
3606
3610
|
wrappedContextRegExp?: RegExp | undefined;
|
|
@@ -3702,10 +3706,10 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
3702
3706
|
backend?: {
|
|
3703
3707
|
client?: string | undefined;
|
|
3704
3708
|
listen?: number | {
|
|
3705
|
-
path?: string | undefined;
|
|
3706
3709
|
port?: number | undefined;
|
|
3707
3710
|
host?: string | undefined;
|
|
3708
3711
|
backlog?: number | undefined;
|
|
3712
|
+
path?: string | undefined;
|
|
3709
3713
|
exclusive?: boolean | undefined;
|
|
3710
3714
|
readableAll?: boolean | undefined;
|
|
3711
3715
|
writableAll?: boolean | undefined;
|
|
@@ -3735,6 +3739,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
3735
3739
|
chunksRender?: boolean | undefined;
|
|
3736
3740
|
emitAssets?: boolean | undefined;
|
|
3737
3741
|
} | undefined;
|
|
3742
|
+
parallelCodeSplitting?: boolean | undefined;
|
|
3738
3743
|
futureDefaults?: boolean | undefined;
|
|
3739
3744
|
rspackFuture?: {
|
|
3740
3745
|
bundlerInfo?: {
|
|
@@ -3914,6 +3919,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
3914
3919
|
}>>) | 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;
|
|
@@ -4044,13 +4049,13 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
4044
4049
|
mergeDuplicateChunks?: boolean | undefined;
|
|
4045
4050
|
splitChunks?: false | {
|
|
4046
4051
|
chunks?: RegExp | "initial" | "async" | "all" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
|
4047
|
-
name?: string | false | ((args_0: Module
|
|
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
4056
|
type?: string | RegExp | undefined;
|
|
4052
4057
|
chunks?: RegExp | "initial" | "async" | "all" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
|
4053
|
-
name?: string | false | ((args_0: Module
|
|
4058
|
+
name?: string | false | ((args_0: Module, args_1: Chunk[], args_2: string, ...args: unknown[]) => string | undefined) | undefined;
|
|
4054
4059
|
filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
|
4055
4060
|
usedExports?: boolean | undefined;
|
|
4056
4061
|
defaultSizeTypes?: string[] | undefined;
|