@rspack/core 0.5.9 → 0.6.0-canary-77faf73-20240410004447
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 +4 -13
- package/dist/Compilation.js +11 -17
- package/dist/Compiler.d.ts +3 -8
- package/dist/Compiler.js +165 -144
- package/dist/ContextModuleFactory.d.ts +4 -8
- package/dist/ContextModuleFactory.js +26 -3
- package/dist/ExecuteModulePlugin.js +2 -2
- package/dist/Module.d.ts +20 -1
- package/dist/Module.js +1 -0
- package/dist/NormalModuleFactory.d.ts +8 -23
- package/dist/NormalModuleFactory.js +6 -4
- package/dist/Stats.js +2 -2
- package/dist/builtin-plugin/APIPlugin.d.ts +10 -0
- package/dist/builtin-plugin/APIPlugin.js +6 -0
- package/dist/builtin-plugin/CssModulesPlugin.d.ts +10 -0
- package/dist/builtin-plugin/CssModulesPlugin.js +6 -0
- package/dist/builtin-plugin/EntryPlugin.d.ts +1 -0
- package/dist/builtin-plugin/EntryPlugin.js +3 -2
- package/dist/builtin-plugin/ExternalsPlugin.d.ts +2 -2
- package/dist/builtin-plugin/JsLoaderRspackPlugin.js +3 -1
- package/dist/builtin-plugin/SplitChunksPlugin.js +2 -1
- package/dist/builtin-plugin/css-extract/hmr/hotModuleReplacement.d.ts +3 -0
- package/dist/builtin-plugin/css-extract/hmr/hotModuleReplacement.js +222 -0
- package/dist/builtin-plugin/css-extract/hmr/normalize-url.d.ts +2 -0
- package/dist/builtin-plugin/css-extract/hmr/normalize-url.js +38 -0
- package/dist/builtin-plugin/css-extract/index.d.ts +22 -0
- package/dist/builtin-plugin/css-extract/index.js +109 -0
- package/dist/builtin-plugin/css-extract/loader-options.json +32 -0
- package/dist/builtin-plugin/css-extract/loader.d.ts +15 -0
- package/dist/builtin-plugin/css-extract/loader.js +191 -0
- package/dist/builtin-plugin/css-extract/plugin-options.json +79 -0
- package/dist/builtin-plugin/css-extract/utils.d.ts +5 -0
- package/dist/builtin-plugin/css-extract/utils.js +51 -0
- package/dist/builtin-plugin/index.d.ts +4 -6
- package/dist/builtin-plugin/index.js +3 -15
- package/dist/config/adapter.js +58 -8
- package/dist/config/adapterRuleUse.d.ts +2 -2
- package/dist/config/defaults.js +65 -35
- package/dist/config/normalization.d.ts +1 -0
- package/dist/config/normalization.js +9 -1
- package/dist/config/zod.d.ts +706 -23
- package/dist/config/zod.js +47 -4
- package/dist/container/ContainerReferencePlugin.d.ts +1 -1
- package/dist/exports.d.ts +67 -11
- package/dist/exports.js +7 -1
- package/dist/lib/EntryOptionPlugin.js +1 -1
- package/dist/lib/NormalModuleReplacementPlugin.d.ts +19 -0
- package/dist/lib/NormalModuleReplacementPlugin.js +75 -0
- package/dist/lite-tapable/index.d.ts +25 -0
- package/dist/lite-tapable/index.js +70 -1
- package/dist/rspackOptionsApply.d.ts +0 -1
- package/dist/rspackOptionsApply.js +8 -21
- package/dist/util/comparators.d.ts +1 -1
- package/package.json +10 -7
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
|
}>;
|
|
@@ -2739,6 +3182,7 @@ declare const statsOptions: z.ZodObject<{
|
|
|
2739
3182
|
usedExports: z.ZodOptional<z.ZodBoolean>;
|
|
2740
3183
|
providedExports: z.ZodOptional<z.ZodBoolean>;
|
|
2741
3184
|
optimizationBailout: z.ZodOptional<z.ZodBoolean>;
|
|
3185
|
+
orphanModules: z.ZodOptional<z.ZodBoolean>;
|
|
2742
3186
|
}, "strict", z.ZodTypeAny, {
|
|
2743
3187
|
all?: boolean | undefined;
|
|
2744
3188
|
preset?: "none" | "normal" | "verbose" | "errors-only" | "errors-warnings" | undefined;
|
|
@@ -2774,6 +3218,7 @@ declare const statsOptions: z.ZodObject<{
|
|
|
2774
3218
|
usedExports?: boolean | undefined;
|
|
2775
3219
|
providedExports?: boolean | undefined;
|
|
2776
3220
|
optimizationBailout?: boolean | undefined;
|
|
3221
|
+
orphanModules?: boolean | undefined;
|
|
2777
3222
|
}, {
|
|
2778
3223
|
all?: boolean | undefined;
|
|
2779
3224
|
preset?: "none" | "normal" | "verbose" | "errors-only" | "errors-warnings" | undefined;
|
|
@@ -2809,6 +3254,7 @@ declare const statsOptions: z.ZodObject<{
|
|
|
2809
3254
|
usedExports?: boolean | undefined;
|
|
2810
3255
|
providedExports?: boolean | undefined;
|
|
2811
3256
|
optimizationBailout?: boolean | undefined;
|
|
3257
|
+
orphanModules?: boolean | undefined;
|
|
2812
3258
|
}>;
|
|
2813
3259
|
export type StatsOptions = z.infer<typeof statsOptions>;
|
|
2814
3260
|
declare const statsValue: z.ZodUnion<[z.ZodUnion<[z.ZodEnum<["none", "errors-only", "errors-warnings", "normal", "verbose"]>, z.ZodBoolean]>, z.ZodObject<{
|
|
@@ -2846,6 +3292,7 @@ declare const statsValue: z.ZodUnion<[z.ZodUnion<[z.ZodEnum<["none", "errors-onl
|
|
|
2846
3292
|
usedExports: z.ZodOptional<z.ZodBoolean>;
|
|
2847
3293
|
providedExports: z.ZodOptional<z.ZodBoolean>;
|
|
2848
3294
|
optimizationBailout: z.ZodOptional<z.ZodBoolean>;
|
|
3295
|
+
orphanModules: z.ZodOptional<z.ZodBoolean>;
|
|
2849
3296
|
}, "strict", z.ZodTypeAny, {
|
|
2850
3297
|
all?: boolean | undefined;
|
|
2851
3298
|
preset?: "none" | "normal" | "verbose" | "errors-only" | "errors-warnings" | undefined;
|
|
@@ -2881,6 +3328,7 @@ declare const statsValue: z.ZodUnion<[z.ZodUnion<[z.ZodEnum<["none", "errors-onl
|
|
|
2881
3328
|
usedExports?: boolean | undefined;
|
|
2882
3329
|
providedExports?: boolean | undefined;
|
|
2883
3330
|
optimizationBailout?: boolean | undefined;
|
|
3331
|
+
orphanModules?: boolean | undefined;
|
|
2884
3332
|
}, {
|
|
2885
3333
|
all?: boolean | undefined;
|
|
2886
3334
|
preset?: "none" | "normal" | "verbose" | "errors-only" | "errors-warnings" | undefined;
|
|
@@ -2916,6 +3364,7 @@ declare const statsValue: z.ZodUnion<[z.ZodUnion<[z.ZodEnum<["none", "errors-onl
|
|
|
2916
3364
|
usedExports?: boolean | undefined;
|
|
2917
3365
|
providedExports?: boolean | undefined;
|
|
2918
3366
|
optimizationBailout?: boolean | undefined;
|
|
3367
|
+
orphanModules?: boolean | undefined;
|
|
2919
3368
|
}>]>;
|
|
2920
3369
|
export type StatsValue = z.infer<typeof statsValue>;
|
|
2921
3370
|
export interface RspackPluginInstance {
|
|
@@ -2937,6 +3386,7 @@ declare const optimizationSplitChunksNameFunction: z.ZodFunction<z.ZodTuple<[z.Z
|
|
|
2937
3386
|
export type OptimizationSplitChunksNameFunction = z.infer<typeof optimizationSplitChunksNameFunction>;
|
|
2938
3387
|
declare const optimizationSplitChunksCacheGroup: z.ZodObject<{
|
|
2939
3388
|
chunks: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodEnum<["initial", "async", "all"]>, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>, z.ZodFunction<z.ZodTuple<[z.ZodType<Chunk, z.ZodTypeDef, Chunk>], z.ZodUnknown>, z.ZodBoolean>]>>;
|
|
3389
|
+
defaultSizeTypes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2940
3390
|
minChunks: z.ZodOptional<z.ZodNumber>;
|
|
2941
3391
|
name: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodLiteral<false>]>, z.ZodFunction<z.ZodTuple<[z.ZodOptional<z.ZodType<Module, z.ZodTypeDef, Module>>], z.ZodUnknown>, z.ZodUnknown>]>>;
|
|
2942
3392
|
minSize: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2953,6 +3403,7 @@ declare const optimizationSplitChunksCacheGroup: z.ZodObject<{
|
|
|
2953
3403
|
idHint: z.ZodOptional<z.ZodString>;
|
|
2954
3404
|
}, "strict", z.ZodTypeAny, {
|
|
2955
3405
|
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
3406
|
+
defaultSizeTypes?: string[] | undefined;
|
|
2956
3407
|
minChunks?: number | undefined;
|
|
2957
3408
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
2958
3409
|
minSize?: number | undefined;
|
|
@@ -2969,6 +3420,7 @@ declare const optimizationSplitChunksCacheGroup: z.ZodObject<{
|
|
|
2969
3420
|
idHint?: string | undefined;
|
|
2970
3421
|
}, {
|
|
2971
3422
|
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
3423
|
+
defaultSizeTypes?: string[] | undefined;
|
|
2972
3424
|
minChunks?: number | undefined;
|
|
2973
3425
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
2974
3426
|
minSize?: number | undefined;
|
|
@@ -2987,6 +3439,7 @@ declare const optimizationSplitChunksCacheGroup: z.ZodObject<{
|
|
|
2987
3439
|
export type OptimizationSplitChunksCacheGroup = z.infer<typeof optimizationSplitChunksCacheGroup>;
|
|
2988
3440
|
declare const optimizationSplitChunksOptions: z.ZodObject<{
|
|
2989
3441
|
chunks: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodEnum<["initial", "async", "all"]>, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>, z.ZodFunction<z.ZodTuple<[z.ZodType<Chunk, z.ZodTypeDef, Chunk>], z.ZodUnknown>, z.ZodBoolean>]>>;
|
|
3442
|
+
defaultSizeTypes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2990
3443
|
minChunks: z.ZodOptional<z.ZodNumber>;
|
|
2991
3444
|
name: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodLiteral<false>]>, z.ZodFunction<z.ZodTuple<[z.ZodOptional<z.ZodType<Module, z.ZodTypeDef, Module>>], z.ZodUnknown>, z.ZodUnknown>]>>;
|
|
2992
3445
|
minSize: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2996,6 +3449,7 @@ declare const optimizationSplitChunksOptions: z.ZodObject<{
|
|
|
2996
3449
|
automaticNameDelimiter: z.ZodOptional<z.ZodString>;
|
|
2997
3450
|
cacheGroups: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodLiteral<false>, z.ZodObject<{
|
|
2998
3451
|
chunks: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodEnum<["initial", "async", "all"]>, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>, z.ZodFunction<z.ZodTuple<[z.ZodType<Chunk, z.ZodTypeDef, Chunk>], z.ZodUnknown>, z.ZodBoolean>]>>;
|
|
3452
|
+
defaultSizeTypes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2999
3453
|
minChunks: z.ZodOptional<z.ZodNumber>;
|
|
3000
3454
|
name: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodLiteral<false>]>, z.ZodFunction<z.ZodTuple<[z.ZodOptional<z.ZodType<Module, z.ZodTypeDef, Module>>], z.ZodUnknown>, z.ZodUnknown>]>>;
|
|
3001
3455
|
minSize: z.ZodOptional<z.ZodNumber>;
|
|
@@ -3012,6 +3466,7 @@ declare const optimizationSplitChunksOptions: z.ZodObject<{
|
|
|
3012
3466
|
idHint: z.ZodOptional<z.ZodString>;
|
|
3013
3467
|
}, "strict", z.ZodTypeAny, {
|
|
3014
3468
|
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
3469
|
+
defaultSizeTypes?: string[] | undefined;
|
|
3015
3470
|
minChunks?: number | undefined;
|
|
3016
3471
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
3017
3472
|
minSize?: number | undefined;
|
|
@@ -3028,6 +3483,7 @@ declare const optimizationSplitChunksOptions: z.ZodObject<{
|
|
|
3028
3483
|
idHint?: string | undefined;
|
|
3029
3484
|
}, {
|
|
3030
3485
|
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
3486
|
+
defaultSizeTypes?: string[] | undefined;
|
|
3031
3487
|
minChunks?: number | undefined;
|
|
3032
3488
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
3033
3489
|
minSize?: number | undefined;
|
|
@@ -3070,6 +3526,7 @@ declare const optimizationSplitChunksOptions: z.ZodObject<{
|
|
|
3070
3526
|
hidePathInfo: z.ZodOptional<z.ZodBoolean>;
|
|
3071
3527
|
}, "strict", z.ZodTypeAny, {
|
|
3072
3528
|
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
3529
|
+
defaultSizeTypes?: string[] | undefined;
|
|
3073
3530
|
minChunks?: number | undefined;
|
|
3074
3531
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
3075
3532
|
minSize?: number | undefined;
|
|
@@ -3079,6 +3536,7 @@ declare const optimizationSplitChunksOptions: z.ZodObject<{
|
|
|
3079
3536
|
automaticNameDelimiter?: string | undefined;
|
|
3080
3537
|
cacheGroups?: Record<string, false | {
|
|
3081
3538
|
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
3539
|
+
defaultSizeTypes?: string[] | undefined;
|
|
3082
3540
|
minChunks?: number | undefined;
|
|
3083
3541
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
3084
3542
|
minSize?: number | undefined;
|
|
@@ -3107,6 +3565,7 @@ declare const optimizationSplitChunksOptions: z.ZodObject<{
|
|
|
3107
3565
|
hidePathInfo?: boolean | undefined;
|
|
3108
3566
|
}, {
|
|
3109
3567
|
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
3568
|
+
defaultSizeTypes?: string[] | undefined;
|
|
3110
3569
|
minChunks?: number | undefined;
|
|
3111
3570
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
3112
3571
|
minSize?: number | undefined;
|
|
@@ -3116,6 +3575,7 @@ declare const optimizationSplitChunksOptions: z.ZodObject<{
|
|
|
3116
3575
|
automaticNameDelimiter?: string | undefined;
|
|
3117
3576
|
cacheGroups?: Record<string, false | {
|
|
3118
3577
|
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
3578
|
+
defaultSizeTypes?: string[] | undefined;
|
|
3119
3579
|
minChunks?: number | undefined;
|
|
3120
3580
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
3121
3581
|
minSize?: number | undefined;
|
|
@@ -3152,6 +3612,7 @@ declare const optimization: z.ZodObject<{
|
|
|
3152
3612
|
mergeDuplicateChunks: z.ZodOptional<z.ZodBoolean>;
|
|
3153
3613
|
splitChunks: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodObject<{
|
|
3154
3614
|
chunks: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodEnum<["initial", "async", "all"]>, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>, z.ZodFunction<z.ZodTuple<[z.ZodType<Chunk, z.ZodTypeDef, Chunk>], z.ZodUnknown>, z.ZodBoolean>]>>;
|
|
3615
|
+
defaultSizeTypes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3155
3616
|
minChunks: z.ZodOptional<z.ZodNumber>;
|
|
3156
3617
|
name: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodLiteral<false>]>, z.ZodFunction<z.ZodTuple<[z.ZodOptional<z.ZodType<Module, z.ZodTypeDef, Module>>], z.ZodUnknown>, z.ZodUnknown>]>>;
|
|
3157
3618
|
minSize: z.ZodOptional<z.ZodNumber>;
|
|
@@ -3161,6 +3622,7 @@ declare const optimization: z.ZodObject<{
|
|
|
3161
3622
|
automaticNameDelimiter: z.ZodOptional<z.ZodString>;
|
|
3162
3623
|
cacheGroups: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodLiteral<false>, z.ZodObject<{
|
|
3163
3624
|
chunks: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodEnum<["initial", "async", "all"]>, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>, z.ZodFunction<z.ZodTuple<[z.ZodType<Chunk, z.ZodTypeDef, Chunk>], z.ZodUnknown>, z.ZodBoolean>]>>;
|
|
3625
|
+
defaultSizeTypes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3164
3626
|
minChunks: z.ZodOptional<z.ZodNumber>;
|
|
3165
3627
|
name: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodLiteral<false>]>, z.ZodFunction<z.ZodTuple<[z.ZodOptional<z.ZodType<Module, z.ZodTypeDef, Module>>], z.ZodUnknown>, z.ZodUnknown>]>>;
|
|
3166
3628
|
minSize: z.ZodOptional<z.ZodNumber>;
|
|
@@ -3177,6 +3639,7 @@ declare const optimization: z.ZodObject<{
|
|
|
3177
3639
|
idHint: z.ZodOptional<z.ZodString>;
|
|
3178
3640
|
}, "strict", z.ZodTypeAny, {
|
|
3179
3641
|
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
3642
|
+
defaultSizeTypes?: string[] | undefined;
|
|
3180
3643
|
minChunks?: number | undefined;
|
|
3181
3644
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
3182
3645
|
minSize?: number | undefined;
|
|
@@ -3193,6 +3656,7 @@ declare const optimization: z.ZodObject<{
|
|
|
3193
3656
|
idHint?: string | undefined;
|
|
3194
3657
|
}, {
|
|
3195
3658
|
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
3659
|
+
defaultSizeTypes?: string[] | undefined;
|
|
3196
3660
|
minChunks?: number | undefined;
|
|
3197
3661
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
3198
3662
|
minSize?: number | undefined;
|
|
@@ -3235,6 +3699,7 @@ declare const optimization: z.ZodObject<{
|
|
|
3235
3699
|
hidePathInfo: z.ZodOptional<z.ZodBoolean>;
|
|
3236
3700
|
}, "strict", z.ZodTypeAny, {
|
|
3237
3701
|
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
3702
|
+
defaultSizeTypes?: string[] | undefined;
|
|
3238
3703
|
minChunks?: number | undefined;
|
|
3239
3704
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
3240
3705
|
minSize?: number | undefined;
|
|
@@ -3244,6 +3709,7 @@ declare const optimization: z.ZodObject<{
|
|
|
3244
3709
|
automaticNameDelimiter?: string | undefined;
|
|
3245
3710
|
cacheGroups?: Record<string, false | {
|
|
3246
3711
|
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
3712
|
+
defaultSizeTypes?: string[] | undefined;
|
|
3247
3713
|
minChunks?: number | undefined;
|
|
3248
3714
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
3249
3715
|
minSize?: number | undefined;
|
|
@@ -3272,6 +3738,7 @@ declare const optimization: z.ZodObject<{
|
|
|
3272
3738
|
hidePathInfo?: boolean | undefined;
|
|
3273
3739
|
}, {
|
|
3274
3740
|
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
3741
|
+
defaultSizeTypes?: string[] | undefined;
|
|
3275
3742
|
minChunks?: number | undefined;
|
|
3276
3743
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
3277
3744
|
minSize?: number | undefined;
|
|
@@ -3281,6 +3748,7 @@ declare const optimization: z.ZodObject<{
|
|
|
3281
3748
|
automaticNameDelimiter?: string | undefined;
|
|
3282
3749
|
cacheGroups?: Record<string, false | {
|
|
3283
3750
|
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
3751
|
+
defaultSizeTypes?: string[] | undefined;
|
|
3284
3752
|
minChunks?: number | undefined;
|
|
3285
3753
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
3286
3754
|
minSize?: number | undefined;
|
|
@@ -3333,6 +3801,7 @@ declare const optimization: z.ZodObject<{
|
|
|
3333
3801
|
mergeDuplicateChunks?: boolean | undefined;
|
|
3334
3802
|
splitChunks?: false | {
|
|
3335
3803
|
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
3804
|
+
defaultSizeTypes?: string[] | undefined;
|
|
3336
3805
|
minChunks?: number | undefined;
|
|
3337
3806
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
3338
3807
|
minSize?: number | undefined;
|
|
@@ -3342,6 +3811,7 @@ declare const optimization: z.ZodObject<{
|
|
|
3342
3811
|
automaticNameDelimiter?: string | undefined;
|
|
3343
3812
|
cacheGroups?: Record<string, false | {
|
|
3344
3813
|
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
3814
|
+
defaultSizeTypes?: string[] | undefined;
|
|
3345
3815
|
minChunks?: number | undefined;
|
|
3346
3816
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
3347
3817
|
minSize?: number | undefined;
|
|
@@ -3390,6 +3860,7 @@ declare const optimization: z.ZodObject<{
|
|
|
3390
3860
|
mergeDuplicateChunks?: boolean | undefined;
|
|
3391
3861
|
splitChunks?: false | {
|
|
3392
3862
|
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
3863
|
+
defaultSizeTypes?: string[] | undefined;
|
|
3393
3864
|
minChunks?: number | undefined;
|
|
3394
3865
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
3395
3866
|
minSize?: number | undefined;
|
|
@@ -3399,6 +3870,7 @@ declare const optimization: z.ZodObject<{
|
|
|
3399
3870
|
automaticNameDelimiter?: string | undefined;
|
|
3400
3871
|
cacheGroups?: Record<string, false | {
|
|
3401
3872
|
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
3873
|
+
defaultSizeTypes?: string[] | undefined;
|
|
3402
3874
|
minChunks?: number | undefined;
|
|
3403
3875
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
3404
3876
|
minSize?: number | undefined;
|
|
@@ -3443,7 +3915,6 @@ declare const optimization: z.ZodObject<{
|
|
|
3443
3915
|
export type Optimization = z.infer<typeof optimization>;
|
|
3444
3916
|
declare const rspackFutureOptions: z.ZodObject<{
|
|
3445
3917
|
newTreeshaking: z.ZodOptional<z.ZodBoolean>;
|
|
3446
|
-
disableApplyEntryLazily: z.ZodOptional<z.ZodBoolean>;
|
|
3447
3918
|
bundlerInfo: z.ZodOptional<z.ZodObject<{
|
|
3448
3919
|
version: z.ZodOptional<z.ZodString>;
|
|
3449
3920
|
force: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodArray<z.ZodEnum<["version"]>, "many">]>>;
|
|
@@ -3456,14 +3927,12 @@ declare const rspackFutureOptions: z.ZodObject<{
|
|
|
3456
3927
|
}>>;
|
|
3457
3928
|
}, "strict", z.ZodTypeAny, {
|
|
3458
3929
|
newTreeshaking?: boolean | undefined;
|
|
3459
|
-
disableApplyEntryLazily?: boolean | undefined;
|
|
3460
3930
|
bundlerInfo?: {
|
|
3461
3931
|
version?: string | undefined;
|
|
3462
3932
|
force?: boolean | "version"[] | undefined;
|
|
3463
3933
|
} | undefined;
|
|
3464
3934
|
}, {
|
|
3465
3935
|
newTreeshaking?: boolean | undefined;
|
|
3466
|
-
disableApplyEntryLazily?: boolean | undefined;
|
|
3467
3936
|
bundlerInfo?: {
|
|
3468
3937
|
version?: string | undefined;
|
|
3469
3938
|
force?: boolean | "version"[] | undefined;
|
|
@@ -3480,7 +3949,6 @@ declare const experiments: z.ZodObject<{
|
|
|
3480
3949
|
futureDefaults: z.ZodOptional<z.ZodBoolean>;
|
|
3481
3950
|
rspackFuture: z.ZodOptional<z.ZodObject<{
|
|
3482
3951
|
newTreeshaking: z.ZodOptional<z.ZodBoolean>;
|
|
3483
|
-
disableApplyEntryLazily: z.ZodOptional<z.ZodBoolean>;
|
|
3484
3952
|
bundlerInfo: z.ZodOptional<z.ZodObject<{
|
|
3485
3953
|
version: z.ZodOptional<z.ZodString>;
|
|
3486
3954
|
force: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodArray<z.ZodEnum<["version"]>, "many">]>>;
|
|
@@ -3493,14 +3961,12 @@ declare const experiments: z.ZodObject<{
|
|
|
3493
3961
|
}>>;
|
|
3494
3962
|
}, "strict", z.ZodTypeAny, {
|
|
3495
3963
|
newTreeshaking?: boolean | undefined;
|
|
3496
|
-
disableApplyEntryLazily?: boolean | undefined;
|
|
3497
3964
|
bundlerInfo?: {
|
|
3498
3965
|
version?: string | undefined;
|
|
3499
3966
|
force?: boolean | "version"[] | undefined;
|
|
3500
3967
|
} | undefined;
|
|
3501
3968
|
}, {
|
|
3502
3969
|
newTreeshaking?: boolean | undefined;
|
|
3503
|
-
disableApplyEntryLazily?: boolean | undefined;
|
|
3504
3970
|
bundlerInfo?: {
|
|
3505
3971
|
version?: string | undefined;
|
|
3506
3972
|
force?: boolean | "version"[] | undefined;
|
|
@@ -3516,7 +3982,6 @@ declare const experiments: z.ZodObject<{
|
|
|
3516
3982
|
futureDefaults?: boolean | undefined;
|
|
3517
3983
|
rspackFuture?: {
|
|
3518
3984
|
newTreeshaking?: boolean | undefined;
|
|
3519
|
-
disableApplyEntryLazily?: boolean | undefined;
|
|
3520
3985
|
bundlerInfo?: {
|
|
3521
3986
|
version?: string | undefined;
|
|
3522
3987
|
force?: boolean | "version"[] | undefined;
|
|
@@ -3532,7 +3997,6 @@ declare const experiments: z.ZodObject<{
|
|
|
3532
3997
|
futureDefaults?: boolean | undefined;
|
|
3533
3998
|
rspackFuture?: {
|
|
3534
3999
|
newTreeshaking?: boolean | undefined;
|
|
3535
|
-
disableApplyEntryLazily?: boolean | undefined;
|
|
3536
4000
|
bundlerInfo?: {
|
|
3537
4001
|
version?: string | undefined;
|
|
3538
4002
|
force?: boolean | "version"[] | undefined;
|
|
@@ -3651,6 +4115,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
3651
4115
|
} | undefined;
|
|
3652
4116
|
umdNamedDefine?: boolean | undefined;
|
|
3653
4117
|
}>>;
|
|
4118
|
+
dependOn: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
3654
4119
|
}, "strict", z.ZodTypeAny, {
|
|
3655
4120
|
import: (string | string[]) & (string | string[] | undefined);
|
|
3656
4121
|
runtime?: string | false | undefined;
|
|
@@ -3677,6 +4142,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
3677
4142
|
} | undefined;
|
|
3678
4143
|
umdNamedDefine?: boolean | undefined;
|
|
3679
4144
|
} | undefined;
|
|
4145
|
+
dependOn?: string | string[] | undefined;
|
|
3680
4146
|
}, {
|
|
3681
4147
|
import: (string | string[]) & (string | string[] | undefined);
|
|
3682
4148
|
runtime?: string | false | undefined;
|
|
@@ -3703,6 +4169,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
3703
4169
|
} | undefined;
|
|
3704
4170
|
umdNamedDefine?: boolean | undefined;
|
|
3705
4171
|
} | undefined;
|
|
4172
|
+
dependOn?: string | string[] | undefined;
|
|
3706
4173
|
}>]>>, 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
4174
|
import: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
|
3708
4175
|
runtime: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodString]>>;
|
|
@@ -3779,6 +4246,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
3779
4246
|
} | undefined;
|
|
3780
4247
|
umdNamedDefine?: boolean | undefined;
|
|
3781
4248
|
}>>;
|
|
4249
|
+
dependOn: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
3782
4250
|
}, "strict", z.ZodTypeAny, {
|
|
3783
4251
|
import: (string | string[]) & (string | string[] | undefined);
|
|
3784
4252
|
runtime?: string | false | undefined;
|
|
@@ -3805,6 +4273,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
3805
4273
|
} | undefined;
|
|
3806
4274
|
umdNamedDefine?: boolean | undefined;
|
|
3807
4275
|
} | undefined;
|
|
4276
|
+
dependOn?: string | string[] | undefined;
|
|
3808
4277
|
}, {
|
|
3809
4278
|
import: (string | string[]) & (string | string[] | undefined);
|
|
3810
4279
|
runtime?: string | false | undefined;
|
|
@@ -3831,6 +4300,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
3831
4300
|
} | undefined;
|
|
3832
4301
|
umdNamedDefine?: boolean | undefined;
|
|
3833
4302
|
} | undefined;
|
|
4303
|
+
dependOn?: string | string[] | undefined;
|
|
3834
4304
|
}>]>>, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>]>>]>>;
|
|
3835
4305
|
output: z.ZodOptional<z.ZodObject<{
|
|
3836
4306
|
path: z.ZodOptional<z.ZodString>;
|
|
@@ -4142,7 +4612,6 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
4142
4612
|
futureDefaults: z.ZodOptional<z.ZodBoolean>;
|
|
4143
4613
|
rspackFuture: z.ZodOptional<z.ZodObject<{
|
|
4144
4614
|
newTreeshaking: z.ZodOptional<z.ZodBoolean>;
|
|
4145
|
-
disableApplyEntryLazily: z.ZodOptional<z.ZodBoolean>;
|
|
4146
4615
|
bundlerInfo: z.ZodOptional<z.ZodObject<{
|
|
4147
4616
|
version: z.ZodOptional<z.ZodString>;
|
|
4148
4617
|
force: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodArray<z.ZodEnum<["version"]>, "many">]>>;
|
|
@@ -4155,14 +4624,12 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
4155
4624
|
}>>;
|
|
4156
4625
|
}, "strict", z.ZodTypeAny, {
|
|
4157
4626
|
newTreeshaking?: boolean | undefined;
|
|
4158
|
-
disableApplyEntryLazily?: boolean | undefined;
|
|
4159
4627
|
bundlerInfo?: {
|
|
4160
4628
|
version?: string | undefined;
|
|
4161
4629
|
force?: boolean | "version"[] | undefined;
|
|
4162
4630
|
} | undefined;
|
|
4163
4631
|
}, {
|
|
4164
4632
|
newTreeshaking?: boolean | undefined;
|
|
4165
|
-
disableApplyEntryLazily?: boolean | undefined;
|
|
4166
4633
|
bundlerInfo?: {
|
|
4167
4634
|
version?: string | undefined;
|
|
4168
4635
|
force?: boolean | "version"[] | undefined;
|
|
@@ -4178,7 +4645,6 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
4178
4645
|
futureDefaults?: boolean | undefined;
|
|
4179
4646
|
rspackFuture?: {
|
|
4180
4647
|
newTreeshaking?: boolean | undefined;
|
|
4181
|
-
disableApplyEntryLazily?: boolean | undefined;
|
|
4182
4648
|
bundlerInfo?: {
|
|
4183
4649
|
version?: string | undefined;
|
|
4184
4650
|
force?: boolean | "version"[] | undefined;
|
|
@@ -4194,7 +4660,6 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
4194
4660
|
futureDefaults?: boolean | undefined;
|
|
4195
4661
|
rspackFuture?: {
|
|
4196
4662
|
newTreeshaking?: boolean | undefined;
|
|
4197
|
-
disableApplyEntryLazily?: boolean | undefined;
|
|
4198
4663
|
bundlerInfo?: {
|
|
4199
4664
|
version?: string | undefined;
|
|
4200
4665
|
force?: boolean | "version"[] | undefined;
|
|
@@ -4370,6 +4835,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
4370
4835
|
usedExports: z.ZodOptional<z.ZodBoolean>;
|
|
4371
4836
|
providedExports: z.ZodOptional<z.ZodBoolean>;
|
|
4372
4837
|
optimizationBailout: z.ZodOptional<z.ZodBoolean>;
|
|
4838
|
+
orphanModules: z.ZodOptional<z.ZodBoolean>;
|
|
4373
4839
|
}, "strict", z.ZodTypeAny, {
|
|
4374
4840
|
all?: boolean | undefined;
|
|
4375
4841
|
preset?: "none" | "normal" | "verbose" | "errors-only" | "errors-warnings" | undefined;
|
|
@@ -4405,6 +4871,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
4405
4871
|
usedExports?: boolean | undefined;
|
|
4406
4872
|
providedExports?: boolean | undefined;
|
|
4407
4873
|
optimizationBailout?: boolean | undefined;
|
|
4874
|
+
orphanModules?: boolean | undefined;
|
|
4408
4875
|
}, {
|
|
4409
4876
|
all?: boolean | undefined;
|
|
4410
4877
|
preset?: "none" | "normal" | "verbose" | "errors-only" | "errors-warnings" | undefined;
|
|
@@ -4440,6 +4907,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
4440
4907
|
usedExports?: boolean | undefined;
|
|
4441
4908
|
providedExports?: boolean | undefined;
|
|
4442
4909
|
optimizationBailout?: boolean | undefined;
|
|
4910
|
+
orphanModules?: boolean | undefined;
|
|
4443
4911
|
}>]>>;
|
|
4444
4912
|
snapshot: z.ZodOptional<z.ZodObject<{
|
|
4445
4913
|
module: z.ZodOptional<z.ZodObject<{
|
|
@@ -4489,6 +4957,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
4489
4957
|
mergeDuplicateChunks: z.ZodOptional<z.ZodBoolean>;
|
|
4490
4958
|
splitChunks: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodObject<{
|
|
4491
4959
|
chunks: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodEnum<["initial", "async", "all"]>, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>, z.ZodFunction<z.ZodTuple<[z.ZodType<Chunk, z.ZodTypeDef, Chunk>], z.ZodUnknown>, z.ZodBoolean>]>>;
|
|
4960
|
+
defaultSizeTypes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
4492
4961
|
minChunks: z.ZodOptional<z.ZodNumber>;
|
|
4493
4962
|
name: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodLiteral<false>]>, z.ZodFunction<z.ZodTuple<[z.ZodOptional<z.ZodType<Module, z.ZodTypeDef, Module>>], z.ZodUnknown>, z.ZodUnknown>]>>;
|
|
4494
4963
|
minSize: z.ZodOptional<z.ZodNumber>;
|
|
@@ -4498,6 +4967,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
4498
4967
|
automaticNameDelimiter: z.ZodOptional<z.ZodString>;
|
|
4499
4968
|
cacheGroups: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodLiteral<false>, z.ZodObject<{
|
|
4500
4969
|
chunks: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodEnum<["initial", "async", "all"]>, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>, z.ZodFunction<z.ZodTuple<[z.ZodType<Chunk, z.ZodTypeDef, Chunk>], z.ZodUnknown>, z.ZodBoolean>]>>;
|
|
4970
|
+
defaultSizeTypes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
4501
4971
|
minChunks: z.ZodOptional<z.ZodNumber>;
|
|
4502
4972
|
name: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodLiteral<false>]>, z.ZodFunction<z.ZodTuple<[z.ZodOptional<z.ZodType<Module, z.ZodTypeDef, Module>>], z.ZodUnknown>, z.ZodUnknown>]>>;
|
|
4503
4973
|
minSize: z.ZodOptional<z.ZodNumber>;
|
|
@@ -4514,6 +4984,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
4514
4984
|
idHint: z.ZodOptional<z.ZodString>;
|
|
4515
4985
|
}, "strict", z.ZodTypeAny, {
|
|
4516
4986
|
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
4987
|
+
defaultSizeTypes?: string[] | undefined;
|
|
4517
4988
|
minChunks?: number | undefined;
|
|
4518
4989
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
4519
4990
|
minSize?: number | undefined;
|
|
@@ -4530,6 +5001,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
4530
5001
|
idHint?: string | undefined;
|
|
4531
5002
|
}, {
|
|
4532
5003
|
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
5004
|
+
defaultSizeTypes?: string[] | undefined;
|
|
4533
5005
|
minChunks?: number | undefined;
|
|
4534
5006
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
4535
5007
|
minSize?: number | undefined;
|
|
@@ -4572,6 +5044,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
4572
5044
|
hidePathInfo: z.ZodOptional<z.ZodBoolean>;
|
|
4573
5045
|
}, "strict", z.ZodTypeAny, {
|
|
4574
5046
|
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
5047
|
+
defaultSizeTypes?: string[] | undefined;
|
|
4575
5048
|
minChunks?: number | undefined;
|
|
4576
5049
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
4577
5050
|
minSize?: number | undefined;
|
|
@@ -4581,6 +5054,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
4581
5054
|
automaticNameDelimiter?: string | undefined;
|
|
4582
5055
|
cacheGroups?: Record<string, false | {
|
|
4583
5056
|
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
5057
|
+
defaultSizeTypes?: string[] | undefined;
|
|
4584
5058
|
minChunks?: number | undefined;
|
|
4585
5059
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
4586
5060
|
minSize?: number | undefined;
|
|
@@ -4609,6 +5083,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
4609
5083
|
hidePathInfo?: boolean | undefined;
|
|
4610
5084
|
}, {
|
|
4611
5085
|
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
5086
|
+
defaultSizeTypes?: string[] | undefined;
|
|
4612
5087
|
minChunks?: number | undefined;
|
|
4613
5088
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
4614
5089
|
minSize?: number | undefined;
|
|
@@ -4618,6 +5093,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
4618
5093
|
automaticNameDelimiter?: string | undefined;
|
|
4619
5094
|
cacheGroups?: Record<string, false | {
|
|
4620
5095
|
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
5096
|
+
defaultSizeTypes?: string[] | undefined;
|
|
4621
5097
|
minChunks?: number | undefined;
|
|
4622
5098
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
4623
5099
|
minSize?: number | undefined;
|
|
@@ -4670,6 +5146,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
4670
5146
|
mergeDuplicateChunks?: boolean | undefined;
|
|
4671
5147
|
splitChunks?: false | {
|
|
4672
5148
|
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
5149
|
+
defaultSizeTypes?: string[] | undefined;
|
|
4673
5150
|
minChunks?: number | undefined;
|
|
4674
5151
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
4675
5152
|
minSize?: number | undefined;
|
|
@@ -4679,6 +5156,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
4679
5156
|
automaticNameDelimiter?: string | undefined;
|
|
4680
5157
|
cacheGroups?: Record<string, false | {
|
|
4681
5158
|
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
5159
|
+
defaultSizeTypes?: string[] | undefined;
|
|
4682
5160
|
minChunks?: number | undefined;
|
|
4683
5161
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
4684
5162
|
minSize?: number | undefined;
|
|
@@ -4727,6 +5205,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
4727
5205
|
mergeDuplicateChunks?: boolean | undefined;
|
|
4728
5206
|
splitChunks?: false | {
|
|
4729
5207
|
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
5208
|
+
defaultSizeTypes?: string[] | undefined;
|
|
4730
5209
|
minChunks?: number | undefined;
|
|
4731
5210
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
4732
5211
|
minSize?: number | undefined;
|
|
@@ -4736,6 +5215,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
4736
5215
|
automaticNameDelimiter?: string | undefined;
|
|
4737
5216
|
cacheGroups?: Record<string, false | {
|
|
4738
5217
|
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
5218
|
+
defaultSizeTypes?: string[] | undefined;
|
|
4739
5219
|
minChunks?: number | undefined;
|
|
4740
5220
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
4741
5221
|
minSize?: number | undefined;
|
|
@@ -4803,6 +5283,27 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
4803
5283
|
maxSize?: number | undefined;
|
|
4804
5284
|
} | undefined;
|
|
4805
5285
|
}>>;
|
|
5286
|
+
css: z.ZodOptional<z.ZodObject<{
|
|
5287
|
+
namedExports: z.ZodOptional<z.ZodBoolean>;
|
|
5288
|
+
}, "strict", z.ZodTypeAny, {
|
|
5289
|
+
namedExports?: boolean | undefined;
|
|
5290
|
+
}, {
|
|
5291
|
+
namedExports?: boolean | undefined;
|
|
5292
|
+
}>>;
|
|
5293
|
+
"css/auto": z.ZodOptional<z.ZodObject<{
|
|
5294
|
+
namedExports: z.ZodOptional<z.ZodBoolean>;
|
|
5295
|
+
}, "strict", z.ZodTypeAny, {
|
|
5296
|
+
namedExports?: boolean | undefined;
|
|
5297
|
+
}, {
|
|
5298
|
+
namedExports?: boolean | undefined;
|
|
5299
|
+
}>>;
|
|
5300
|
+
"css/module": z.ZodOptional<z.ZodObject<{
|
|
5301
|
+
namedExports: z.ZodOptional<z.ZodBoolean>;
|
|
5302
|
+
}, "strict", z.ZodTypeAny, {
|
|
5303
|
+
namedExports?: boolean | undefined;
|
|
5304
|
+
}, {
|
|
5305
|
+
namedExports?: boolean | undefined;
|
|
5306
|
+
}>>;
|
|
4806
5307
|
javascript: z.ZodOptional<z.ZodObject<{
|
|
4807
5308
|
dynamicImportMode: z.ZodOptional<z.ZodEnum<["eager", "lazy"]>>;
|
|
4808
5309
|
dynamicImportPreload: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodNumber]>>;
|
|
@@ -4825,6 +5326,15 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
4825
5326
|
maxSize?: number | undefined;
|
|
4826
5327
|
} | undefined;
|
|
4827
5328
|
} | undefined;
|
|
5329
|
+
css?: {
|
|
5330
|
+
namedExports?: boolean | undefined;
|
|
5331
|
+
} | undefined;
|
|
5332
|
+
"css/auto"?: {
|
|
5333
|
+
namedExports?: boolean | undefined;
|
|
5334
|
+
} | undefined;
|
|
5335
|
+
"css/module"?: {
|
|
5336
|
+
namedExports?: boolean | undefined;
|
|
5337
|
+
} | undefined;
|
|
4828
5338
|
javascript?: {
|
|
4829
5339
|
dynamicImportMode?: "eager" | "lazy" | undefined;
|
|
4830
5340
|
dynamicImportPreload?: number | boolean | undefined;
|
|
@@ -4837,6 +5347,15 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
4837
5347
|
maxSize?: number | undefined;
|
|
4838
5348
|
} | undefined;
|
|
4839
5349
|
} | undefined;
|
|
5350
|
+
css?: {
|
|
5351
|
+
namedExports?: boolean | undefined;
|
|
5352
|
+
} | undefined;
|
|
5353
|
+
"css/auto"?: {
|
|
5354
|
+
namedExports?: boolean | undefined;
|
|
5355
|
+
} | undefined;
|
|
5356
|
+
"css/module"?: {
|
|
5357
|
+
namedExports?: boolean | undefined;
|
|
5358
|
+
} | undefined;
|
|
4840
5359
|
javascript?: {
|
|
4841
5360
|
dynamicImportMode?: "eager" | "lazy" | undefined;
|
|
4842
5361
|
dynamicImportPreload?: number | boolean | undefined;
|
|
@@ -4935,6 +5454,42 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
4935
5454
|
filename?: string | undefined;
|
|
4936
5455
|
publicPath?: string | undefined;
|
|
4937
5456
|
}>>;
|
|
5457
|
+
css: z.ZodOptional<z.ZodObject<{
|
|
5458
|
+
exportsConvention: z.ZodOptional<z.ZodEnum<["as-is", "camel-case", "camel-case-only", "dashes", "dashes-only"]>>;
|
|
5459
|
+
exportsOnly: z.ZodOptional<z.ZodBoolean>;
|
|
5460
|
+
}, "strict", z.ZodTypeAny, {
|
|
5461
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
5462
|
+
exportsOnly?: boolean | undefined;
|
|
5463
|
+
}, {
|
|
5464
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
5465
|
+
exportsOnly?: boolean | undefined;
|
|
5466
|
+
}>>;
|
|
5467
|
+
"css/auto": z.ZodOptional<z.ZodObject<{
|
|
5468
|
+
exportsConvention: z.ZodOptional<z.ZodEnum<["as-is", "camel-case", "camel-case-only", "dashes", "dashes-only"]>>;
|
|
5469
|
+
exportsOnly: z.ZodOptional<z.ZodBoolean>;
|
|
5470
|
+
localIdentName: z.ZodOptional<z.ZodString>;
|
|
5471
|
+
}, "strict", z.ZodTypeAny, {
|
|
5472
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
5473
|
+
exportsOnly?: boolean | undefined;
|
|
5474
|
+
localIdentName?: string | undefined;
|
|
5475
|
+
}, {
|
|
5476
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
5477
|
+
exportsOnly?: boolean | undefined;
|
|
5478
|
+
localIdentName?: string | undefined;
|
|
5479
|
+
}>>;
|
|
5480
|
+
"css/module": z.ZodOptional<z.ZodObject<{
|
|
5481
|
+
exportsConvention: z.ZodOptional<z.ZodEnum<["as-is", "camel-case", "camel-case-only", "dashes", "dashes-only"]>>;
|
|
5482
|
+
exportsOnly: z.ZodOptional<z.ZodBoolean>;
|
|
5483
|
+
localIdentName: z.ZodOptional<z.ZodString>;
|
|
5484
|
+
}, "strict", z.ZodTypeAny, {
|
|
5485
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
5486
|
+
exportsOnly?: boolean | undefined;
|
|
5487
|
+
localIdentName?: string | undefined;
|
|
5488
|
+
}, {
|
|
5489
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
5490
|
+
exportsOnly?: boolean | undefined;
|
|
5491
|
+
localIdentName?: string | undefined;
|
|
5492
|
+
}>>;
|
|
4938
5493
|
}, "strict", z.ZodTypeAny, {
|
|
4939
5494
|
asset?: {
|
|
4940
5495
|
dataUrl?: {
|
|
@@ -4960,6 +5515,20 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
4960
5515
|
filename?: string | undefined;
|
|
4961
5516
|
publicPath?: string | undefined;
|
|
4962
5517
|
} | undefined;
|
|
5518
|
+
css?: {
|
|
5519
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
5520
|
+
exportsOnly?: boolean | undefined;
|
|
5521
|
+
} | undefined;
|
|
5522
|
+
"css/auto"?: {
|
|
5523
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
5524
|
+
exportsOnly?: boolean | undefined;
|
|
5525
|
+
localIdentName?: string | undefined;
|
|
5526
|
+
} | undefined;
|
|
5527
|
+
"css/module"?: {
|
|
5528
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
5529
|
+
exportsOnly?: boolean | undefined;
|
|
5530
|
+
localIdentName?: string | undefined;
|
|
5531
|
+
} | undefined;
|
|
4963
5532
|
}, {
|
|
4964
5533
|
asset?: {
|
|
4965
5534
|
dataUrl?: {
|
|
@@ -4985,6 +5554,20 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
4985
5554
|
filename?: string | undefined;
|
|
4986
5555
|
publicPath?: string | undefined;
|
|
4987
5556
|
} | undefined;
|
|
5557
|
+
css?: {
|
|
5558
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
5559
|
+
exportsOnly?: boolean | undefined;
|
|
5560
|
+
} | undefined;
|
|
5561
|
+
"css/auto"?: {
|
|
5562
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
5563
|
+
exportsOnly?: boolean | undefined;
|
|
5564
|
+
localIdentName?: string | undefined;
|
|
5565
|
+
} | undefined;
|
|
5566
|
+
"css/module"?: {
|
|
5567
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
5568
|
+
exportsOnly?: boolean | undefined;
|
|
5569
|
+
localIdentName?: string | undefined;
|
|
5570
|
+
} | undefined;
|
|
4988
5571
|
}>, z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>>]>>;
|
|
4989
5572
|
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
5573
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -4996,6 +5579,15 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
4996
5579
|
maxSize?: number | undefined;
|
|
4997
5580
|
} | undefined;
|
|
4998
5581
|
} | undefined;
|
|
5582
|
+
css?: {
|
|
5583
|
+
namedExports?: boolean | undefined;
|
|
5584
|
+
} | undefined;
|
|
5585
|
+
"css/auto"?: {
|
|
5586
|
+
namedExports?: boolean | undefined;
|
|
5587
|
+
} | undefined;
|
|
5588
|
+
"css/module"?: {
|
|
5589
|
+
namedExports?: boolean | undefined;
|
|
5590
|
+
} | undefined;
|
|
4999
5591
|
javascript?: {
|
|
5000
5592
|
dynamicImportMode?: "eager" | "lazy" | undefined;
|
|
5001
5593
|
dynamicImportPreload?: number | boolean | undefined;
|
|
@@ -5028,6 +5620,20 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5028
5620
|
filename?: string | undefined;
|
|
5029
5621
|
publicPath?: string | undefined;
|
|
5030
5622
|
} | undefined;
|
|
5623
|
+
css?: {
|
|
5624
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
5625
|
+
exportsOnly?: boolean | undefined;
|
|
5626
|
+
} | undefined;
|
|
5627
|
+
"css/auto"?: {
|
|
5628
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
5629
|
+
exportsOnly?: boolean | undefined;
|
|
5630
|
+
localIdentName?: string | undefined;
|
|
5631
|
+
} | undefined;
|
|
5632
|
+
"css/module"?: {
|
|
5633
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
5634
|
+
exportsOnly?: boolean | undefined;
|
|
5635
|
+
localIdentName?: string | undefined;
|
|
5636
|
+
} | undefined;
|
|
5031
5637
|
} | undefined;
|
|
5032
5638
|
noParse?: string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
|
|
5033
5639
|
}, {
|
|
@@ -5039,6 +5645,15 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5039
5645
|
maxSize?: number | undefined;
|
|
5040
5646
|
} | undefined;
|
|
5041
5647
|
} | undefined;
|
|
5648
|
+
css?: {
|
|
5649
|
+
namedExports?: boolean | undefined;
|
|
5650
|
+
} | undefined;
|
|
5651
|
+
"css/auto"?: {
|
|
5652
|
+
namedExports?: boolean | undefined;
|
|
5653
|
+
} | undefined;
|
|
5654
|
+
"css/module"?: {
|
|
5655
|
+
namedExports?: boolean | undefined;
|
|
5656
|
+
} | undefined;
|
|
5042
5657
|
javascript?: {
|
|
5043
5658
|
dynamicImportMode?: "eager" | "lazy" | undefined;
|
|
5044
5659
|
dynamicImportPreload?: number | boolean | undefined;
|
|
@@ -5071,6 +5686,20 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5071
5686
|
filename?: string | undefined;
|
|
5072
5687
|
publicPath?: string | undefined;
|
|
5073
5688
|
} | undefined;
|
|
5689
|
+
css?: {
|
|
5690
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
5691
|
+
exportsOnly?: boolean | undefined;
|
|
5692
|
+
} | undefined;
|
|
5693
|
+
"css/auto"?: {
|
|
5694
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
5695
|
+
exportsOnly?: boolean | undefined;
|
|
5696
|
+
localIdentName?: string | undefined;
|
|
5697
|
+
} | undefined;
|
|
5698
|
+
"css/module"?: {
|
|
5699
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
5700
|
+
exportsOnly?: boolean | undefined;
|
|
5701
|
+
localIdentName?: string | undefined;
|
|
5702
|
+
} | undefined;
|
|
5074
5703
|
} | undefined;
|
|
5075
5704
|
noParse?: string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
|
|
5076
5705
|
}>>;
|
|
@@ -5105,6 +5734,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5105
5734
|
} | undefined;
|
|
5106
5735
|
umdNamedDefine?: boolean | undefined;
|
|
5107
5736
|
} | undefined;
|
|
5737
|
+
dependOn?: string | string[] | undefined;
|
|
5108
5738
|
}> | ((...args: unknown[]) => string | string[] | Record<string, string | string[] | {
|
|
5109
5739
|
import: (string | string[]) & (string | string[] | undefined);
|
|
5110
5740
|
runtime?: string | false | undefined;
|
|
@@ -5131,6 +5761,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5131
5761
|
} | undefined;
|
|
5132
5762
|
umdNamedDefine?: boolean | undefined;
|
|
5133
5763
|
} | undefined;
|
|
5764
|
+
dependOn?: string | string[] | undefined;
|
|
5134
5765
|
}>) | undefined;
|
|
5135
5766
|
output?: {
|
|
5136
5767
|
path?: string | undefined;
|
|
@@ -5208,7 +5839,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5208
5839
|
devtoolModuleFilenameTemplate?: string | ((args_0: any) => any) | undefined;
|
|
5209
5840
|
devtoolFallbackModuleFilenameTemplate?: string | ((args_0: any) => any) | undefined;
|
|
5210
5841
|
} | undefined;
|
|
5211
|
-
target?: false | "node" | "
|
|
5842
|
+
target?: false | "node" | "web" | "webworker" | "es3" | "es5" | "es2015" | "es2016" | "es2017" | "es2018" | "es2019" | "es2020" | "es2021" | "es2022" | "browserslist" | "async-node" | `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" | "web" | "webworker" | "es3" | "es5" | "es2015" | "es2016" | "es2017" | "es2018" | "es2019" | "es2020" | "es2021" | "es2022" | "browserslist" | "async-node" | `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;
|
|
5212
5843
|
mode?: "production" | "development" | "none" | undefined;
|
|
5213
5844
|
experiments?: {
|
|
5214
5845
|
lazyCompilation?: boolean | undefined;
|
|
@@ -5220,7 +5851,6 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5220
5851
|
futureDefaults?: boolean | undefined;
|
|
5221
5852
|
rspackFuture?: {
|
|
5222
5853
|
newTreeshaking?: boolean | undefined;
|
|
5223
|
-
disableApplyEntryLazily?: boolean | undefined;
|
|
5224
5854
|
bundlerInfo?: {
|
|
5225
5855
|
version?: string | undefined;
|
|
5226
5856
|
force?: boolean | "version"[] | undefined;
|
|
@@ -5231,7 +5861,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5231
5861
|
context?: string | undefined;
|
|
5232
5862
|
dependencyType?: string | undefined;
|
|
5233
5863
|
request?: string | undefined;
|
|
5234
|
-
}, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | Record<string, string | string[]> | undefined, args_2: "module" | "promise" | "script" | "commonjs" | "
|
|
5864
|
+
}, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | Record<string, string | string[]> | undefined, args_2: "module" | "promise" | "script" | "commonjs" | "global" | "import" | "amd" | "commonjs2" | "var" | "assign" | "this" | "window" | "self" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd" | "umd2" | "jsonp" | "system" | "node-commonjs" | undefined, ...args_3: unknown[]) => void, ...args_2: unknown[]) => unknown) | ((args_0: {
|
|
5235
5865
|
context?: string | undefined;
|
|
5236
5866
|
dependencyType?: string | undefined;
|
|
5237
5867
|
request?: string | undefined;
|
|
@@ -5239,12 +5869,12 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5239
5869
|
context?: string | undefined;
|
|
5240
5870
|
dependencyType?: string | undefined;
|
|
5241
5871
|
request?: string | undefined;
|
|
5242
|
-
}, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | Record<string, string | string[]> | undefined, args_2: "module" | "promise" | "script" | "commonjs" | "
|
|
5872
|
+
}, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | Record<string, string | string[]> | undefined, args_2: "module" | "promise" | "script" | "commonjs" | "global" | "import" | "amd" | "commonjs2" | "var" | "assign" | "this" | "window" | "self" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd" | "umd2" | "jsonp" | "system" | "node-commonjs" | undefined, ...args_3: unknown[]) => void, ...args_2: unknown[]) => unknown) | ((args_0: {
|
|
5243
5873
|
context?: string | undefined;
|
|
5244
5874
|
dependencyType?: string | undefined;
|
|
5245
5875
|
request?: string | undefined;
|
|
5246
5876
|
}, ...args_1: unknown[]) => Promise<string | boolean | string[] | Record<string, string | string[]>>))[] | undefined;
|
|
5247
|
-
externalsType?: "module" | "promise" | "script" | "commonjs" | "
|
|
5877
|
+
externalsType?: "module" | "promise" | "script" | "commonjs" | "global" | "import" | "amd" | "commonjs2" | "var" | "assign" | "this" | "window" | "self" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd" | "umd2" | "jsonp" | "system" | "node-commonjs" | undefined;
|
|
5248
5878
|
externalsPresets?: {
|
|
5249
5879
|
node?: boolean | undefined;
|
|
5250
5880
|
web?: boolean | undefined;
|
|
@@ -5314,6 +5944,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5314
5944
|
usedExports?: boolean | undefined;
|
|
5315
5945
|
providedExports?: boolean | undefined;
|
|
5316
5946
|
optimizationBailout?: boolean | undefined;
|
|
5947
|
+
orphanModules?: boolean | undefined;
|
|
5317
5948
|
} | undefined;
|
|
5318
5949
|
snapshot?: {
|
|
5319
5950
|
module?: {
|
|
@@ -5333,6 +5964,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5333
5964
|
mergeDuplicateChunks?: boolean | undefined;
|
|
5334
5965
|
splitChunks?: false | {
|
|
5335
5966
|
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
5967
|
+
defaultSizeTypes?: string[] | undefined;
|
|
5336
5968
|
minChunks?: number | undefined;
|
|
5337
5969
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
5338
5970
|
minSize?: number | undefined;
|
|
@@ -5342,6 +5974,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5342
5974
|
automaticNameDelimiter?: string | undefined;
|
|
5343
5975
|
cacheGroups?: Record<string, false | {
|
|
5344
5976
|
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
5977
|
+
defaultSizeTypes?: string[] | undefined;
|
|
5345
5978
|
minChunks?: number | undefined;
|
|
5346
5979
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
5347
5980
|
minSize?: number | undefined;
|
|
@@ -5397,6 +6030,15 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5397
6030
|
maxSize?: number | undefined;
|
|
5398
6031
|
} | undefined;
|
|
5399
6032
|
} | undefined;
|
|
6033
|
+
css?: {
|
|
6034
|
+
namedExports?: boolean | undefined;
|
|
6035
|
+
} | undefined;
|
|
6036
|
+
"css/auto"?: {
|
|
6037
|
+
namedExports?: boolean | undefined;
|
|
6038
|
+
} | undefined;
|
|
6039
|
+
"css/module"?: {
|
|
6040
|
+
namedExports?: boolean | undefined;
|
|
6041
|
+
} | undefined;
|
|
5400
6042
|
javascript?: {
|
|
5401
6043
|
dynamicImportMode?: "eager" | "lazy" | undefined;
|
|
5402
6044
|
dynamicImportPreload?: number | boolean | undefined;
|
|
@@ -5429,6 +6071,20 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5429
6071
|
filename?: string | undefined;
|
|
5430
6072
|
publicPath?: string | undefined;
|
|
5431
6073
|
} | undefined;
|
|
6074
|
+
css?: {
|
|
6075
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
6076
|
+
exportsOnly?: boolean | undefined;
|
|
6077
|
+
} | undefined;
|
|
6078
|
+
"css/auto"?: {
|
|
6079
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
6080
|
+
exportsOnly?: boolean | undefined;
|
|
6081
|
+
localIdentName?: string | undefined;
|
|
6082
|
+
} | undefined;
|
|
6083
|
+
"css/module"?: {
|
|
6084
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
6085
|
+
exportsOnly?: boolean | undefined;
|
|
6086
|
+
localIdentName?: string | undefined;
|
|
6087
|
+
} | undefined;
|
|
5432
6088
|
} | undefined;
|
|
5433
6089
|
noParse?: string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
|
|
5434
6090
|
} | undefined;
|
|
@@ -5463,6 +6119,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5463
6119
|
} | undefined;
|
|
5464
6120
|
umdNamedDefine?: boolean | undefined;
|
|
5465
6121
|
} | undefined;
|
|
6122
|
+
dependOn?: string | string[] | undefined;
|
|
5466
6123
|
}> | ((...args: unknown[]) => string | string[] | Record<string, string | string[] | {
|
|
5467
6124
|
import: (string | string[]) & (string | string[] | undefined);
|
|
5468
6125
|
runtime?: string | false | undefined;
|
|
@@ -5489,6 +6146,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5489
6146
|
} | undefined;
|
|
5490
6147
|
umdNamedDefine?: boolean | undefined;
|
|
5491
6148
|
} | undefined;
|
|
6149
|
+
dependOn?: string | string[] | undefined;
|
|
5492
6150
|
}>) | undefined;
|
|
5493
6151
|
output?: {
|
|
5494
6152
|
path?: string | undefined;
|
|
@@ -5566,7 +6224,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5566
6224
|
devtoolModuleFilenameTemplate?: string | ((args_0: any) => any) | undefined;
|
|
5567
6225
|
devtoolFallbackModuleFilenameTemplate?: string | ((args_0: any) => any) | undefined;
|
|
5568
6226
|
} | undefined;
|
|
5569
|
-
target?: false | "node" | "
|
|
6227
|
+
target?: false | "node" | "web" | "webworker" | "es3" | "es5" | "es2015" | "es2016" | "es2017" | "es2018" | "es2019" | "es2020" | "es2021" | "es2022" | "browserslist" | "async-node" | `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" | "web" | "webworker" | "es3" | "es5" | "es2015" | "es2016" | "es2017" | "es2018" | "es2019" | "es2020" | "es2021" | "es2022" | "browserslist" | "async-node" | `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;
|
|
5570
6228
|
mode?: "production" | "development" | "none" | undefined;
|
|
5571
6229
|
experiments?: {
|
|
5572
6230
|
lazyCompilation?: boolean | undefined;
|
|
@@ -5578,7 +6236,6 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5578
6236
|
futureDefaults?: boolean | undefined;
|
|
5579
6237
|
rspackFuture?: {
|
|
5580
6238
|
newTreeshaking?: boolean | undefined;
|
|
5581
|
-
disableApplyEntryLazily?: boolean | undefined;
|
|
5582
6239
|
bundlerInfo?: {
|
|
5583
6240
|
version?: string | undefined;
|
|
5584
6241
|
force?: boolean | "version"[] | undefined;
|
|
@@ -5589,7 +6246,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5589
6246
|
context?: string | undefined;
|
|
5590
6247
|
dependencyType?: string | undefined;
|
|
5591
6248
|
request?: string | undefined;
|
|
5592
|
-
}, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | Record<string, string | string[]> | undefined, args_2: "module" | "promise" | "script" | "commonjs" | "
|
|
6249
|
+
}, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | Record<string, string | string[]> | undefined, args_2: "module" | "promise" | "script" | "commonjs" | "global" | "import" | "amd" | "commonjs2" | "var" | "assign" | "this" | "window" | "self" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd" | "umd2" | "jsonp" | "system" | "node-commonjs" | undefined, ...args_3: unknown[]) => void, ...args_2: unknown[]) => unknown) | ((args_0: {
|
|
5593
6250
|
context?: string | undefined;
|
|
5594
6251
|
dependencyType?: string | undefined;
|
|
5595
6252
|
request?: string | undefined;
|
|
@@ -5597,12 +6254,12 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5597
6254
|
context?: string | undefined;
|
|
5598
6255
|
dependencyType?: string | undefined;
|
|
5599
6256
|
request?: string | undefined;
|
|
5600
|
-
}, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | Record<string, string | string[]> | undefined, args_2: "module" | "promise" | "script" | "commonjs" | "
|
|
6257
|
+
}, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | Record<string, string | string[]> | undefined, args_2: "module" | "promise" | "script" | "commonjs" | "global" | "import" | "amd" | "commonjs2" | "var" | "assign" | "this" | "window" | "self" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd" | "umd2" | "jsonp" | "system" | "node-commonjs" | undefined, ...args_3: unknown[]) => void, ...args_2: unknown[]) => unknown) | ((args_0: {
|
|
5601
6258
|
context?: string | undefined;
|
|
5602
6259
|
dependencyType?: string | undefined;
|
|
5603
6260
|
request?: string | undefined;
|
|
5604
6261
|
}, ...args_1: unknown[]) => Promise<string | boolean | string[] | Record<string, string | string[]>>))[] | undefined;
|
|
5605
|
-
externalsType?: "module" | "promise" | "script" | "commonjs" | "
|
|
6262
|
+
externalsType?: "module" | "promise" | "script" | "commonjs" | "global" | "import" | "amd" | "commonjs2" | "var" | "assign" | "this" | "window" | "self" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd" | "umd2" | "jsonp" | "system" | "node-commonjs" | undefined;
|
|
5606
6263
|
externalsPresets?: {
|
|
5607
6264
|
node?: boolean | undefined;
|
|
5608
6265
|
web?: boolean | undefined;
|
|
@@ -5672,6 +6329,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5672
6329
|
usedExports?: boolean | undefined;
|
|
5673
6330
|
providedExports?: boolean | undefined;
|
|
5674
6331
|
optimizationBailout?: boolean | undefined;
|
|
6332
|
+
orphanModules?: boolean | undefined;
|
|
5675
6333
|
} | undefined;
|
|
5676
6334
|
snapshot?: {
|
|
5677
6335
|
module?: {
|
|
@@ -5691,6 +6349,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5691
6349
|
mergeDuplicateChunks?: boolean | undefined;
|
|
5692
6350
|
splitChunks?: false | {
|
|
5693
6351
|
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
6352
|
+
defaultSizeTypes?: string[] | undefined;
|
|
5694
6353
|
minChunks?: number | undefined;
|
|
5695
6354
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
5696
6355
|
minSize?: number | undefined;
|
|
@@ -5700,6 +6359,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5700
6359
|
automaticNameDelimiter?: string | undefined;
|
|
5701
6360
|
cacheGroups?: Record<string, false | {
|
|
5702
6361
|
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
6362
|
+
defaultSizeTypes?: string[] | undefined;
|
|
5703
6363
|
minChunks?: number | undefined;
|
|
5704
6364
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
5705
6365
|
minSize?: number | undefined;
|
|
@@ -5755,6 +6415,15 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5755
6415
|
maxSize?: number | undefined;
|
|
5756
6416
|
} | undefined;
|
|
5757
6417
|
} | undefined;
|
|
6418
|
+
css?: {
|
|
6419
|
+
namedExports?: boolean | undefined;
|
|
6420
|
+
} | undefined;
|
|
6421
|
+
"css/auto"?: {
|
|
6422
|
+
namedExports?: boolean | undefined;
|
|
6423
|
+
} | undefined;
|
|
6424
|
+
"css/module"?: {
|
|
6425
|
+
namedExports?: boolean | undefined;
|
|
6426
|
+
} | undefined;
|
|
5758
6427
|
javascript?: {
|
|
5759
6428
|
dynamicImportMode?: "eager" | "lazy" | undefined;
|
|
5760
6429
|
dynamicImportPreload?: number | boolean | undefined;
|
|
@@ -5787,6 +6456,20 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5787
6456
|
filename?: string | undefined;
|
|
5788
6457
|
publicPath?: string | undefined;
|
|
5789
6458
|
} | undefined;
|
|
6459
|
+
css?: {
|
|
6460
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
6461
|
+
exportsOnly?: boolean | undefined;
|
|
6462
|
+
} | undefined;
|
|
6463
|
+
"css/auto"?: {
|
|
6464
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
6465
|
+
exportsOnly?: boolean | undefined;
|
|
6466
|
+
localIdentName?: string | undefined;
|
|
6467
|
+
} | undefined;
|
|
6468
|
+
"css/module"?: {
|
|
6469
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
6470
|
+
exportsOnly?: boolean | undefined;
|
|
6471
|
+
localIdentName?: string | undefined;
|
|
6472
|
+
} | undefined;
|
|
5790
6473
|
} | undefined;
|
|
5791
6474
|
noParse?: string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
|
|
5792
6475
|
} | undefined;
|