@rspack/core 0.5.9-canary-4297cec-20240402080759 → 0.5.9-canary-5be4c34-20240403005129
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/dist/Compilation.d.ts +1 -0
- package/dist/Compilation.js +2 -1
- package/dist/Compiler.d.ts +3 -8
- package/dist/Compiler.js +31 -34
- package/dist/Stats.js +2 -2
- package/dist/builtin-plugin/{RSCClientEntryPlugin.d.ts → CssModulesPlugin.d.ts} +1 -1
- package/dist/builtin-plugin/CssModulesPlugin.js +6 -0
- package/dist/builtin-plugin/EntryPlugin.d.ts +1 -0
- package/dist/builtin-plugin/EntryPlugin.js +2 -1
- package/dist/builtin-plugin/ExternalsPlugin.d.ts +2 -2
- package/dist/builtin-plugin/HtmlRspackPlugin.d.ts +3 -3
- package/dist/builtin-plugin/index.d.ts +2 -8
- package/dist/builtin-plugin/index.js +1 -17
- package/dist/config/adapter.js +59 -7
- package/dist/config/defaults.js +57 -28
- package/dist/config/normalization.d.ts +1 -0
- package/dist/config/normalization.js +6 -1
- package/dist/config/zod.d.ts +724 -76
- package/dist/config/zod.js +43 -2
- package/dist/container/ContainerReferencePlugin.d.ts +1 -1
- package/dist/exports.d.ts +72 -24
- package/dist/exports.js +1 -5
- package/dist/lib/EntryOptionPlugin.js +1 -1
- package/dist/rspackOptionsApply.js +4 -1
- package/dist/util/comparators.d.ts +1 -1
- package/package.json +4 -4
- package/dist/builtin-plugin/RSCClientEntryPlugin.js +0 -6
- package/dist/builtin-plugin/RSCClientReferenceManifestRspackPlugin.d.ts +0 -10
- package/dist/builtin-plugin/RSCClientReferenceManifestRspackPlugin.js +0 -6
package/dist/config/zod.d.ts
CHANGED
|
@@ -262,6 +262,8 @@ declare const entryRuntime: z.ZodUnion<[z.ZodLiteral<false>, z.ZodString]>;
|
|
|
262
262
|
export type EntryRuntime = z.infer<typeof entryRuntime>;
|
|
263
263
|
declare const entryItem: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
|
264
264
|
export type EntryItem = z.infer<typeof entryItem>;
|
|
265
|
+
declare const entryDependOn: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
|
266
|
+
export type EntryDependOn = z.infer<typeof entryDependOn>;
|
|
265
267
|
declare const entryDescription: z.ZodObject<{
|
|
266
268
|
import: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
|
267
269
|
runtime: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodString]>>;
|
|
@@ -338,6 +340,7 @@ declare const entryDescription: z.ZodObject<{
|
|
|
338
340
|
} | undefined;
|
|
339
341
|
umdNamedDefine?: boolean | undefined;
|
|
340
342
|
}>>;
|
|
343
|
+
dependOn: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
341
344
|
}, "strict", z.ZodTypeAny, {
|
|
342
345
|
import: (string | string[]) & (string | string[] | undefined);
|
|
343
346
|
runtime?: string | false | undefined;
|
|
@@ -364,6 +367,7 @@ declare const entryDescription: z.ZodObject<{
|
|
|
364
367
|
} | undefined;
|
|
365
368
|
umdNamedDefine?: boolean | undefined;
|
|
366
369
|
} | undefined;
|
|
370
|
+
dependOn?: string | string[] | undefined;
|
|
367
371
|
}, {
|
|
368
372
|
import: (string | string[]) & (string | string[] | undefined);
|
|
369
373
|
runtime?: string | false | undefined;
|
|
@@ -390,6 +394,7 @@ declare const entryDescription: z.ZodObject<{
|
|
|
390
394
|
} | undefined;
|
|
391
395
|
umdNamedDefine?: boolean | undefined;
|
|
392
396
|
} | undefined;
|
|
397
|
+
dependOn?: string | string[] | undefined;
|
|
393
398
|
}>;
|
|
394
399
|
export type EntryDescription = z.infer<typeof entryDescription>;
|
|
395
400
|
declare const entryUnnamed: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
|
@@ -470,6 +475,7 @@ declare const entryObject: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodUnion<[z.Zo
|
|
|
470
475
|
} | undefined;
|
|
471
476
|
umdNamedDefine?: boolean | undefined;
|
|
472
477
|
}>>;
|
|
478
|
+
dependOn: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
473
479
|
}, "strict", z.ZodTypeAny, {
|
|
474
480
|
import: (string | string[]) & (string | string[] | undefined);
|
|
475
481
|
runtime?: string | false | undefined;
|
|
@@ -496,6 +502,7 @@ declare const entryObject: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodUnion<[z.Zo
|
|
|
496
502
|
} | undefined;
|
|
497
503
|
umdNamedDefine?: boolean | undefined;
|
|
498
504
|
} | undefined;
|
|
505
|
+
dependOn?: string | string[] | undefined;
|
|
499
506
|
}, {
|
|
500
507
|
import: (string | string[]) & (string | string[] | undefined);
|
|
501
508
|
runtime?: string | false | undefined;
|
|
@@ -522,6 +529,7 @@ declare const entryObject: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodUnion<[z.Zo
|
|
|
522
529
|
} | undefined;
|
|
523
530
|
umdNamedDefine?: boolean | undefined;
|
|
524
531
|
} | undefined;
|
|
532
|
+
dependOn?: string | string[] | undefined;
|
|
525
533
|
}>]>>;
|
|
526
534
|
export type EntryObject = z.infer<typeof entryObject>;
|
|
527
535
|
declare const entryStatic: z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
|
|
@@ -600,6 +608,7 @@ declare const entryStatic: z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
|
|
|
600
608
|
} | undefined;
|
|
601
609
|
umdNamedDefine?: boolean | undefined;
|
|
602
610
|
}>>;
|
|
611
|
+
dependOn: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
603
612
|
}, "strict", z.ZodTypeAny, {
|
|
604
613
|
import: (string | string[]) & (string | string[] | undefined);
|
|
605
614
|
runtime?: string | false | undefined;
|
|
@@ -626,6 +635,7 @@ declare const entryStatic: z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
|
|
|
626
635
|
} | undefined;
|
|
627
636
|
umdNamedDefine?: boolean | undefined;
|
|
628
637
|
} | undefined;
|
|
638
|
+
dependOn?: string | string[] | undefined;
|
|
629
639
|
}, {
|
|
630
640
|
import: (string | string[]) & (string | string[] | undefined);
|
|
631
641
|
runtime?: string | false | undefined;
|
|
@@ -652,6 +662,7 @@ declare const entryStatic: z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
|
|
|
652
662
|
} | undefined;
|
|
653
663
|
umdNamedDefine?: boolean | undefined;
|
|
654
664
|
} | undefined;
|
|
665
|
+
dependOn?: string | string[] | undefined;
|
|
655
666
|
}>]>>, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>]>;
|
|
656
667
|
export type EntryStatic = z.infer<typeof entryStatic>;
|
|
657
668
|
declare const entry: z.ZodUnion<[z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
|
|
@@ -730,6 +741,7 @@ declare const entry: z.ZodUnion<[z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnion
|
|
|
730
741
|
} | undefined;
|
|
731
742
|
umdNamedDefine?: boolean | undefined;
|
|
732
743
|
}>>;
|
|
744
|
+
dependOn: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
733
745
|
}, "strict", z.ZodTypeAny, {
|
|
734
746
|
import: (string | string[]) & (string | string[] | undefined);
|
|
735
747
|
runtime?: string | false | undefined;
|
|
@@ -756,6 +768,7 @@ declare const entry: z.ZodUnion<[z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnion
|
|
|
756
768
|
} | undefined;
|
|
757
769
|
umdNamedDefine?: boolean | undefined;
|
|
758
770
|
} | undefined;
|
|
771
|
+
dependOn?: string | string[] | undefined;
|
|
759
772
|
}, {
|
|
760
773
|
import: (string | string[]) & (string | string[] | undefined);
|
|
761
774
|
runtime?: string | false | undefined;
|
|
@@ -782,6 +795,7 @@ declare const entry: z.ZodUnion<[z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnion
|
|
|
782
795
|
} | undefined;
|
|
783
796
|
umdNamedDefine?: boolean | undefined;
|
|
784
797
|
} | undefined;
|
|
798
|
+
dependOn?: string | string[] | undefined;
|
|
785
799
|
}>]>>, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>]>, z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
|
|
786
800
|
import: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
|
787
801
|
runtime: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodString]>>;
|
|
@@ -858,6 +872,7 @@ declare const entry: z.ZodUnion<[z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnion
|
|
|
858
872
|
} | undefined;
|
|
859
873
|
umdNamedDefine?: boolean | undefined;
|
|
860
874
|
}>>;
|
|
875
|
+
dependOn: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
861
876
|
}, "strict", z.ZodTypeAny, {
|
|
862
877
|
import: (string | string[]) & (string | string[] | undefined);
|
|
863
878
|
runtime?: string | false | undefined;
|
|
@@ -884,6 +899,7 @@ declare const entry: z.ZodUnion<[z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnion
|
|
|
884
899
|
} | undefined;
|
|
885
900
|
umdNamedDefine?: boolean | undefined;
|
|
886
901
|
} | undefined;
|
|
902
|
+
dependOn?: string | string[] | undefined;
|
|
887
903
|
}, {
|
|
888
904
|
import: (string | string[]) & (string | string[] | undefined);
|
|
889
905
|
runtime?: string | false | undefined;
|
|
@@ -910,6 +926,7 @@ declare const entry: z.ZodUnion<[z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnion
|
|
|
910
926
|
} | undefined;
|
|
911
927
|
umdNamedDefine?: boolean | undefined;
|
|
912
928
|
} | undefined;
|
|
929
|
+
dependOn?: string | string[] | undefined;
|
|
913
930
|
}>]>>, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>]>>]>;
|
|
914
931
|
export type Entry = z.infer<typeof entry>;
|
|
915
932
|
declare const path: z.ZodString;
|
|
@@ -1623,6 +1640,32 @@ declare const assetParserOptions: z.ZodObject<{
|
|
|
1623
1640
|
} | undefined;
|
|
1624
1641
|
}>;
|
|
1625
1642
|
export type AssetParserOptions = z.infer<typeof assetParserOptions>;
|
|
1643
|
+
declare const cssParserNamedExports: z.ZodBoolean;
|
|
1644
|
+
export type CssParserNamedExports = z.infer<typeof cssParserNamedExports>;
|
|
1645
|
+
declare const cssParserOptions: z.ZodObject<{
|
|
1646
|
+
namedExports: z.ZodOptional<z.ZodBoolean>;
|
|
1647
|
+
}, "strict", z.ZodTypeAny, {
|
|
1648
|
+
namedExports?: boolean | undefined;
|
|
1649
|
+
}, {
|
|
1650
|
+
namedExports?: boolean | undefined;
|
|
1651
|
+
}>;
|
|
1652
|
+
export type CssParserOptions = z.infer<typeof cssParserOptions>;
|
|
1653
|
+
declare const cssAutoParserOptions: z.ZodObject<{
|
|
1654
|
+
namedExports: z.ZodOptional<z.ZodBoolean>;
|
|
1655
|
+
}, "strict", z.ZodTypeAny, {
|
|
1656
|
+
namedExports?: boolean | undefined;
|
|
1657
|
+
}, {
|
|
1658
|
+
namedExports?: boolean | undefined;
|
|
1659
|
+
}>;
|
|
1660
|
+
export type CssAutoParserOptions = z.infer<typeof cssAutoParserOptions>;
|
|
1661
|
+
declare const cssModuleParserOptions: z.ZodObject<{
|
|
1662
|
+
namedExports: z.ZodOptional<z.ZodBoolean>;
|
|
1663
|
+
}, "strict", z.ZodTypeAny, {
|
|
1664
|
+
namedExports?: boolean | undefined;
|
|
1665
|
+
}, {
|
|
1666
|
+
namedExports?: boolean | undefined;
|
|
1667
|
+
}>;
|
|
1668
|
+
export type CssModuleParserOptions = z.infer<typeof cssModuleParserOptions>;
|
|
1626
1669
|
declare const javascriptParserOptions: z.ZodObject<{
|
|
1627
1670
|
dynamicImportMode: z.ZodOptional<z.ZodEnum<["eager", "lazy"]>>;
|
|
1628
1671
|
dynamicImportPreload: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodNumber]>>;
|
|
@@ -1658,6 +1701,27 @@ declare const parserOptionsByModuleTypeKnown: z.ZodObject<{
|
|
|
1658
1701
|
maxSize?: number | undefined;
|
|
1659
1702
|
} | undefined;
|
|
1660
1703
|
}>>;
|
|
1704
|
+
css: z.ZodOptional<z.ZodObject<{
|
|
1705
|
+
namedExports: z.ZodOptional<z.ZodBoolean>;
|
|
1706
|
+
}, "strict", z.ZodTypeAny, {
|
|
1707
|
+
namedExports?: boolean | undefined;
|
|
1708
|
+
}, {
|
|
1709
|
+
namedExports?: boolean | undefined;
|
|
1710
|
+
}>>;
|
|
1711
|
+
"css/auto": z.ZodOptional<z.ZodObject<{
|
|
1712
|
+
namedExports: z.ZodOptional<z.ZodBoolean>;
|
|
1713
|
+
}, "strict", z.ZodTypeAny, {
|
|
1714
|
+
namedExports?: boolean | undefined;
|
|
1715
|
+
}, {
|
|
1716
|
+
namedExports?: boolean | undefined;
|
|
1717
|
+
}>>;
|
|
1718
|
+
"css/module": z.ZodOptional<z.ZodObject<{
|
|
1719
|
+
namedExports: z.ZodOptional<z.ZodBoolean>;
|
|
1720
|
+
}, "strict", z.ZodTypeAny, {
|
|
1721
|
+
namedExports?: boolean | undefined;
|
|
1722
|
+
}, {
|
|
1723
|
+
namedExports?: boolean | undefined;
|
|
1724
|
+
}>>;
|
|
1661
1725
|
javascript: z.ZodOptional<z.ZodObject<{
|
|
1662
1726
|
dynamicImportMode: z.ZodOptional<z.ZodEnum<["eager", "lazy"]>>;
|
|
1663
1727
|
dynamicImportPreload: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodNumber]>>;
|
|
@@ -1680,6 +1744,15 @@ declare const parserOptionsByModuleTypeKnown: z.ZodObject<{
|
|
|
1680
1744
|
maxSize?: number | undefined;
|
|
1681
1745
|
} | undefined;
|
|
1682
1746
|
} | undefined;
|
|
1747
|
+
css?: {
|
|
1748
|
+
namedExports?: boolean | undefined;
|
|
1749
|
+
} | undefined;
|
|
1750
|
+
"css/auto"?: {
|
|
1751
|
+
namedExports?: boolean | undefined;
|
|
1752
|
+
} | undefined;
|
|
1753
|
+
"css/module"?: {
|
|
1754
|
+
namedExports?: boolean | undefined;
|
|
1755
|
+
} | undefined;
|
|
1683
1756
|
javascript?: {
|
|
1684
1757
|
dynamicImportMode?: "eager" | "lazy" | undefined;
|
|
1685
1758
|
dynamicImportPreload?: number | boolean | undefined;
|
|
@@ -1692,6 +1765,15 @@ declare const parserOptionsByModuleTypeKnown: z.ZodObject<{
|
|
|
1692
1765
|
maxSize?: number | undefined;
|
|
1693
1766
|
} | undefined;
|
|
1694
1767
|
} | undefined;
|
|
1768
|
+
css?: {
|
|
1769
|
+
namedExports?: boolean | undefined;
|
|
1770
|
+
} | undefined;
|
|
1771
|
+
"css/auto"?: {
|
|
1772
|
+
namedExports?: boolean | undefined;
|
|
1773
|
+
} | undefined;
|
|
1774
|
+
"css/module"?: {
|
|
1775
|
+
namedExports?: boolean | undefined;
|
|
1776
|
+
} | undefined;
|
|
1695
1777
|
javascript?: {
|
|
1696
1778
|
dynamicImportMode?: "eager" | "lazy" | undefined;
|
|
1697
1779
|
dynamicImportPreload?: number | boolean | undefined;
|
|
@@ -1720,6 +1802,27 @@ declare const parserOptionsByModuleType: z.ZodUnion<[z.ZodObject<{
|
|
|
1720
1802
|
maxSize?: number | undefined;
|
|
1721
1803
|
} | undefined;
|
|
1722
1804
|
}>>;
|
|
1805
|
+
css: z.ZodOptional<z.ZodObject<{
|
|
1806
|
+
namedExports: z.ZodOptional<z.ZodBoolean>;
|
|
1807
|
+
}, "strict", z.ZodTypeAny, {
|
|
1808
|
+
namedExports?: boolean | undefined;
|
|
1809
|
+
}, {
|
|
1810
|
+
namedExports?: boolean | undefined;
|
|
1811
|
+
}>>;
|
|
1812
|
+
"css/auto": z.ZodOptional<z.ZodObject<{
|
|
1813
|
+
namedExports: z.ZodOptional<z.ZodBoolean>;
|
|
1814
|
+
}, "strict", z.ZodTypeAny, {
|
|
1815
|
+
namedExports?: boolean | undefined;
|
|
1816
|
+
}, {
|
|
1817
|
+
namedExports?: boolean | undefined;
|
|
1818
|
+
}>>;
|
|
1819
|
+
"css/module": z.ZodOptional<z.ZodObject<{
|
|
1820
|
+
namedExports: z.ZodOptional<z.ZodBoolean>;
|
|
1821
|
+
}, "strict", z.ZodTypeAny, {
|
|
1822
|
+
namedExports?: boolean | undefined;
|
|
1823
|
+
}, {
|
|
1824
|
+
namedExports?: boolean | undefined;
|
|
1825
|
+
}>>;
|
|
1723
1826
|
javascript: z.ZodOptional<z.ZodObject<{
|
|
1724
1827
|
dynamicImportMode: z.ZodOptional<z.ZodEnum<["eager", "lazy"]>>;
|
|
1725
1828
|
dynamicImportPreload: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodNumber]>>;
|
|
@@ -1742,6 +1845,15 @@ declare const parserOptionsByModuleType: z.ZodUnion<[z.ZodObject<{
|
|
|
1742
1845
|
maxSize?: number | undefined;
|
|
1743
1846
|
} | undefined;
|
|
1744
1847
|
} | undefined;
|
|
1848
|
+
css?: {
|
|
1849
|
+
namedExports?: boolean | undefined;
|
|
1850
|
+
} | undefined;
|
|
1851
|
+
"css/auto"?: {
|
|
1852
|
+
namedExports?: boolean | undefined;
|
|
1853
|
+
} | undefined;
|
|
1854
|
+
"css/module"?: {
|
|
1855
|
+
namedExports?: boolean | undefined;
|
|
1856
|
+
} | undefined;
|
|
1745
1857
|
javascript?: {
|
|
1746
1858
|
dynamicImportMode?: "eager" | "lazy" | undefined;
|
|
1747
1859
|
dynamicImportPreload?: number | boolean | undefined;
|
|
@@ -1754,6 +1866,15 @@ declare const parserOptionsByModuleType: z.ZodUnion<[z.ZodObject<{
|
|
|
1754
1866
|
maxSize?: number | undefined;
|
|
1755
1867
|
} | undefined;
|
|
1756
1868
|
} | undefined;
|
|
1869
|
+
css?: {
|
|
1870
|
+
namedExports?: boolean | undefined;
|
|
1871
|
+
} | undefined;
|
|
1872
|
+
"css/auto"?: {
|
|
1873
|
+
namedExports?: boolean | undefined;
|
|
1874
|
+
} | undefined;
|
|
1875
|
+
"css/module"?: {
|
|
1876
|
+
namedExports?: boolean | undefined;
|
|
1877
|
+
} | undefined;
|
|
1757
1878
|
javascript?: {
|
|
1758
1879
|
dynamicImportMode?: "eager" | "lazy" | undefined;
|
|
1759
1880
|
dynamicImportPreload?: number | boolean | undefined;
|
|
@@ -1897,6 +2018,51 @@ declare const assetGeneratorOptions: z.ZodObject<{
|
|
|
1897
2018
|
publicPath?: string | undefined;
|
|
1898
2019
|
}>;
|
|
1899
2020
|
export type AssetGeneratorOptions = z.infer<typeof assetGeneratorOptions>;
|
|
2021
|
+
declare const cssGeneratorExportsConvention: z.ZodEnum<["as-is", "camel-case", "camel-case-only", "dashes", "dashes-only"]>;
|
|
2022
|
+
export type CssGeneratorExportsConvention = z.infer<typeof cssGeneratorExportsConvention>;
|
|
2023
|
+
declare const cssGeneratorExportsOnly: z.ZodBoolean;
|
|
2024
|
+
export type CssGeneratorExportsOnly = z.infer<typeof cssGeneratorExportsOnly>;
|
|
2025
|
+
declare const cssGeneratorLocalIdentName: z.ZodString;
|
|
2026
|
+
export type CssGeneratorLocalIdentName = z.infer<typeof cssGeneratorLocalIdentName>;
|
|
2027
|
+
declare const cssGeneratorOptions: z.ZodObject<{
|
|
2028
|
+
exportsConvention: z.ZodOptional<z.ZodEnum<["as-is", "camel-case", "camel-case-only", "dashes", "dashes-only"]>>;
|
|
2029
|
+
exportsOnly: z.ZodOptional<z.ZodBoolean>;
|
|
2030
|
+
}, "strict", z.ZodTypeAny, {
|
|
2031
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2032
|
+
exportsOnly?: boolean | undefined;
|
|
2033
|
+
}, {
|
|
2034
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2035
|
+
exportsOnly?: boolean | undefined;
|
|
2036
|
+
}>;
|
|
2037
|
+
export type CssGeneratorOptions = z.infer<typeof cssGeneratorOptions>;
|
|
2038
|
+
declare const cssAutoGeneratorOptions: z.ZodObject<{
|
|
2039
|
+
exportsConvention: z.ZodOptional<z.ZodEnum<["as-is", "camel-case", "camel-case-only", "dashes", "dashes-only"]>>;
|
|
2040
|
+
exportsOnly: z.ZodOptional<z.ZodBoolean>;
|
|
2041
|
+
localIdentName: z.ZodOptional<z.ZodString>;
|
|
2042
|
+
}, "strict", z.ZodTypeAny, {
|
|
2043
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2044
|
+
exportsOnly?: boolean | undefined;
|
|
2045
|
+
localIdentName?: string | undefined;
|
|
2046
|
+
}, {
|
|
2047
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2048
|
+
exportsOnly?: boolean | undefined;
|
|
2049
|
+
localIdentName?: string | undefined;
|
|
2050
|
+
}>;
|
|
2051
|
+
export type CssAutoGeneratorOptions = z.infer<typeof cssAutoGeneratorOptions>;
|
|
2052
|
+
declare const cssModuleGeneratorOptions: z.ZodObject<{
|
|
2053
|
+
exportsConvention: z.ZodOptional<z.ZodEnum<["as-is", "camel-case", "camel-case-only", "dashes", "dashes-only"]>>;
|
|
2054
|
+
exportsOnly: z.ZodOptional<z.ZodBoolean>;
|
|
2055
|
+
localIdentName: z.ZodOptional<z.ZodString>;
|
|
2056
|
+
}, "strict", z.ZodTypeAny, {
|
|
2057
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2058
|
+
exportsOnly?: boolean | undefined;
|
|
2059
|
+
localIdentName?: string | undefined;
|
|
2060
|
+
}, {
|
|
2061
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2062
|
+
exportsOnly?: boolean | undefined;
|
|
2063
|
+
localIdentName?: string | undefined;
|
|
2064
|
+
}>;
|
|
2065
|
+
export type CssModuleGeneratorOptions = z.infer<typeof cssModuleGeneratorOptions>;
|
|
1900
2066
|
declare const generatorOptionsByModuleTypeKnown: z.ZodObject<{
|
|
1901
2067
|
asset: z.ZodOptional<z.ZodObject<{
|
|
1902
2068
|
dataUrl: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
@@ -1988,6 +2154,42 @@ declare const generatorOptionsByModuleTypeKnown: z.ZodObject<{
|
|
|
1988
2154
|
filename?: string | undefined;
|
|
1989
2155
|
publicPath?: string | undefined;
|
|
1990
2156
|
}>>;
|
|
2157
|
+
css: z.ZodOptional<z.ZodObject<{
|
|
2158
|
+
exportsConvention: z.ZodOptional<z.ZodEnum<["as-is", "camel-case", "camel-case-only", "dashes", "dashes-only"]>>;
|
|
2159
|
+
exportsOnly: z.ZodOptional<z.ZodBoolean>;
|
|
2160
|
+
}, "strict", z.ZodTypeAny, {
|
|
2161
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2162
|
+
exportsOnly?: boolean | undefined;
|
|
2163
|
+
}, {
|
|
2164
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2165
|
+
exportsOnly?: boolean | undefined;
|
|
2166
|
+
}>>;
|
|
2167
|
+
"css/auto": z.ZodOptional<z.ZodObject<{
|
|
2168
|
+
exportsConvention: z.ZodOptional<z.ZodEnum<["as-is", "camel-case", "camel-case-only", "dashes", "dashes-only"]>>;
|
|
2169
|
+
exportsOnly: z.ZodOptional<z.ZodBoolean>;
|
|
2170
|
+
localIdentName: z.ZodOptional<z.ZodString>;
|
|
2171
|
+
}, "strict", z.ZodTypeAny, {
|
|
2172
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2173
|
+
exportsOnly?: boolean | undefined;
|
|
2174
|
+
localIdentName?: string | undefined;
|
|
2175
|
+
}, {
|
|
2176
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2177
|
+
exportsOnly?: boolean | undefined;
|
|
2178
|
+
localIdentName?: string | undefined;
|
|
2179
|
+
}>>;
|
|
2180
|
+
"css/module": z.ZodOptional<z.ZodObject<{
|
|
2181
|
+
exportsConvention: z.ZodOptional<z.ZodEnum<["as-is", "camel-case", "camel-case-only", "dashes", "dashes-only"]>>;
|
|
2182
|
+
exportsOnly: z.ZodOptional<z.ZodBoolean>;
|
|
2183
|
+
localIdentName: z.ZodOptional<z.ZodString>;
|
|
2184
|
+
}, "strict", z.ZodTypeAny, {
|
|
2185
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2186
|
+
exportsOnly?: boolean | undefined;
|
|
2187
|
+
localIdentName?: string | undefined;
|
|
2188
|
+
}, {
|
|
2189
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2190
|
+
exportsOnly?: boolean | undefined;
|
|
2191
|
+
localIdentName?: string | undefined;
|
|
2192
|
+
}>>;
|
|
1991
2193
|
}, "strict", z.ZodTypeAny, {
|
|
1992
2194
|
asset?: {
|
|
1993
2195
|
dataUrl?: {
|
|
@@ -2013,6 +2215,20 @@ declare const generatorOptionsByModuleTypeKnown: z.ZodObject<{
|
|
|
2013
2215
|
filename?: string | undefined;
|
|
2014
2216
|
publicPath?: string | undefined;
|
|
2015
2217
|
} | undefined;
|
|
2218
|
+
css?: {
|
|
2219
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2220
|
+
exportsOnly?: boolean | undefined;
|
|
2221
|
+
} | undefined;
|
|
2222
|
+
"css/auto"?: {
|
|
2223
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2224
|
+
exportsOnly?: boolean | undefined;
|
|
2225
|
+
localIdentName?: string | undefined;
|
|
2226
|
+
} | undefined;
|
|
2227
|
+
"css/module"?: {
|
|
2228
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2229
|
+
exportsOnly?: boolean | undefined;
|
|
2230
|
+
localIdentName?: string | undefined;
|
|
2231
|
+
} | undefined;
|
|
2016
2232
|
}, {
|
|
2017
2233
|
asset?: {
|
|
2018
2234
|
dataUrl?: {
|
|
@@ -2038,6 +2254,20 @@ declare const generatorOptionsByModuleTypeKnown: z.ZodObject<{
|
|
|
2038
2254
|
filename?: string | undefined;
|
|
2039
2255
|
publicPath?: string | undefined;
|
|
2040
2256
|
} | undefined;
|
|
2257
|
+
css?: {
|
|
2258
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2259
|
+
exportsOnly?: boolean | undefined;
|
|
2260
|
+
} | undefined;
|
|
2261
|
+
"css/auto"?: {
|
|
2262
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2263
|
+
exportsOnly?: boolean | undefined;
|
|
2264
|
+
localIdentName?: string | undefined;
|
|
2265
|
+
} | undefined;
|
|
2266
|
+
"css/module"?: {
|
|
2267
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2268
|
+
exportsOnly?: boolean | undefined;
|
|
2269
|
+
localIdentName?: string | undefined;
|
|
2270
|
+
} | undefined;
|
|
2041
2271
|
}>;
|
|
2042
2272
|
export type GeneratorOptionsByModuleTypeKnown = z.infer<typeof generatorOptionsByModuleTypeKnown>;
|
|
2043
2273
|
declare const generatorOptionsByModuleTypeUnknown: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
@@ -2133,6 +2363,42 @@ declare const generatorOptionsByModuleType: z.ZodUnion<[z.ZodObject<{
|
|
|
2133
2363
|
filename?: string | undefined;
|
|
2134
2364
|
publicPath?: string | undefined;
|
|
2135
2365
|
}>>;
|
|
2366
|
+
css: z.ZodOptional<z.ZodObject<{
|
|
2367
|
+
exportsConvention: z.ZodOptional<z.ZodEnum<["as-is", "camel-case", "camel-case-only", "dashes", "dashes-only"]>>;
|
|
2368
|
+
exportsOnly: z.ZodOptional<z.ZodBoolean>;
|
|
2369
|
+
}, "strict", z.ZodTypeAny, {
|
|
2370
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2371
|
+
exportsOnly?: boolean | undefined;
|
|
2372
|
+
}, {
|
|
2373
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2374
|
+
exportsOnly?: boolean | undefined;
|
|
2375
|
+
}>>;
|
|
2376
|
+
"css/auto": z.ZodOptional<z.ZodObject<{
|
|
2377
|
+
exportsConvention: z.ZodOptional<z.ZodEnum<["as-is", "camel-case", "camel-case-only", "dashes", "dashes-only"]>>;
|
|
2378
|
+
exportsOnly: z.ZodOptional<z.ZodBoolean>;
|
|
2379
|
+
localIdentName: z.ZodOptional<z.ZodString>;
|
|
2380
|
+
}, "strict", z.ZodTypeAny, {
|
|
2381
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2382
|
+
exportsOnly?: boolean | undefined;
|
|
2383
|
+
localIdentName?: string | undefined;
|
|
2384
|
+
}, {
|
|
2385
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2386
|
+
exportsOnly?: boolean | undefined;
|
|
2387
|
+
localIdentName?: string | undefined;
|
|
2388
|
+
}>>;
|
|
2389
|
+
"css/module": z.ZodOptional<z.ZodObject<{
|
|
2390
|
+
exportsConvention: z.ZodOptional<z.ZodEnum<["as-is", "camel-case", "camel-case-only", "dashes", "dashes-only"]>>;
|
|
2391
|
+
exportsOnly: z.ZodOptional<z.ZodBoolean>;
|
|
2392
|
+
localIdentName: z.ZodOptional<z.ZodString>;
|
|
2393
|
+
}, "strict", z.ZodTypeAny, {
|
|
2394
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2395
|
+
exportsOnly?: boolean | undefined;
|
|
2396
|
+
localIdentName?: string | undefined;
|
|
2397
|
+
}, {
|
|
2398
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2399
|
+
exportsOnly?: boolean | undefined;
|
|
2400
|
+
localIdentName?: string | undefined;
|
|
2401
|
+
}>>;
|
|
2136
2402
|
}, "strict", z.ZodTypeAny, {
|
|
2137
2403
|
asset?: {
|
|
2138
2404
|
dataUrl?: {
|
|
@@ -2158,6 +2424,20 @@ declare const generatorOptionsByModuleType: z.ZodUnion<[z.ZodObject<{
|
|
|
2158
2424
|
filename?: string | undefined;
|
|
2159
2425
|
publicPath?: string | undefined;
|
|
2160
2426
|
} | undefined;
|
|
2427
|
+
css?: {
|
|
2428
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2429
|
+
exportsOnly?: boolean | undefined;
|
|
2430
|
+
} | undefined;
|
|
2431
|
+
"css/auto"?: {
|
|
2432
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2433
|
+
exportsOnly?: boolean | undefined;
|
|
2434
|
+
localIdentName?: string | undefined;
|
|
2435
|
+
} | undefined;
|
|
2436
|
+
"css/module"?: {
|
|
2437
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2438
|
+
exportsOnly?: boolean | undefined;
|
|
2439
|
+
localIdentName?: string | undefined;
|
|
2440
|
+
} | undefined;
|
|
2161
2441
|
}, {
|
|
2162
2442
|
asset?: {
|
|
2163
2443
|
dataUrl?: {
|
|
@@ -2183,6 +2463,20 @@ declare const generatorOptionsByModuleType: z.ZodUnion<[z.ZodObject<{
|
|
|
2183
2463
|
filename?: string | undefined;
|
|
2184
2464
|
publicPath?: string | undefined;
|
|
2185
2465
|
} | undefined;
|
|
2466
|
+
css?: {
|
|
2467
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2468
|
+
exportsOnly?: boolean | undefined;
|
|
2469
|
+
} | undefined;
|
|
2470
|
+
"css/auto"?: {
|
|
2471
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2472
|
+
exportsOnly?: boolean | undefined;
|
|
2473
|
+
localIdentName?: string | undefined;
|
|
2474
|
+
} | undefined;
|
|
2475
|
+
"css/module"?: {
|
|
2476
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2477
|
+
exportsOnly?: boolean | undefined;
|
|
2478
|
+
localIdentName?: string | undefined;
|
|
2479
|
+
} | undefined;
|
|
2186
2480
|
}>, z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>>]>;
|
|
2187
2481
|
export type GeneratorOptionsByModuleType = z.infer<typeof generatorOptionsByModuleType>;
|
|
2188
2482
|
declare const noParseOption: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>, z.ZodFunction<z.ZodTuple<[z.ZodString], z.ZodUnknown>, z.ZodBoolean>]>, z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>, z.ZodFunction<z.ZodTuple<[z.ZodString], z.ZodUnknown>, z.ZodBoolean>]>, "many">]>;
|
|
@@ -2208,6 +2502,27 @@ declare const moduleOptions: z.ZodObject<{
|
|
|
2208
2502
|
maxSize?: number | undefined;
|
|
2209
2503
|
} | undefined;
|
|
2210
2504
|
}>>;
|
|
2505
|
+
css: z.ZodOptional<z.ZodObject<{
|
|
2506
|
+
namedExports: z.ZodOptional<z.ZodBoolean>;
|
|
2507
|
+
}, "strict", z.ZodTypeAny, {
|
|
2508
|
+
namedExports?: boolean | undefined;
|
|
2509
|
+
}, {
|
|
2510
|
+
namedExports?: boolean | undefined;
|
|
2511
|
+
}>>;
|
|
2512
|
+
"css/auto": z.ZodOptional<z.ZodObject<{
|
|
2513
|
+
namedExports: z.ZodOptional<z.ZodBoolean>;
|
|
2514
|
+
}, "strict", z.ZodTypeAny, {
|
|
2515
|
+
namedExports?: boolean | undefined;
|
|
2516
|
+
}, {
|
|
2517
|
+
namedExports?: boolean | undefined;
|
|
2518
|
+
}>>;
|
|
2519
|
+
"css/module": z.ZodOptional<z.ZodObject<{
|
|
2520
|
+
namedExports: z.ZodOptional<z.ZodBoolean>;
|
|
2521
|
+
}, "strict", z.ZodTypeAny, {
|
|
2522
|
+
namedExports?: boolean | undefined;
|
|
2523
|
+
}, {
|
|
2524
|
+
namedExports?: boolean | undefined;
|
|
2525
|
+
}>>;
|
|
2211
2526
|
javascript: z.ZodOptional<z.ZodObject<{
|
|
2212
2527
|
dynamicImportMode: z.ZodOptional<z.ZodEnum<["eager", "lazy"]>>;
|
|
2213
2528
|
dynamicImportPreload: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodNumber]>>;
|
|
@@ -2230,6 +2545,15 @@ declare const moduleOptions: z.ZodObject<{
|
|
|
2230
2545
|
maxSize?: number | undefined;
|
|
2231
2546
|
} | undefined;
|
|
2232
2547
|
} | undefined;
|
|
2548
|
+
css?: {
|
|
2549
|
+
namedExports?: boolean | undefined;
|
|
2550
|
+
} | undefined;
|
|
2551
|
+
"css/auto"?: {
|
|
2552
|
+
namedExports?: boolean | undefined;
|
|
2553
|
+
} | undefined;
|
|
2554
|
+
"css/module"?: {
|
|
2555
|
+
namedExports?: boolean | undefined;
|
|
2556
|
+
} | undefined;
|
|
2233
2557
|
javascript?: {
|
|
2234
2558
|
dynamicImportMode?: "eager" | "lazy" | undefined;
|
|
2235
2559
|
dynamicImportPreload?: number | boolean | undefined;
|
|
@@ -2242,6 +2566,15 @@ declare const moduleOptions: z.ZodObject<{
|
|
|
2242
2566
|
maxSize?: number | undefined;
|
|
2243
2567
|
} | undefined;
|
|
2244
2568
|
} | undefined;
|
|
2569
|
+
css?: {
|
|
2570
|
+
namedExports?: boolean | undefined;
|
|
2571
|
+
} | undefined;
|
|
2572
|
+
"css/auto"?: {
|
|
2573
|
+
namedExports?: boolean | undefined;
|
|
2574
|
+
} | undefined;
|
|
2575
|
+
"css/module"?: {
|
|
2576
|
+
namedExports?: boolean | undefined;
|
|
2577
|
+
} | undefined;
|
|
2245
2578
|
javascript?: {
|
|
2246
2579
|
dynamicImportMode?: "eager" | "lazy" | undefined;
|
|
2247
2580
|
dynamicImportPreload?: number | boolean | undefined;
|
|
@@ -2340,6 +2673,42 @@ declare const moduleOptions: z.ZodObject<{
|
|
|
2340
2673
|
filename?: string | undefined;
|
|
2341
2674
|
publicPath?: string | undefined;
|
|
2342
2675
|
}>>;
|
|
2676
|
+
css: z.ZodOptional<z.ZodObject<{
|
|
2677
|
+
exportsConvention: z.ZodOptional<z.ZodEnum<["as-is", "camel-case", "camel-case-only", "dashes", "dashes-only"]>>;
|
|
2678
|
+
exportsOnly: z.ZodOptional<z.ZodBoolean>;
|
|
2679
|
+
}, "strict", z.ZodTypeAny, {
|
|
2680
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2681
|
+
exportsOnly?: boolean | undefined;
|
|
2682
|
+
}, {
|
|
2683
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2684
|
+
exportsOnly?: boolean | undefined;
|
|
2685
|
+
}>>;
|
|
2686
|
+
"css/auto": z.ZodOptional<z.ZodObject<{
|
|
2687
|
+
exportsConvention: z.ZodOptional<z.ZodEnum<["as-is", "camel-case", "camel-case-only", "dashes", "dashes-only"]>>;
|
|
2688
|
+
exportsOnly: z.ZodOptional<z.ZodBoolean>;
|
|
2689
|
+
localIdentName: z.ZodOptional<z.ZodString>;
|
|
2690
|
+
}, "strict", z.ZodTypeAny, {
|
|
2691
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2692
|
+
exportsOnly?: boolean | undefined;
|
|
2693
|
+
localIdentName?: string | undefined;
|
|
2694
|
+
}, {
|
|
2695
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2696
|
+
exportsOnly?: boolean | undefined;
|
|
2697
|
+
localIdentName?: string | undefined;
|
|
2698
|
+
}>>;
|
|
2699
|
+
"css/module": z.ZodOptional<z.ZodObject<{
|
|
2700
|
+
exportsConvention: z.ZodOptional<z.ZodEnum<["as-is", "camel-case", "camel-case-only", "dashes", "dashes-only"]>>;
|
|
2701
|
+
exportsOnly: z.ZodOptional<z.ZodBoolean>;
|
|
2702
|
+
localIdentName: z.ZodOptional<z.ZodString>;
|
|
2703
|
+
}, "strict", z.ZodTypeAny, {
|
|
2704
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2705
|
+
exportsOnly?: boolean | undefined;
|
|
2706
|
+
localIdentName?: string | undefined;
|
|
2707
|
+
}, {
|
|
2708
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2709
|
+
exportsOnly?: boolean | undefined;
|
|
2710
|
+
localIdentName?: string | undefined;
|
|
2711
|
+
}>>;
|
|
2343
2712
|
}, "strict", z.ZodTypeAny, {
|
|
2344
2713
|
asset?: {
|
|
2345
2714
|
dataUrl?: {
|
|
@@ -2365,6 +2734,20 @@ declare const moduleOptions: z.ZodObject<{
|
|
|
2365
2734
|
filename?: string | undefined;
|
|
2366
2735
|
publicPath?: string | undefined;
|
|
2367
2736
|
} | undefined;
|
|
2737
|
+
css?: {
|
|
2738
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2739
|
+
exportsOnly?: boolean | undefined;
|
|
2740
|
+
} | undefined;
|
|
2741
|
+
"css/auto"?: {
|
|
2742
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2743
|
+
exportsOnly?: boolean | undefined;
|
|
2744
|
+
localIdentName?: string | undefined;
|
|
2745
|
+
} | undefined;
|
|
2746
|
+
"css/module"?: {
|
|
2747
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2748
|
+
exportsOnly?: boolean | undefined;
|
|
2749
|
+
localIdentName?: string | undefined;
|
|
2750
|
+
} | undefined;
|
|
2368
2751
|
}, {
|
|
2369
2752
|
asset?: {
|
|
2370
2753
|
dataUrl?: {
|
|
@@ -2390,6 +2773,20 @@ declare const moduleOptions: z.ZodObject<{
|
|
|
2390
2773
|
filename?: string | undefined;
|
|
2391
2774
|
publicPath?: string | undefined;
|
|
2392
2775
|
} | undefined;
|
|
2776
|
+
css?: {
|
|
2777
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2778
|
+
exportsOnly?: boolean | undefined;
|
|
2779
|
+
} | undefined;
|
|
2780
|
+
"css/auto"?: {
|
|
2781
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2782
|
+
exportsOnly?: boolean | undefined;
|
|
2783
|
+
localIdentName?: string | undefined;
|
|
2784
|
+
} | undefined;
|
|
2785
|
+
"css/module"?: {
|
|
2786
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2787
|
+
exportsOnly?: boolean | undefined;
|
|
2788
|
+
localIdentName?: string | undefined;
|
|
2789
|
+
} | undefined;
|
|
2393
2790
|
}>, z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>>]>>;
|
|
2394
2791
|
noParse: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>, z.ZodFunction<z.ZodTuple<[z.ZodString], z.ZodUnknown>, z.ZodBoolean>]>, z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>, z.ZodFunction<z.ZodTuple<[z.ZodString], z.ZodUnknown>, z.ZodBoolean>]>, "many">]>>;
|
|
2395
2792
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -2401,6 +2798,15 @@ declare const moduleOptions: z.ZodObject<{
|
|
|
2401
2798
|
maxSize?: number | undefined;
|
|
2402
2799
|
} | undefined;
|
|
2403
2800
|
} | undefined;
|
|
2801
|
+
css?: {
|
|
2802
|
+
namedExports?: boolean | undefined;
|
|
2803
|
+
} | undefined;
|
|
2804
|
+
"css/auto"?: {
|
|
2805
|
+
namedExports?: boolean | undefined;
|
|
2806
|
+
} | undefined;
|
|
2807
|
+
"css/module"?: {
|
|
2808
|
+
namedExports?: boolean | undefined;
|
|
2809
|
+
} | undefined;
|
|
2404
2810
|
javascript?: {
|
|
2405
2811
|
dynamicImportMode?: "eager" | "lazy" | undefined;
|
|
2406
2812
|
dynamicImportPreload?: number | boolean | undefined;
|
|
@@ -2433,6 +2839,20 @@ declare const moduleOptions: z.ZodObject<{
|
|
|
2433
2839
|
filename?: string | undefined;
|
|
2434
2840
|
publicPath?: string | undefined;
|
|
2435
2841
|
} | undefined;
|
|
2842
|
+
css?: {
|
|
2843
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2844
|
+
exportsOnly?: boolean | undefined;
|
|
2845
|
+
} | undefined;
|
|
2846
|
+
"css/auto"?: {
|
|
2847
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2848
|
+
exportsOnly?: boolean | undefined;
|
|
2849
|
+
localIdentName?: string | undefined;
|
|
2850
|
+
} | undefined;
|
|
2851
|
+
"css/module"?: {
|
|
2852
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2853
|
+
exportsOnly?: boolean | undefined;
|
|
2854
|
+
localIdentName?: string | undefined;
|
|
2855
|
+
} | undefined;
|
|
2436
2856
|
} | undefined;
|
|
2437
2857
|
noParse?: string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
|
|
2438
2858
|
}, {
|
|
@@ -2444,6 +2864,15 @@ declare const moduleOptions: z.ZodObject<{
|
|
|
2444
2864
|
maxSize?: number | undefined;
|
|
2445
2865
|
} | undefined;
|
|
2446
2866
|
} | undefined;
|
|
2867
|
+
css?: {
|
|
2868
|
+
namedExports?: boolean | undefined;
|
|
2869
|
+
} | undefined;
|
|
2870
|
+
"css/auto"?: {
|
|
2871
|
+
namedExports?: boolean | undefined;
|
|
2872
|
+
} | undefined;
|
|
2873
|
+
"css/module"?: {
|
|
2874
|
+
namedExports?: boolean | undefined;
|
|
2875
|
+
} | undefined;
|
|
2447
2876
|
javascript?: {
|
|
2448
2877
|
dynamicImportMode?: "eager" | "lazy" | undefined;
|
|
2449
2878
|
dynamicImportPreload?: number | boolean | undefined;
|
|
@@ -2476,6 +2905,20 @@ declare const moduleOptions: z.ZodObject<{
|
|
|
2476
2905
|
filename?: string | undefined;
|
|
2477
2906
|
publicPath?: string | undefined;
|
|
2478
2907
|
} | undefined;
|
|
2908
|
+
css?: {
|
|
2909
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2910
|
+
exportsOnly?: boolean | undefined;
|
|
2911
|
+
} | undefined;
|
|
2912
|
+
"css/auto"?: {
|
|
2913
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2914
|
+
exportsOnly?: boolean | undefined;
|
|
2915
|
+
localIdentName?: string | undefined;
|
|
2916
|
+
} | undefined;
|
|
2917
|
+
"css/module"?: {
|
|
2918
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2919
|
+
exportsOnly?: boolean | undefined;
|
|
2920
|
+
localIdentName?: string | undefined;
|
|
2921
|
+
} | undefined;
|
|
2479
2922
|
} | undefined;
|
|
2480
2923
|
noParse?: string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
|
|
2481
2924
|
}>;
|
|
@@ -2741,7 +3184,7 @@ declare const statsOptions: z.ZodObject<{
|
|
|
2741
3184
|
optimizationBailout: z.ZodOptional<z.ZodBoolean>;
|
|
2742
3185
|
}, "strict", z.ZodTypeAny, {
|
|
2743
3186
|
all?: boolean | undefined;
|
|
2744
|
-
preset?: "
|
|
3187
|
+
preset?: "none" | "normal" | "verbose" | "errors-only" | "errors-warnings" | undefined;
|
|
2745
3188
|
assets?: boolean | undefined;
|
|
2746
3189
|
chunks?: boolean | undefined;
|
|
2747
3190
|
modules?: boolean | undefined;
|
|
@@ -2776,7 +3219,7 @@ declare const statsOptions: z.ZodObject<{
|
|
|
2776
3219
|
optimizationBailout?: boolean | undefined;
|
|
2777
3220
|
}, {
|
|
2778
3221
|
all?: boolean | undefined;
|
|
2779
|
-
preset?: "
|
|
3222
|
+
preset?: "none" | "normal" | "verbose" | "errors-only" | "errors-warnings" | undefined;
|
|
2780
3223
|
assets?: boolean | undefined;
|
|
2781
3224
|
chunks?: boolean | undefined;
|
|
2782
3225
|
modules?: boolean | undefined;
|
|
@@ -2848,7 +3291,7 @@ declare const statsValue: z.ZodUnion<[z.ZodUnion<[z.ZodEnum<["none", "errors-onl
|
|
|
2848
3291
|
optimizationBailout: z.ZodOptional<z.ZodBoolean>;
|
|
2849
3292
|
}, "strict", z.ZodTypeAny, {
|
|
2850
3293
|
all?: boolean | undefined;
|
|
2851
|
-
preset?: "
|
|
3294
|
+
preset?: "none" | "normal" | "verbose" | "errors-only" | "errors-warnings" | undefined;
|
|
2852
3295
|
assets?: boolean | undefined;
|
|
2853
3296
|
chunks?: boolean | undefined;
|
|
2854
3297
|
modules?: boolean | undefined;
|
|
@@ -2883,7 +3326,7 @@ declare const statsValue: z.ZodUnion<[z.ZodUnion<[z.ZodEnum<["none", "errors-onl
|
|
|
2883
3326
|
optimizationBailout?: boolean | undefined;
|
|
2884
3327
|
}, {
|
|
2885
3328
|
all?: boolean | undefined;
|
|
2886
|
-
preset?: "
|
|
3329
|
+
preset?: "none" | "normal" | "verbose" | "errors-only" | "errors-warnings" | undefined;
|
|
2887
3330
|
assets?: boolean | undefined;
|
|
2888
3331
|
chunks?: boolean | undefined;
|
|
2889
3332
|
modules?: boolean | undefined;
|
|
@@ -2952,7 +3395,7 @@ declare const optimizationSplitChunksCacheGroup: z.ZodObject<{
|
|
|
2952
3395
|
type: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>>;
|
|
2953
3396
|
idHint: z.ZodOptional<z.ZodString>;
|
|
2954
3397
|
}, "strict", z.ZodTypeAny, {
|
|
2955
|
-
chunks?: RegExp | "async" | "
|
|
3398
|
+
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
2956
3399
|
minChunks?: number | undefined;
|
|
2957
3400
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
2958
3401
|
minSize?: number | undefined;
|
|
@@ -2968,7 +3411,7 @@ declare const optimizationSplitChunksCacheGroup: z.ZodObject<{
|
|
|
2968
3411
|
type?: string | RegExp | undefined;
|
|
2969
3412
|
idHint?: string | undefined;
|
|
2970
3413
|
}, {
|
|
2971
|
-
chunks?: RegExp | "async" | "
|
|
3414
|
+
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
2972
3415
|
minChunks?: number | undefined;
|
|
2973
3416
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
2974
3417
|
minSize?: number | undefined;
|
|
@@ -3011,7 +3454,7 @@ declare const optimizationSplitChunksOptions: z.ZodObject<{
|
|
|
3011
3454
|
type: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>>;
|
|
3012
3455
|
idHint: z.ZodOptional<z.ZodString>;
|
|
3013
3456
|
}, "strict", z.ZodTypeAny, {
|
|
3014
|
-
chunks?: RegExp | "async" | "
|
|
3457
|
+
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
3015
3458
|
minChunks?: number | undefined;
|
|
3016
3459
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
3017
3460
|
minSize?: number | undefined;
|
|
@@ -3027,7 +3470,7 @@ declare const optimizationSplitChunksOptions: z.ZodObject<{
|
|
|
3027
3470
|
type?: string | RegExp | undefined;
|
|
3028
3471
|
idHint?: string | undefined;
|
|
3029
3472
|
}, {
|
|
3030
|
-
chunks?: RegExp | "async" | "
|
|
3473
|
+
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
3031
3474
|
minChunks?: number | undefined;
|
|
3032
3475
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
3033
3476
|
minSize?: number | undefined;
|
|
@@ -3053,14 +3496,14 @@ declare const optimizationSplitChunksOptions: z.ZodObject<{
|
|
|
3053
3496
|
maxInitialSize: z.ZodOptional<z.ZodNumber>;
|
|
3054
3497
|
automaticNameDelimiter: z.ZodOptional<z.ZodString>;
|
|
3055
3498
|
}, "strict", z.ZodTypeAny, {
|
|
3056
|
-
chunks?: RegExp | "async" | "
|
|
3499
|
+
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
3057
3500
|
minSize?: number | undefined;
|
|
3058
3501
|
maxSize?: number | undefined;
|
|
3059
3502
|
maxAsyncSize?: number | undefined;
|
|
3060
3503
|
maxInitialSize?: number | undefined;
|
|
3061
3504
|
automaticNameDelimiter?: string | undefined;
|
|
3062
3505
|
}, {
|
|
3063
|
-
chunks?: RegExp | "async" | "
|
|
3506
|
+
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
3064
3507
|
minSize?: number | undefined;
|
|
3065
3508
|
maxSize?: number | undefined;
|
|
3066
3509
|
maxAsyncSize?: number | undefined;
|
|
@@ -3069,7 +3512,7 @@ declare const optimizationSplitChunksOptions: z.ZodObject<{
|
|
|
3069
3512
|
}>>;
|
|
3070
3513
|
hidePathInfo: z.ZodOptional<z.ZodBoolean>;
|
|
3071
3514
|
}, "strict", z.ZodTypeAny, {
|
|
3072
|
-
chunks?: RegExp | "async" | "
|
|
3515
|
+
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
3073
3516
|
minChunks?: number | undefined;
|
|
3074
3517
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
3075
3518
|
minSize?: number | undefined;
|
|
@@ -3078,7 +3521,7 @@ declare const optimizationSplitChunksOptions: z.ZodObject<{
|
|
|
3078
3521
|
maxInitialSize?: number | undefined;
|
|
3079
3522
|
automaticNameDelimiter?: string | undefined;
|
|
3080
3523
|
cacheGroups?: Record<string, false | {
|
|
3081
|
-
chunks?: RegExp | "async" | "
|
|
3524
|
+
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
3082
3525
|
minChunks?: number | undefined;
|
|
3083
3526
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
3084
3527
|
minSize?: number | undefined;
|
|
@@ -3097,7 +3540,7 @@ declare const optimizationSplitChunksOptions: z.ZodObject<{
|
|
|
3097
3540
|
maxAsyncRequests?: number | undefined;
|
|
3098
3541
|
maxInitialRequests?: number | undefined;
|
|
3099
3542
|
fallbackCacheGroup?: {
|
|
3100
|
-
chunks?: RegExp | "async" | "
|
|
3543
|
+
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
3101
3544
|
minSize?: number | undefined;
|
|
3102
3545
|
maxSize?: number | undefined;
|
|
3103
3546
|
maxAsyncSize?: number | undefined;
|
|
@@ -3106,7 +3549,7 @@ declare const optimizationSplitChunksOptions: z.ZodObject<{
|
|
|
3106
3549
|
} | undefined;
|
|
3107
3550
|
hidePathInfo?: boolean | undefined;
|
|
3108
3551
|
}, {
|
|
3109
|
-
chunks?: RegExp | "async" | "
|
|
3552
|
+
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
3110
3553
|
minChunks?: number | undefined;
|
|
3111
3554
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
3112
3555
|
minSize?: number | undefined;
|
|
@@ -3115,7 +3558,7 @@ declare const optimizationSplitChunksOptions: z.ZodObject<{
|
|
|
3115
3558
|
maxInitialSize?: number | undefined;
|
|
3116
3559
|
automaticNameDelimiter?: string | undefined;
|
|
3117
3560
|
cacheGroups?: Record<string, false | {
|
|
3118
|
-
chunks?: RegExp | "async" | "
|
|
3561
|
+
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
3119
3562
|
minChunks?: number | undefined;
|
|
3120
3563
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
3121
3564
|
minSize?: number | undefined;
|
|
@@ -3134,7 +3577,7 @@ declare const optimizationSplitChunksOptions: z.ZodObject<{
|
|
|
3134
3577
|
maxAsyncRequests?: number | undefined;
|
|
3135
3578
|
maxInitialRequests?: number | undefined;
|
|
3136
3579
|
fallbackCacheGroup?: {
|
|
3137
|
-
chunks?: RegExp | "async" | "
|
|
3580
|
+
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
3138
3581
|
minSize?: number | undefined;
|
|
3139
3582
|
maxSize?: number | undefined;
|
|
3140
3583
|
maxAsyncSize?: number | undefined;
|
|
@@ -3176,7 +3619,7 @@ declare const optimization: z.ZodObject<{
|
|
|
3176
3619
|
type: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>>;
|
|
3177
3620
|
idHint: z.ZodOptional<z.ZodString>;
|
|
3178
3621
|
}, "strict", z.ZodTypeAny, {
|
|
3179
|
-
chunks?: RegExp | "async" | "
|
|
3622
|
+
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
3180
3623
|
minChunks?: number | undefined;
|
|
3181
3624
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
3182
3625
|
minSize?: number | undefined;
|
|
@@ -3192,7 +3635,7 @@ declare const optimization: z.ZodObject<{
|
|
|
3192
3635
|
type?: string | RegExp | undefined;
|
|
3193
3636
|
idHint?: string | undefined;
|
|
3194
3637
|
}, {
|
|
3195
|
-
chunks?: RegExp | "async" | "
|
|
3638
|
+
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
3196
3639
|
minChunks?: number | undefined;
|
|
3197
3640
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
3198
3641
|
minSize?: number | undefined;
|
|
@@ -3218,14 +3661,14 @@ declare const optimization: z.ZodObject<{
|
|
|
3218
3661
|
maxInitialSize: z.ZodOptional<z.ZodNumber>;
|
|
3219
3662
|
automaticNameDelimiter: z.ZodOptional<z.ZodString>;
|
|
3220
3663
|
}, "strict", z.ZodTypeAny, {
|
|
3221
|
-
chunks?: RegExp | "async" | "
|
|
3664
|
+
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
3222
3665
|
minSize?: number | undefined;
|
|
3223
3666
|
maxSize?: number | undefined;
|
|
3224
3667
|
maxAsyncSize?: number | undefined;
|
|
3225
3668
|
maxInitialSize?: number | undefined;
|
|
3226
3669
|
automaticNameDelimiter?: string | undefined;
|
|
3227
3670
|
}, {
|
|
3228
|
-
chunks?: RegExp | "async" | "
|
|
3671
|
+
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
3229
3672
|
minSize?: number | undefined;
|
|
3230
3673
|
maxSize?: number | undefined;
|
|
3231
3674
|
maxAsyncSize?: number | undefined;
|
|
@@ -3234,7 +3677,7 @@ declare const optimization: z.ZodObject<{
|
|
|
3234
3677
|
}>>;
|
|
3235
3678
|
hidePathInfo: z.ZodOptional<z.ZodBoolean>;
|
|
3236
3679
|
}, "strict", z.ZodTypeAny, {
|
|
3237
|
-
chunks?: RegExp | "async" | "
|
|
3680
|
+
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
3238
3681
|
minChunks?: number | undefined;
|
|
3239
3682
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
3240
3683
|
minSize?: number | undefined;
|
|
@@ -3243,7 +3686,7 @@ declare const optimization: z.ZodObject<{
|
|
|
3243
3686
|
maxInitialSize?: number | undefined;
|
|
3244
3687
|
automaticNameDelimiter?: string | undefined;
|
|
3245
3688
|
cacheGroups?: Record<string, false | {
|
|
3246
|
-
chunks?: RegExp | "async" | "
|
|
3689
|
+
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
3247
3690
|
minChunks?: number | undefined;
|
|
3248
3691
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
3249
3692
|
minSize?: number | undefined;
|
|
@@ -3262,7 +3705,7 @@ declare const optimization: z.ZodObject<{
|
|
|
3262
3705
|
maxAsyncRequests?: number | undefined;
|
|
3263
3706
|
maxInitialRequests?: number | undefined;
|
|
3264
3707
|
fallbackCacheGroup?: {
|
|
3265
|
-
chunks?: RegExp | "async" | "
|
|
3708
|
+
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
3266
3709
|
minSize?: number | undefined;
|
|
3267
3710
|
maxSize?: number | undefined;
|
|
3268
3711
|
maxAsyncSize?: number | undefined;
|
|
@@ -3271,7 +3714,7 @@ declare const optimization: z.ZodObject<{
|
|
|
3271
3714
|
} | undefined;
|
|
3272
3715
|
hidePathInfo?: boolean | undefined;
|
|
3273
3716
|
}, {
|
|
3274
|
-
chunks?: RegExp | "async" | "
|
|
3717
|
+
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
3275
3718
|
minChunks?: number | undefined;
|
|
3276
3719
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
3277
3720
|
minSize?: number | undefined;
|
|
@@ -3280,7 +3723,7 @@ declare const optimization: z.ZodObject<{
|
|
|
3280
3723
|
maxInitialSize?: number | undefined;
|
|
3281
3724
|
automaticNameDelimiter?: string | undefined;
|
|
3282
3725
|
cacheGroups?: Record<string, false | {
|
|
3283
|
-
chunks?: RegExp | "async" | "
|
|
3726
|
+
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
3284
3727
|
minChunks?: number | undefined;
|
|
3285
3728
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
3286
3729
|
minSize?: number | undefined;
|
|
@@ -3299,7 +3742,7 @@ declare const optimization: z.ZodObject<{
|
|
|
3299
3742
|
maxAsyncRequests?: number | undefined;
|
|
3300
3743
|
maxInitialRequests?: number | undefined;
|
|
3301
3744
|
fallbackCacheGroup?: {
|
|
3302
|
-
chunks?: RegExp | "async" | "
|
|
3745
|
+
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
3303
3746
|
minSize?: number | undefined;
|
|
3304
3747
|
maxSize?: number | undefined;
|
|
3305
3748
|
maxAsyncSize?: number | undefined;
|
|
@@ -3332,7 +3775,7 @@ declare const optimization: z.ZodObject<{
|
|
|
3332
3775
|
minimizer?: (false | "" | 0 | RspackPluginInstance | "..." | RspackPluginFunction | null | undefined)[] | undefined;
|
|
3333
3776
|
mergeDuplicateChunks?: boolean | undefined;
|
|
3334
3777
|
splitChunks?: false | {
|
|
3335
|
-
chunks?: RegExp | "async" | "
|
|
3778
|
+
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
3336
3779
|
minChunks?: number | undefined;
|
|
3337
3780
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
3338
3781
|
minSize?: number | undefined;
|
|
@@ -3341,7 +3784,7 @@ declare const optimization: z.ZodObject<{
|
|
|
3341
3784
|
maxInitialSize?: number | undefined;
|
|
3342
3785
|
automaticNameDelimiter?: string | undefined;
|
|
3343
3786
|
cacheGroups?: Record<string, false | {
|
|
3344
|
-
chunks?: RegExp | "async" | "
|
|
3787
|
+
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
3345
3788
|
minChunks?: number | undefined;
|
|
3346
3789
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
3347
3790
|
minSize?: number | undefined;
|
|
@@ -3360,7 +3803,7 @@ declare const optimization: z.ZodObject<{
|
|
|
3360
3803
|
maxAsyncRequests?: number | undefined;
|
|
3361
3804
|
maxInitialRequests?: number | undefined;
|
|
3362
3805
|
fallbackCacheGroup?: {
|
|
3363
|
-
chunks?: RegExp | "async" | "
|
|
3806
|
+
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
3364
3807
|
minSize?: number | undefined;
|
|
3365
3808
|
maxSize?: number | undefined;
|
|
3366
3809
|
maxAsyncSize?: number | undefined;
|
|
@@ -3369,7 +3812,7 @@ declare const optimization: z.ZodObject<{
|
|
|
3369
3812
|
} | undefined;
|
|
3370
3813
|
hidePathInfo?: boolean | undefined;
|
|
3371
3814
|
} | undefined;
|
|
3372
|
-
runtimeChunk?: boolean | "
|
|
3815
|
+
runtimeChunk?: boolean | "multiple" | "single" | {
|
|
3373
3816
|
name?: string | ((...args: unknown[]) => string | undefined) | undefined;
|
|
3374
3817
|
} | undefined;
|
|
3375
3818
|
removeAvailableModules?: boolean | undefined;
|
|
@@ -3389,7 +3832,7 @@ declare const optimization: z.ZodObject<{
|
|
|
3389
3832
|
minimizer?: (false | "" | 0 | RspackPluginInstance | "..." | RspackPluginFunction | null | undefined)[] | undefined;
|
|
3390
3833
|
mergeDuplicateChunks?: boolean | undefined;
|
|
3391
3834
|
splitChunks?: false | {
|
|
3392
|
-
chunks?: RegExp | "async" | "
|
|
3835
|
+
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
3393
3836
|
minChunks?: number | undefined;
|
|
3394
3837
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
3395
3838
|
minSize?: number | undefined;
|
|
@@ -3398,7 +3841,7 @@ declare const optimization: z.ZodObject<{
|
|
|
3398
3841
|
maxInitialSize?: number | undefined;
|
|
3399
3842
|
automaticNameDelimiter?: string | undefined;
|
|
3400
3843
|
cacheGroups?: Record<string, false | {
|
|
3401
|
-
chunks?: RegExp | "async" | "
|
|
3844
|
+
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
3402
3845
|
minChunks?: number | undefined;
|
|
3403
3846
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
3404
3847
|
minSize?: number | undefined;
|
|
@@ -3417,7 +3860,7 @@ declare const optimization: z.ZodObject<{
|
|
|
3417
3860
|
maxAsyncRequests?: number | undefined;
|
|
3418
3861
|
maxInitialRequests?: number | undefined;
|
|
3419
3862
|
fallbackCacheGroup?: {
|
|
3420
|
-
chunks?: RegExp | "async" | "
|
|
3863
|
+
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
3421
3864
|
minSize?: number | undefined;
|
|
3422
3865
|
maxSize?: number | undefined;
|
|
3423
3866
|
maxAsyncSize?: number | undefined;
|
|
@@ -3426,7 +3869,7 @@ declare const optimization: z.ZodObject<{
|
|
|
3426
3869
|
} | undefined;
|
|
3427
3870
|
hidePathInfo?: boolean | undefined;
|
|
3428
3871
|
} | undefined;
|
|
3429
|
-
runtimeChunk?: boolean | "
|
|
3872
|
+
runtimeChunk?: boolean | "multiple" | "single" | {
|
|
3430
3873
|
name?: string | ((...args: unknown[]) => string | undefined) | undefined;
|
|
3431
3874
|
} | undefined;
|
|
3432
3875
|
removeAvailableModules?: boolean | undefined;
|
|
@@ -3651,6 +4094,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
3651
4094
|
} | undefined;
|
|
3652
4095
|
umdNamedDefine?: boolean | undefined;
|
|
3653
4096
|
}>>;
|
|
4097
|
+
dependOn: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
3654
4098
|
}, "strict", z.ZodTypeAny, {
|
|
3655
4099
|
import: (string | string[]) & (string | string[] | undefined);
|
|
3656
4100
|
runtime?: string | false | undefined;
|
|
@@ -3677,6 +4121,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
3677
4121
|
} | undefined;
|
|
3678
4122
|
umdNamedDefine?: boolean | undefined;
|
|
3679
4123
|
} | undefined;
|
|
4124
|
+
dependOn?: string | string[] | undefined;
|
|
3680
4125
|
}, {
|
|
3681
4126
|
import: (string | string[]) & (string | string[] | undefined);
|
|
3682
4127
|
runtime?: string | false | undefined;
|
|
@@ -3703,6 +4148,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
3703
4148
|
} | undefined;
|
|
3704
4149
|
umdNamedDefine?: boolean | undefined;
|
|
3705
4150
|
} | undefined;
|
|
4151
|
+
dependOn?: string | string[] | undefined;
|
|
3706
4152
|
}>]>>, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>]>, z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
|
|
3707
4153
|
import: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
|
3708
4154
|
runtime: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodString]>>;
|
|
@@ -3779,6 +4225,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
3779
4225
|
} | undefined;
|
|
3780
4226
|
umdNamedDefine?: boolean | undefined;
|
|
3781
4227
|
}>>;
|
|
4228
|
+
dependOn: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
3782
4229
|
}, "strict", z.ZodTypeAny, {
|
|
3783
4230
|
import: (string | string[]) & (string | string[] | undefined);
|
|
3784
4231
|
runtime?: string | false | undefined;
|
|
@@ -3805,6 +4252,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
3805
4252
|
} | undefined;
|
|
3806
4253
|
umdNamedDefine?: boolean | undefined;
|
|
3807
4254
|
} | undefined;
|
|
4255
|
+
dependOn?: string | string[] | undefined;
|
|
3808
4256
|
}, {
|
|
3809
4257
|
import: (string | string[]) & (string | string[] | undefined);
|
|
3810
4258
|
runtime?: string | false | undefined;
|
|
@@ -3831,6 +4279,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
3831
4279
|
} | undefined;
|
|
3832
4280
|
umdNamedDefine?: boolean | undefined;
|
|
3833
4281
|
} | undefined;
|
|
4282
|
+
dependOn?: string | string[] | undefined;
|
|
3834
4283
|
}>]>>, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>]>>]>>;
|
|
3835
4284
|
output: z.ZodOptional<z.ZodObject<{
|
|
3836
4285
|
path: z.ZodOptional<z.ZodString>;
|
|
@@ -4372,7 +4821,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
4372
4821
|
optimizationBailout: z.ZodOptional<z.ZodBoolean>;
|
|
4373
4822
|
}, "strict", z.ZodTypeAny, {
|
|
4374
4823
|
all?: boolean | undefined;
|
|
4375
|
-
preset?: "
|
|
4824
|
+
preset?: "none" | "normal" | "verbose" | "errors-only" | "errors-warnings" | undefined;
|
|
4376
4825
|
assets?: boolean | undefined;
|
|
4377
4826
|
chunks?: boolean | undefined;
|
|
4378
4827
|
modules?: boolean | undefined;
|
|
@@ -4407,7 +4856,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
4407
4856
|
optimizationBailout?: boolean | undefined;
|
|
4408
4857
|
}, {
|
|
4409
4858
|
all?: boolean | undefined;
|
|
4410
|
-
preset?: "
|
|
4859
|
+
preset?: "none" | "normal" | "verbose" | "errors-only" | "errors-warnings" | undefined;
|
|
4411
4860
|
assets?: boolean | undefined;
|
|
4412
4861
|
chunks?: boolean | undefined;
|
|
4413
4862
|
modules?: boolean | undefined;
|
|
@@ -4513,7 +4962,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
4513
4962
|
type: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>>;
|
|
4514
4963
|
idHint: z.ZodOptional<z.ZodString>;
|
|
4515
4964
|
}, "strict", z.ZodTypeAny, {
|
|
4516
|
-
chunks?: RegExp | "async" | "
|
|
4965
|
+
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
4517
4966
|
minChunks?: number | undefined;
|
|
4518
4967
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
4519
4968
|
minSize?: number | undefined;
|
|
@@ -4529,7 +4978,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
4529
4978
|
type?: string | RegExp | undefined;
|
|
4530
4979
|
idHint?: string | undefined;
|
|
4531
4980
|
}, {
|
|
4532
|
-
chunks?: RegExp | "async" | "
|
|
4981
|
+
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
4533
4982
|
minChunks?: number | undefined;
|
|
4534
4983
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
4535
4984
|
minSize?: number | undefined;
|
|
@@ -4555,14 +5004,14 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
4555
5004
|
maxInitialSize: z.ZodOptional<z.ZodNumber>;
|
|
4556
5005
|
automaticNameDelimiter: z.ZodOptional<z.ZodString>;
|
|
4557
5006
|
}, "strict", z.ZodTypeAny, {
|
|
4558
|
-
chunks?: RegExp | "async" | "
|
|
5007
|
+
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
4559
5008
|
minSize?: number | undefined;
|
|
4560
5009
|
maxSize?: number | undefined;
|
|
4561
5010
|
maxAsyncSize?: number | undefined;
|
|
4562
5011
|
maxInitialSize?: number | undefined;
|
|
4563
5012
|
automaticNameDelimiter?: string | undefined;
|
|
4564
5013
|
}, {
|
|
4565
|
-
chunks?: RegExp | "async" | "
|
|
5014
|
+
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
4566
5015
|
minSize?: number | undefined;
|
|
4567
5016
|
maxSize?: number | undefined;
|
|
4568
5017
|
maxAsyncSize?: number | undefined;
|
|
@@ -4571,7 +5020,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
4571
5020
|
}>>;
|
|
4572
5021
|
hidePathInfo: z.ZodOptional<z.ZodBoolean>;
|
|
4573
5022
|
}, "strict", z.ZodTypeAny, {
|
|
4574
|
-
chunks?: RegExp | "async" | "
|
|
5023
|
+
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
4575
5024
|
minChunks?: number | undefined;
|
|
4576
5025
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
4577
5026
|
minSize?: number | undefined;
|
|
@@ -4580,7 +5029,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
4580
5029
|
maxInitialSize?: number | undefined;
|
|
4581
5030
|
automaticNameDelimiter?: string | undefined;
|
|
4582
5031
|
cacheGroups?: Record<string, false | {
|
|
4583
|
-
chunks?: RegExp | "async" | "
|
|
5032
|
+
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
4584
5033
|
minChunks?: number | undefined;
|
|
4585
5034
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
4586
5035
|
minSize?: number | undefined;
|
|
@@ -4599,7 +5048,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
4599
5048
|
maxAsyncRequests?: number | undefined;
|
|
4600
5049
|
maxInitialRequests?: number | undefined;
|
|
4601
5050
|
fallbackCacheGroup?: {
|
|
4602
|
-
chunks?: RegExp | "async" | "
|
|
5051
|
+
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
4603
5052
|
minSize?: number | undefined;
|
|
4604
5053
|
maxSize?: number | undefined;
|
|
4605
5054
|
maxAsyncSize?: number | undefined;
|
|
@@ -4608,7 +5057,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
4608
5057
|
} | undefined;
|
|
4609
5058
|
hidePathInfo?: boolean | undefined;
|
|
4610
5059
|
}, {
|
|
4611
|
-
chunks?: RegExp | "async" | "
|
|
5060
|
+
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
4612
5061
|
minChunks?: number | undefined;
|
|
4613
5062
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
4614
5063
|
minSize?: number | undefined;
|
|
@@ -4617,7 +5066,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
4617
5066
|
maxInitialSize?: number | undefined;
|
|
4618
5067
|
automaticNameDelimiter?: string | undefined;
|
|
4619
5068
|
cacheGroups?: Record<string, false | {
|
|
4620
|
-
chunks?: RegExp | "async" | "
|
|
5069
|
+
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
4621
5070
|
minChunks?: number | undefined;
|
|
4622
5071
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
4623
5072
|
minSize?: number | undefined;
|
|
@@ -4636,7 +5085,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
4636
5085
|
maxAsyncRequests?: number | undefined;
|
|
4637
5086
|
maxInitialRequests?: number | undefined;
|
|
4638
5087
|
fallbackCacheGroup?: {
|
|
4639
|
-
chunks?: RegExp | "async" | "
|
|
5088
|
+
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
4640
5089
|
minSize?: number | undefined;
|
|
4641
5090
|
maxSize?: number | undefined;
|
|
4642
5091
|
maxAsyncSize?: number | undefined;
|
|
@@ -4669,7 +5118,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
4669
5118
|
minimizer?: (false | "" | 0 | RspackPluginInstance | "..." | RspackPluginFunction | null | undefined)[] | undefined;
|
|
4670
5119
|
mergeDuplicateChunks?: boolean | undefined;
|
|
4671
5120
|
splitChunks?: false | {
|
|
4672
|
-
chunks?: RegExp | "async" | "
|
|
5121
|
+
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
4673
5122
|
minChunks?: number | undefined;
|
|
4674
5123
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
4675
5124
|
minSize?: number | undefined;
|
|
@@ -4678,7 +5127,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
4678
5127
|
maxInitialSize?: number | undefined;
|
|
4679
5128
|
automaticNameDelimiter?: string | undefined;
|
|
4680
5129
|
cacheGroups?: Record<string, false | {
|
|
4681
|
-
chunks?: RegExp | "async" | "
|
|
5130
|
+
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
4682
5131
|
minChunks?: number | undefined;
|
|
4683
5132
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
4684
5133
|
minSize?: number | undefined;
|
|
@@ -4697,7 +5146,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
4697
5146
|
maxAsyncRequests?: number | undefined;
|
|
4698
5147
|
maxInitialRequests?: number | undefined;
|
|
4699
5148
|
fallbackCacheGroup?: {
|
|
4700
|
-
chunks?: RegExp | "async" | "
|
|
5149
|
+
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
4701
5150
|
minSize?: number | undefined;
|
|
4702
5151
|
maxSize?: number | undefined;
|
|
4703
5152
|
maxAsyncSize?: number | undefined;
|
|
@@ -4706,7 +5155,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
4706
5155
|
} | undefined;
|
|
4707
5156
|
hidePathInfo?: boolean | undefined;
|
|
4708
5157
|
} | undefined;
|
|
4709
|
-
runtimeChunk?: boolean | "
|
|
5158
|
+
runtimeChunk?: boolean | "multiple" | "single" | {
|
|
4710
5159
|
name?: string | ((...args: unknown[]) => string | undefined) | undefined;
|
|
4711
5160
|
} | undefined;
|
|
4712
5161
|
removeAvailableModules?: boolean | undefined;
|
|
@@ -4726,7 +5175,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
4726
5175
|
minimizer?: (false | "" | 0 | RspackPluginInstance | "..." | RspackPluginFunction | null | undefined)[] | undefined;
|
|
4727
5176
|
mergeDuplicateChunks?: boolean | undefined;
|
|
4728
5177
|
splitChunks?: false | {
|
|
4729
|
-
chunks?: RegExp | "async" | "
|
|
5178
|
+
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
4730
5179
|
minChunks?: number | undefined;
|
|
4731
5180
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
4732
5181
|
minSize?: number | undefined;
|
|
@@ -4735,7 +5184,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
4735
5184
|
maxInitialSize?: number | undefined;
|
|
4736
5185
|
automaticNameDelimiter?: string | undefined;
|
|
4737
5186
|
cacheGroups?: Record<string, false | {
|
|
4738
|
-
chunks?: RegExp | "async" | "
|
|
5187
|
+
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
4739
5188
|
minChunks?: number | undefined;
|
|
4740
5189
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
4741
5190
|
minSize?: number | undefined;
|
|
@@ -4754,7 +5203,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
4754
5203
|
maxAsyncRequests?: number | undefined;
|
|
4755
5204
|
maxInitialRequests?: number | undefined;
|
|
4756
5205
|
fallbackCacheGroup?: {
|
|
4757
|
-
chunks?: RegExp | "async" | "
|
|
5206
|
+
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
4758
5207
|
minSize?: number | undefined;
|
|
4759
5208
|
maxSize?: number | undefined;
|
|
4760
5209
|
maxAsyncSize?: number | undefined;
|
|
@@ -4763,7 +5212,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
4763
5212
|
} | undefined;
|
|
4764
5213
|
hidePathInfo?: boolean | undefined;
|
|
4765
5214
|
} | undefined;
|
|
4766
|
-
runtimeChunk?: boolean | "
|
|
5215
|
+
runtimeChunk?: boolean | "multiple" | "single" | {
|
|
4767
5216
|
name?: string | ((...args: unknown[]) => string | undefined) | undefined;
|
|
4768
5217
|
} | undefined;
|
|
4769
5218
|
removeAvailableModules?: boolean | undefined;
|
|
@@ -4803,6 +5252,27 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
4803
5252
|
maxSize?: number | undefined;
|
|
4804
5253
|
} | undefined;
|
|
4805
5254
|
}>>;
|
|
5255
|
+
css: z.ZodOptional<z.ZodObject<{
|
|
5256
|
+
namedExports: z.ZodOptional<z.ZodBoolean>;
|
|
5257
|
+
}, "strict", z.ZodTypeAny, {
|
|
5258
|
+
namedExports?: boolean | undefined;
|
|
5259
|
+
}, {
|
|
5260
|
+
namedExports?: boolean | undefined;
|
|
5261
|
+
}>>;
|
|
5262
|
+
"css/auto": z.ZodOptional<z.ZodObject<{
|
|
5263
|
+
namedExports: z.ZodOptional<z.ZodBoolean>;
|
|
5264
|
+
}, "strict", z.ZodTypeAny, {
|
|
5265
|
+
namedExports?: boolean | undefined;
|
|
5266
|
+
}, {
|
|
5267
|
+
namedExports?: boolean | undefined;
|
|
5268
|
+
}>>;
|
|
5269
|
+
"css/module": z.ZodOptional<z.ZodObject<{
|
|
5270
|
+
namedExports: z.ZodOptional<z.ZodBoolean>;
|
|
5271
|
+
}, "strict", z.ZodTypeAny, {
|
|
5272
|
+
namedExports?: boolean | undefined;
|
|
5273
|
+
}, {
|
|
5274
|
+
namedExports?: boolean | undefined;
|
|
5275
|
+
}>>;
|
|
4806
5276
|
javascript: z.ZodOptional<z.ZodObject<{
|
|
4807
5277
|
dynamicImportMode: z.ZodOptional<z.ZodEnum<["eager", "lazy"]>>;
|
|
4808
5278
|
dynamicImportPreload: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodNumber]>>;
|
|
@@ -4825,6 +5295,15 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
4825
5295
|
maxSize?: number | undefined;
|
|
4826
5296
|
} | undefined;
|
|
4827
5297
|
} | undefined;
|
|
5298
|
+
css?: {
|
|
5299
|
+
namedExports?: boolean | undefined;
|
|
5300
|
+
} | undefined;
|
|
5301
|
+
"css/auto"?: {
|
|
5302
|
+
namedExports?: boolean | undefined;
|
|
5303
|
+
} | undefined;
|
|
5304
|
+
"css/module"?: {
|
|
5305
|
+
namedExports?: boolean | undefined;
|
|
5306
|
+
} | undefined;
|
|
4828
5307
|
javascript?: {
|
|
4829
5308
|
dynamicImportMode?: "eager" | "lazy" | undefined;
|
|
4830
5309
|
dynamicImportPreload?: number | boolean | undefined;
|
|
@@ -4837,6 +5316,15 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
4837
5316
|
maxSize?: number | undefined;
|
|
4838
5317
|
} | undefined;
|
|
4839
5318
|
} | undefined;
|
|
5319
|
+
css?: {
|
|
5320
|
+
namedExports?: boolean | undefined;
|
|
5321
|
+
} | undefined;
|
|
5322
|
+
"css/auto"?: {
|
|
5323
|
+
namedExports?: boolean | undefined;
|
|
5324
|
+
} | undefined;
|
|
5325
|
+
"css/module"?: {
|
|
5326
|
+
namedExports?: boolean | undefined;
|
|
5327
|
+
} | undefined;
|
|
4840
5328
|
javascript?: {
|
|
4841
5329
|
dynamicImportMode?: "eager" | "lazy" | undefined;
|
|
4842
5330
|
dynamicImportPreload?: number | boolean | undefined;
|
|
@@ -4935,6 +5423,42 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
4935
5423
|
filename?: string | undefined;
|
|
4936
5424
|
publicPath?: string | undefined;
|
|
4937
5425
|
}>>;
|
|
5426
|
+
css: z.ZodOptional<z.ZodObject<{
|
|
5427
|
+
exportsConvention: z.ZodOptional<z.ZodEnum<["as-is", "camel-case", "camel-case-only", "dashes", "dashes-only"]>>;
|
|
5428
|
+
exportsOnly: z.ZodOptional<z.ZodBoolean>;
|
|
5429
|
+
}, "strict", z.ZodTypeAny, {
|
|
5430
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
5431
|
+
exportsOnly?: boolean | undefined;
|
|
5432
|
+
}, {
|
|
5433
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
5434
|
+
exportsOnly?: boolean | undefined;
|
|
5435
|
+
}>>;
|
|
5436
|
+
"css/auto": z.ZodOptional<z.ZodObject<{
|
|
5437
|
+
exportsConvention: z.ZodOptional<z.ZodEnum<["as-is", "camel-case", "camel-case-only", "dashes", "dashes-only"]>>;
|
|
5438
|
+
exportsOnly: z.ZodOptional<z.ZodBoolean>;
|
|
5439
|
+
localIdentName: z.ZodOptional<z.ZodString>;
|
|
5440
|
+
}, "strict", z.ZodTypeAny, {
|
|
5441
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
5442
|
+
exportsOnly?: boolean | undefined;
|
|
5443
|
+
localIdentName?: string | undefined;
|
|
5444
|
+
}, {
|
|
5445
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
5446
|
+
exportsOnly?: boolean | undefined;
|
|
5447
|
+
localIdentName?: string | undefined;
|
|
5448
|
+
}>>;
|
|
5449
|
+
"css/module": z.ZodOptional<z.ZodObject<{
|
|
5450
|
+
exportsConvention: z.ZodOptional<z.ZodEnum<["as-is", "camel-case", "camel-case-only", "dashes", "dashes-only"]>>;
|
|
5451
|
+
exportsOnly: z.ZodOptional<z.ZodBoolean>;
|
|
5452
|
+
localIdentName: z.ZodOptional<z.ZodString>;
|
|
5453
|
+
}, "strict", z.ZodTypeAny, {
|
|
5454
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
5455
|
+
exportsOnly?: boolean | undefined;
|
|
5456
|
+
localIdentName?: string | undefined;
|
|
5457
|
+
}, {
|
|
5458
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
5459
|
+
exportsOnly?: boolean | undefined;
|
|
5460
|
+
localIdentName?: string | undefined;
|
|
5461
|
+
}>>;
|
|
4938
5462
|
}, "strict", z.ZodTypeAny, {
|
|
4939
5463
|
asset?: {
|
|
4940
5464
|
dataUrl?: {
|
|
@@ -4960,6 +5484,20 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
4960
5484
|
filename?: string | undefined;
|
|
4961
5485
|
publicPath?: string | undefined;
|
|
4962
5486
|
} | undefined;
|
|
5487
|
+
css?: {
|
|
5488
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
5489
|
+
exportsOnly?: boolean | undefined;
|
|
5490
|
+
} | undefined;
|
|
5491
|
+
"css/auto"?: {
|
|
5492
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
5493
|
+
exportsOnly?: boolean | undefined;
|
|
5494
|
+
localIdentName?: string | undefined;
|
|
5495
|
+
} | undefined;
|
|
5496
|
+
"css/module"?: {
|
|
5497
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
5498
|
+
exportsOnly?: boolean | undefined;
|
|
5499
|
+
localIdentName?: string | undefined;
|
|
5500
|
+
} | undefined;
|
|
4963
5501
|
}, {
|
|
4964
5502
|
asset?: {
|
|
4965
5503
|
dataUrl?: {
|
|
@@ -4985,6 +5523,20 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
4985
5523
|
filename?: string | undefined;
|
|
4986
5524
|
publicPath?: string | undefined;
|
|
4987
5525
|
} | undefined;
|
|
5526
|
+
css?: {
|
|
5527
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
5528
|
+
exportsOnly?: boolean | undefined;
|
|
5529
|
+
} | undefined;
|
|
5530
|
+
"css/auto"?: {
|
|
5531
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
5532
|
+
exportsOnly?: boolean | undefined;
|
|
5533
|
+
localIdentName?: string | undefined;
|
|
5534
|
+
} | undefined;
|
|
5535
|
+
"css/module"?: {
|
|
5536
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
5537
|
+
exportsOnly?: boolean | undefined;
|
|
5538
|
+
localIdentName?: string | undefined;
|
|
5539
|
+
} | undefined;
|
|
4988
5540
|
}>, z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>>]>>;
|
|
4989
5541
|
noParse: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>, z.ZodFunction<z.ZodTuple<[z.ZodString], z.ZodUnknown>, z.ZodBoolean>]>, z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>, z.ZodFunction<z.ZodTuple<[z.ZodString], z.ZodUnknown>, z.ZodBoolean>]>, "many">]>>;
|
|
4990
5542
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -4996,6 +5548,15 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
4996
5548
|
maxSize?: number | undefined;
|
|
4997
5549
|
} | undefined;
|
|
4998
5550
|
} | undefined;
|
|
5551
|
+
css?: {
|
|
5552
|
+
namedExports?: boolean | undefined;
|
|
5553
|
+
} | undefined;
|
|
5554
|
+
"css/auto"?: {
|
|
5555
|
+
namedExports?: boolean | undefined;
|
|
5556
|
+
} | undefined;
|
|
5557
|
+
"css/module"?: {
|
|
5558
|
+
namedExports?: boolean | undefined;
|
|
5559
|
+
} | undefined;
|
|
4999
5560
|
javascript?: {
|
|
5000
5561
|
dynamicImportMode?: "eager" | "lazy" | undefined;
|
|
5001
5562
|
dynamicImportPreload?: number | boolean | undefined;
|
|
@@ -5028,6 +5589,20 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5028
5589
|
filename?: string | undefined;
|
|
5029
5590
|
publicPath?: string | undefined;
|
|
5030
5591
|
} | undefined;
|
|
5592
|
+
css?: {
|
|
5593
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
5594
|
+
exportsOnly?: boolean | undefined;
|
|
5595
|
+
} | undefined;
|
|
5596
|
+
"css/auto"?: {
|
|
5597
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
5598
|
+
exportsOnly?: boolean | undefined;
|
|
5599
|
+
localIdentName?: string | undefined;
|
|
5600
|
+
} | undefined;
|
|
5601
|
+
"css/module"?: {
|
|
5602
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
5603
|
+
exportsOnly?: boolean | undefined;
|
|
5604
|
+
localIdentName?: string | undefined;
|
|
5605
|
+
} | undefined;
|
|
5031
5606
|
} | undefined;
|
|
5032
5607
|
noParse?: string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
|
|
5033
5608
|
}, {
|
|
@@ -5039,6 +5614,15 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5039
5614
|
maxSize?: number | undefined;
|
|
5040
5615
|
} | undefined;
|
|
5041
5616
|
} | undefined;
|
|
5617
|
+
css?: {
|
|
5618
|
+
namedExports?: boolean | undefined;
|
|
5619
|
+
} | undefined;
|
|
5620
|
+
"css/auto"?: {
|
|
5621
|
+
namedExports?: boolean | undefined;
|
|
5622
|
+
} | undefined;
|
|
5623
|
+
"css/module"?: {
|
|
5624
|
+
namedExports?: boolean | undefined;
|
|
5625
|
+
} | undefined;
|
|
5042
5626
|
javascript?: {
|
|
5043
5627
|
dynamicImportMode?: "eager" | "lazy" | undefined;
|
|
5044
5628
|
dynamicImportPreload?: number | boolean | undefined;
|
|
@@ -5071,6 +5655,20 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5071
5655
|
filename?: string | undefined;
|
|
5072
5656
|
publicPath?: string | undefined;
|
|
5073
5657
|
} | undefined;
|
|
5658
|
+
css?: {
|
|
5659
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
5660
|
+
exportsOnly?: boolean | undefined;
|
|
5661
|
+
} | undefined;
|
|
5662
|
+
"css/auto"?: {
|
|
5663
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
5664
|
+
exportsOnly?: boolean | undefined;
|
|
5665
|
+
localIdentName?: string | undefined;
|
|
5666
|
+
} | undefined;
|
|
5667
|
+
"css/module"?: {
|
|
5668
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
5669
|
+
exportsOnly?: boolean | undefined;
|
|
5670
|
+
localIdentName?: string | undefined;
|
|
5671
|
+
} | undefined;
|
|
5074
5672
|
} | undefined;
|
|
5075
5673
|
noParse?: string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
|
|
5076
5674
|
}>>;
|
|
@@ -5105,6 +5703,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5105
5703
|
} | undefined;
|
|
5106
5704
|
umdNamedDefine?: boolean | undefined;
|
|
5107
5705
|
} | undefined;
|
|
5706
|
+
dependOn?: string | string[] | undefined;
|
|
5108
5707
|
}> | ((...args: unknown[]) => string | string[] | Record<string, string | string[] | {
|
|
5109
5708
|
import: (string | string[]) & (string | string[] | undefined);
|
|
5110
5709
|
runtime?: string | false | undefined;
|
|
@@ -5131,6 +5730,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5131
5730
|
} | undefined;
|
|
5132
5731
|
umdNamedDefine?: boolean | undefined;
|
|
5133
5732
|
} | undefined;
|
|
5733
|
+
dependOn?: string | string[] | undefined;
|
|
5134
5734
|
}>) | undefined;
|
|
5135
5735
|
output?: {
|
|
5136
5736
|
path?: string | undefined;
|
|
@@ -5208,8 +5808,8 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5208
5808
|
devtoolModuleFilenameTemplate?: string | ((args_0: any) => any) | undefined;
|
|
5209
5809
|
devtoolFallbackModuleFilenameTemplate?: string | ((args_0: any) => any) | undefined;
|
|
5210
5810
|
} | undefined;
|
|
5211
|
-
target?: false | "
|
|
5212
|
-
mode?: "
|
|
5811
|
+
target?: false | "node" | "async-node" | "web" | "webworker" | "es3" | "es5" | "es2015" | "es2016" | "es2017" | "es2018" | "es2019" | "es2020" | "es2021" | "es2022" | "browserslist" | `node${number}` | `async-node${number}` | `node${number}.${number}` | `async-node${number}.${number}` | "electron-main" | `electron${number}-main` | `electron${number}.${number}-main` | "electron-renderer" | `electron${number}-renderer` | `electron${number}.${number}-renderer` | "electron-preload" | `electron${number}-preload` | `electron${number}.${number}-preload` | ("node" | "async-node" | "web" | "webworker" | "es3" | "es5" | "es2015" | "es2016" | "es2017" | "es2018" | "es2019" | "es2020" | "es2021" | "es2022" | "browserslist" | `node${number}` | `async-node${number}` | `node${number}.${number}` | `async-node${number}.${number}` | "electron-main" | `electron${number}-main` | `electron${number}.${number}-main` | "electron-renderer" | `electron${number}-renderer` | `electron${number}.${number}-renderer` | "electron-preload" | `electron${number}-preload` | `electron${number}.${number}-preload`)[] | undefined;
|
|
5812
|
+
mode?: "production" | "development" | "none" | undefined;
|
|
5213
5813
|
experiments?: {
|
|
5214
5814
|
lazyCompilation?: boolean | undefined;
|
|
5215
5815
|
asyncWebAssembly?: boolean | undefined;
|
|
@@ -5231,7 +5831,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5231
5831
|
context?: string | undefined;
|
|
5232
5832
|
dependencyType?: string | undefined;
|
|
5233
5833
|
request?: string | undefined;
|
|
5234
|
-
}, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | Record<string, string | string[]> | undefined, args_2: "promise" | "
|
|
5834
|
+
}, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | Record<string, string | string[]> | undefined, args_2: "module" | "promise" | "script" | "commonjs" | "jsonp" | "import" | "amd" | "commonjs2" | "var" | "assign" | "this" | "window" | "self" | "global" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd" | "umd2" | "system" | "node-commonjs" | undefined, ...args_3: unknown[]) => void, ...args_2: unknown[]) => unknown) | ((args_0: {
|
|
5235
5835
|
context?: string | undefined;
|
|
5236
5836
|
dependencyType?: string | undefined;
|
|
5237
5837
|
request?: string | undefined;
|
|
@@ -5239,12 +5839,12 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5239
5839
|
context?: string | undefined;
|
|
5240
5840
|
dependencyType?: string | undefined;
|
|
5241
5841
|
request?: string | undefined;
|
|
5242
|
-
}, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | Record<string, string | string[]> | undefined, args_2: "promise" | "
|
|
5842
|
+
}, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | Record<string, string | string[]> | undefined, args_2: "module" | "promise" | "script" | "commonjs" | "jsonp" | "import" | "amd" | "commonjs2" | "var" | "assign" | "this" | "window" | "self" | "global" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd" | "umd2" | "system" | "node-commonjs" | undefined, ...args_3: unknown[]) => void, ...args_2: unknown[]) => unknown) | ((args_0: {
|
|
5243
5843
|
context?: string | undefined;
|
|
5244
5844
|
dependencyType?: string | undefined;
|
|
5245
5845
|
request?: string | undefined;
|
|
5246
5846
|
}, ...args_1: unknown[]) => Promise<string | boolean | string[] | Record<string, string | string[]>>))[] | undefined;
|
|
5247
|
-
externalsType?: "promise" | "
|
|
5847
|
+
externalsType?: "module" | "promise" | "script" | "commonjs" | "jsonp" | "import" | "amd" | "commonjs2" | "var" | "assign" | "this" | "window" | "self" | "global" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd" | "umd2" | "system" | "node-commonjs" | undefined;
|
|
5248
5848
|
externalsPresets?: {
|
|
5249
5849
|
node?: boolean | undefined;
|
|
5250
5850
|
web?: boolean | undefined;
|
|
@@ -5279,9 +5879,9 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5279
5879
|
stdin?: boolean | undefined;
|
|
5280
5880
|
} | undefined;
|
|
5281
5881
|
watch?: boolean | undefined;
|
|
5282
|
-
stats?: boolean | "
|
|
5882
|
+
stats?: boolean | "none" | "normal" | "verbose" | "errors-only" | "errors-warnings" | {
|
|
5283
5883
|
all?: boolean | undefined;
|
|
5284
|
-
preset?: "
|
|
5884
|
+
preset?: "none" | "normal" | "verbose" | "errors-only" | "errors-warnings" | undefined;
|
|
5285
5885
|
assets?: boolean | undefined;
|
|
5286
5886
|
chunks?: boolean | undefined;
|
|
5287
5887
|
modules?: boolean | undefined;
|
|
@@ -5332,7 +5932,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5332
5932
|
minimizer?: (false | "" | 0 | RspackPluginInstance | "..." | RspackPluginFunction | null | undefined)[] | undefined;
|
|
5333
5933
|
mergeDuplicateChunks?: boolean | undefined;
|
|
5334
5934
|
splitChunks?: false | {
|
|
5335
|
-
chunks?: RegExp | "async" | "
|
|
5935
|
+
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
5336
5936
|
minChunks?: number | undefined;
|
|
5337
5937
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
5338
5938
|
minSize?: number | undefined;
|
|
@@ -5341,7 +5941,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5341
5941
|
maxInitialSize?: number | undefined;
|
|
5342
5942
|
automaticNameDelimiter?: string | undefined;
|
|
5343
5943
|
cacheGroups?: Record<string, false | {
|
|
5344
|
-
chunks?: RegExp | "async" | "
|
|
5944
|
+
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
5345
5945
|
minChunks?: number | undefined;
|
|
5346
5946
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
5347
5947
|
minSize?: number | undefined;
|
|
@@ -5360,7 +5960,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5360
5960
|
maxAsyncRequests?: number | undefined;
|
|
5361
5961
|
maxInitialRequests?: number | undefined;
|
|
5362
5962
|
fallbackCacheGroup?: {
|
|
5363
|
-
chunks?: RegExp | "async" | "
|
|
5963
|
+
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
5364
5964
|
minSize?: number | undefined;
|
|
5365
5965
|
maxSize?: number | undefined;
|
|
5366
5966
|
maxAsyncSize?: number | undefined;
|
|
@@ -5369,7 +5969,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5369
5969
|
} | undefined;
|
|
5370
5970
|
hidePathInfo?: boolean | undefined;
|
|
5371
5971
|
} | undefined;
|
|
5372
|
-
runtimeChunk?: boolean | "
|
|
5972
|
+
runtimeChunk?: boolean | "multiple" | "single" | {
|
|
5373
5973
|
name?: string | ((...args: unknown[]) => string | undefined) | undefined;
|
|
5374
5974
|
} | undefined;
|
|
5375
5975
|
removeAvailableModules?: boolean | undefined;
|
|
@@ -5397,6 +5997,15 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5397
5997
|
maxSize?: number | undefined;
|
|
5398
5998
|
} | undefined;
|
|
5399
5999
|
} | undefined;
|
|
6000
|
+
css?: {
|
|
6001
|
+
namedExports?: boolean | undefined;
|
|
6002
|
+
} | undefined;
|
|
6003
|
+
"css/auto"?: {
|
|
6004
|
+
namedExports?: boolean | undefined;
|
|
6005
|
+
} | undefined;
|
|
6006
|
+
"css/module"?: {
|
|
6007
|
+
namedExports?: boolean | undefined;
|
|
6008
|
+
} | undefined;
|
|
5400
6009
|
javascript?: {
|
|
5401
6010
|
dynamicImportMode?: "eager" | "lazy" | undefined;
|
|
5402
6011
|
dynamicImportPreload?: number | boolean | undefined;
|
|
@@ -5429,6 +6038,20 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5429
6038
|
filename?: string | undefined;
|
|
5430
6039
|
publicPath?: string | undefined;
|
|
5431
6040
|
} | undefined;
|
|
6041
|
+
css?: {
|
|
6042
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
6043
|
+
exportsOnly?: boolean | undefined;
|
|
6044
|
+
} | undefined;
|
|
6045
|
+
"css/auto"?: {
|
|
6046
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
6047
|
+
exportsOnly?: boolean | undefined;
|
|
6048
|
+
localIdentName?: string | undefined;
|
|
6049
|
+
} | undefined;
|
|
6050
|
+
"css/module"?: {
|
|
6051
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
6052
|
+
exportsOnly?: boolean | undefined;
|
|
6053
|
+
localIdentName?: string | undefined;
|
|
6054
|
+
} | undefined;
|
|
5432
6055
|
} | undefined;
|
|
5433
6056
|
noParse?: string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
|
|
5434
6057
|
} | undefined;
|
|
@@ -5463,6 +6086,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5463
6086
|
} | undefined;
|
|
5464
6087
|
umdNamedDefine?: boolean | undefined;
|
|
5465
6088
|
} | undefined;
|
|
6089
|
+
dependOn?: string | string[] | undefined;
|
|
5466
6090
|
}> | ((...args: unknown[]) => string | string[] | Record<string, string | string[] | {
|
|
5467
6091
|
import: (string | string[]) & (string | string[] | undefined);
|
|
5468
6092
|
runtime?: string | false | undefined;
|
|
@@ -5489,6 +6113,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5489
6113
|
} | undefined;
|
|
5490
6114
|
umdNamedDefine?: boolean | undefined;
|
|
5491
6115
|
} | undefined;
|
|
6116
|
+
dependOn?: string | string[] | undefined;
|
|
5492
6117
|
}>) | undefined;
|
|
5493
6118
|
output?: {
|
|
5494
6119
|
path?: string | undefined;
|
|
@@ -5566,8 +6191,8 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5566
6191
|
devtoolModuleFilenameTemplate?: string | ((args_0: any) => any) | undefined;
|
|
5567
6192
|
devtoolFallbackModuleFilenameTemplate?: string | ((args_0: any) => any) | undefined;
|
|
5568
6193
|
} | undefined;
|
|
5569
|
-
target?: false | "
|
|
5570
|
-
mode?: "
|
|
6194
|
+
target?: false | "node" | "async-node" | "web" | "webworker" | "es3" | "es5" | "es2015" | "es2016" | "es2017" | "es2018" | "es2019" | "es2020" | "es2021" | "es2022" | "browserslist" | `node${number}` | `async-node${number}` | `node${number}.${number}` | `async-node${number}.${number}` | "electron-main" | `electron${number}-main` | `electron${number}.${number}-main` | "electron-renderer" | `electron${number}-renderer` | `electron${number}.${number}-renderer` | "electron-preload" | `electron${number}-preload` | `electron${number}.${number}-preload` | ("node" | "async-node" | "web" | "webworker" | "es3" | "es5" | "es2015" | "es2016" | "es2017" | "es2018" | "es2019" | "es2020" | "es2021" | "es2022" | "browserslist" | `node${number}` | `async-node${number}` | `node${number}.${number}` | `async-node${number}.${number}` | "electron-main" | `electron${number}-main` | `electron${number}.${number}-main` | "electron-renderer" | `electron${number}-renderer` | `electron${number}.${number}-renderer` | "electron-preload" | `electron${number}-preload` | `electron${number}.${number}-preload`)[] | undefined;
|
|
6195
|
+
mode?: "production" | "development" | "none" | undefined;
|
|
5571
6196
|
experiments?: {
|
|
5572
6197
|
lazyCompilation?: boolean | undefined;
|
|
5573
6198
|
asyncWebAssembly?: boolean | undefined;
|
|
@@ -5589,7 +6214,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5589
6214
|
context?: string | undefined;
|
|
5590
6215
|
dependencyType?: string | undefined;
|
|
5591
6216
|
request?: string | undefined;
|
|
5592
|
-
}, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | Record<string, string | string[]> | undefined, args_2: "promise" | "
|
|
6217
|
+
}, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | Record<string, string | string[]> | undefined, args_2: "module" | "promise" | "script" | "commonjs" | "jsonp" | "import" | "amd" | "commonjs2" | "var" | "assign" | "this" | "window" | "self" | "global" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd" | "umd2" | "system" | "node-commonjs" | undefined, ...args_3: unknown[]) => void, ...args_2: unknown[]) => unknown) | ((args_0: {
|
|
5593
6218
|
context?: string | undefined;
|
|
5594
6219
|
dependencyType?: string | undefined;
|
|
5595
6220
|
request?: string | undefined;
|
|
@@ -5597,12 +6222,12 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5597
6222
|
context?: string | undefined;
|
|
5598
6223
|
dependencyType?: string | undefined;
|
|
5599
6224
|
request?: string | undefined;
|
|
5600
|
-
}, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | Record<string, string | string[]> | undefined, args_2: "promise" | "
|
|
6225
|
+
}, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | Record<string, string | string[]> | undefined, args_2: "module" | "promise" | "script" | "commonjs" | "jsonp" | "import" | "amd" | "commonjs2" | "var" | "assign" | "this" | "window" | "self" | "global" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd" | "umd2" | "system" | "node-commonjs" | undefined, ...args_3: unknown[]) => void, ...args_2: unknown[]) => unknown) | ((args_0: {
|
|
5601
6226
|
context?: string | undefined;
|
|
5602
6227
|
dependencyType?: string | undefined;
|
|
5603
6228
|
request?: string | undefined;
|
|
5604
6229
|
}, ...args_1: unknown[]) => Promise<string | boolean | string[] | Record<string, string | string[]>>))[] | undefined;
|
|
5605
|
-
externalsType?: "promise" | "
|
|
6230
|
+
externalsType?: "module" | "promise" | "script" | "commonjs" | "jsonp" | "import" | "amd" | "commonjs2" | "var" | "assign" | "this" | "window" | "self" | "global" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd" | "umd2" | "system" | "node-commonjs" | undefined;
|
|
5606
6231
|
externalsPresets?: {
|
|
5607
6232
|
node?: boolean | undefined;
|
|
5608
6233
|
web?: boolean | undefined;
|
|
@@ -5637,9 +6262,9 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5637
6262
|
stdin?: boolean | undefined;
|
|
5638
6263
|
} | undefined;
|
|
5639
6264
|
watch?: boolean | undefined;
|
|
5640
|
-
stats?: boolean | "
|
|
6265
|
+
stats?: boolean | "none" | "normal" | "verbose" | "errors-only" | "errors-warnings" | {
|
|
5641
6266
|
all?: boolean | undefined;
|
|
5642
|
-
preset?: "
|
|
6267
|
+
preset?: "none" | "normal" | "verbose" | "errors-only" | "errors-warnings" | undefined;
|
|
5643
6268
|
assets?: boolean | undefined;
|
|
5644
6269
|
chunks?: boolean | undefined;
|
|
5645
6270
|
modules?: boolean | undefined;
|
|
@@ -5690,7 +6315,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5690
6315
|
minimizer?: (false | "" | 0 | RspackPluginInstance | "..." | RspackPluginFunction | null | undefined)[] | undefined;
|
|
5691
6316
|
mergeDuplicateChunks?: boolean | undefined;
|
|
5692
6317
|
splitChunks?: false | {
|
|
5693
|
-
chunks?: RegExp | "async" | "
|
|
6318
|
+
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
5694
6319
|
minChunks?: number | undefined;
|
|
5695
6320
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
5696
6321
|
minSize?: number | undefined;
|
|
@@ -5699,7 +6324,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5699
6324
|
maxInitialSize?: number | undefined;
|
|
5700
6325
|
automaticNameDelimiter?: string | undefined;
|
|
5701
6326
|
cacheGroups?: Record<string, false | {
|
|
5702
|
-
chunks?: RegExp | "async" | "
|
|
6327
|
+
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
5703
6328
|
minChunks?: number | undefined;
|
|
5704
6329
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
5705
6330
|
minSize?: number | undefined;
|
|
@@ -5718,7 +6343,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5718
6343
|
maxAsyncRequests?: number | undefined;
|
|
5719
6344
|
maxInitialRequests?: number | undefined;
|
|
5720
6345
|
fallbackCacheGroup?: {
|
|
5721
|
-
chunks?: RegExp | "async" | "
|
|
6346
|
+
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
5722
6347
|
minSize?: number | undefined;
|
|
5723
6348
|
maxSize?: number | undefined;
|
|
5724
6349
|
maxAsyncSize?: number | undefined;
|
|
@@ -5727,7 +6352,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5727
6352
|
} | undefined;
|
|
5728
6353
|
hidePathInfo?: boolean | undefined;
|
|
5729
6354
|
} | undefined;
|
|
5730
|
-
runtimeChunk?: boolean | "
|
|
6355
|
+
runtimeChunk?: boolean | "multiple" | "single" | {
|
|
5731
6356
|
name?: string | ((...args: unknown[]) => string | undefined) | undefined;
|
|
5732
6357
|
} | undefined;
|
|
5733
6358
|
removeAvailableModules?: boolean | undefined;
|
|
@@ -5755,6 +6380,15 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5755
6380
|
maxSize?: number | undefined;
|
|
5756
6381
|
} | undefined;
|
|
5757
6382
|
} | undefined;
|
|
6383
|
+
css?: {
|
|
6384
|
+
namedExports?: boolean | undefined;
|
|
6385
|
+
} | undefined;
|
|
6386
|
+
"css/auto"?: {
|
|
6387
|
+
namedExports?: boolean | undefined;
|
|
6388
|
+
} | undefined;
|
|
6389
|
+
"css/module"?: {
|
|
6390
|
+
namedExports?: boolean | undefined;
|
|
6391
|
+
} | undefined;
|
|
5758
6392
|
javascript?: {
|
|
5759
6393
|
dynamicImportMode?: "eager" | "lazy" | undefined;
|
|
5760
6394
|
dynamicImportPreload?: number | boolean | undefined;
|
|
@@ -5787,6 +6421,20 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5787
6421
|
filename?: string | undefined;
|
|
5788
6422
|
publicPath?: string | undefined;
|
|
5789
6423
|
} | undefined;
|
|
6424
|
+
css?: {
|
|
6425
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
6426
|
+
exportsOnly?: boolean | undefined;
|
|
6427
|
+
} | undefined;
|
|
6428
|
+
"css/auto"?: {
|
|
6429
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
6430
|
+
exportsOnly?: boolean | undefined;
|
|
6431
|
+
localIdentName?: string | undefined;
|
|
6432
|
+
} | undefined;
|
|
6433
|
+
"css/module"?: {
|
|
6434
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
6435
|
+
exportsOnly?: boolean | undefined;
|
|
6436
|
+
localIdentName?: string | undefined;
|
|
6437
|
+
} | undefined;
|
|
5790
6438
|
} | undefined;
|
|
5791
6439
|
noParse?: string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
|
|
5792
6440
|
} | undefined;
|