@rspack/core 0.5.9-canary-89c5dce-20240402093536 → 0.5.9-canary-ff5bff8-20240403030946
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/builtin-plugin/CssModulesPlugin.d.ts +10 -0
- package/dist/builtin-plugin/CssModulesPlugin.js +6 -0
- package/dist/builtin-plugin/index.d.ts +2 -6
- package/dist/builtin-plugin/index.js +1 -15
- package/dist/config/adapter.js +59 -7
- package/dist/config/defaults.js +57 -28
- package/dist/config/zod.d.ts +621 -0
- package/dist/config/zod.js +40 -1
- package/dist/exports.d.ts +46 -0
- package/dist/rspackOptionsApply.js +3 -0
- package/package.json +4 -4
package/dist/config/zod.d.ts
CHANGED
|
@@ -1640,6 +1640,32 @@ declare const assetParserOptions: z.ZodObject<{
|
|
|
1640
1640
|
} | undefined;
|
|
1641
1641
|
}>;
|
|
1642
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>;
|
|
1643
1669
|
declare const javascriptParserOptions: z.ZodObject<{
|
|
1644
1670
|
dynamicImportMode: z.ZodOptional<z.ZodEnum<["eager", "lazy"]>>;
|
|
1645
1671
|
dynamicImportPreload: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodNumber]>>;
|
|
@@ -1675,6 +1701,27 @@ declare const parserOptionsByModuleTypeKnown: z.ZodObject<{
|
|
|
1675
1701
|
maxSize?: number | undefined;
|
|
1676
1702
|
} | undefined;
|
|
1677
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
|
+
}>>;
|
|
1678
1725
|
javascript: z.ZodOptional<z.ZodObject<{
|
|
1679
1726
|
dynamicImportMode: z.ZodOptional<z.ZodEnum<["eager", "lazy"]>>;
|
|
1680
1727
|
dynamicImportPreload: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodNumber]>>;
|
|
@@ -1697,6 +1744,15 @@ declare const parserOptionsByModuleTypeKnown: z.ZodObject<{
|
|
|
1697
1744
|
maxSize?: number | undefined;
|
|
1698
1745
|
} | undefined;
|
|
1699
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;
|
|
1700
1756
|
javascript?: {
|
|
1701
1757
|
dynamicImportMode?: "eager" | "lazy" | undefined;
|
|
1702
1758
|
dynamicImportPreload?: number | boolean | undefined;
|
|
@@ -1709,6 +1765,15 @@ declare const parserOptionsByModuleTypeKnown: z.ZodObject<{
|
|
|
1709
1765
|
maxSize?: number | undefined;
|
|
1710
1766
|
} | undefined;
|
|
1711
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;
|
|
1712
1777
|
javascript?: {
|
|
1713
1778
|
dynamicImportMode?: "eager" | "lazy" | undefined;
|
|
1714
1779
|
dynamicImportPreload?: number | boolean | undefined;
|
|
@@ -1737,6 +1802,27 @@ declare const parserOptionsByModuleType: z.ZodUnion<[z.ZodObject<{
|
|
|
1737
1802
|
maxSize?: number | undefined;
|
|
1738
1803
|
} | undefined;
|
|
1739
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
|
+
}>>;
|
|
1740
1826
|
javascript: z.ZodOptional<z.ZodObject<{
|
|
1741
1827
|
dynamicImportMode: z.ZodOptional<z.ZodEnum<["eager", "lazy"]>>;
|
|
1742
1828
|
dynamicImportPreload: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodNumber]>>;
|
|
@@ -1759,6 +1845,15 @@ declare const parserOptionsByModuleType: z.ZodUnion<[z.ZodObject<{
|
|
|
1759
1845
|
maxSize?: number | undefined;
|
|
1760
1846
|
} | undefined;
|
|
1761
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;
|
|
1762
1857
|
javascript?: {
|
|
1763
1858
|
dynamicImportMode?: "eager" | "lazy" | undefined;
|
|
1764
1859
|
dynamicImportPreload?: number | boolean | undefined;
|
|
@@ -1771,6 +1866,15 @@ declare const parserOptionsByModuleType: z.ZodUnion<[z.ZodObject<{
|
|
|
1771
1866
|
maxSize?: number | undefined;
|
|
1772
1867
|
} | undefined;
|
|
1773
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;
|
|
1774
1878
|
javascript?: {
|
|
1775
1879
|
dynamicImportMode?: "eager" | "lazy" | undefined;
|
|
1776
1880
|
dynamicImportPreload?: number | boolean | undefined;
|
|
@@ -1914,6 +2018,51 @@ declare const assetGeneratorOptions: z.ZodObject<{
|
|
|
1914
2018
|
publicPath?: string | undefined;
|
|
1915
2019
|
}>;
|
|
1916
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>;
|
|
1917
2066
|
declare const generatorOptionsByModuleTypeKnown: z.ZodObject<{
|
|
1918
2067
|
asset: z.ZodOptional<z.ZodObject<{
|
|
1919
2068
|
dataUrl: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
@@ -2005,6 +2154,42 @@ declare const generatorOptionsByModuleTypeKnown: z.ZodObject<{
|
|
|
2005
2154
|
filename?: string | undefined;
|
|
2006
2155
|
publicPath?: string | undefined;
|
|
2007
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
|
+
}>>;
|
|
2008
2193
|
}, "strict", z.ZodTypeAny, {
|
|
2009
2194
|
asset?: {
|
|
2010
2195
|
dataUrl?: {
|
|
@@ -2030,6 +2215,20 @@ declare const generatorOptionsByModuleTypeKnown: z.ZodObject<{
|
|
|
2030
2215
|
filename?: string | undefined;
|
|
2031
2216
|
publicPath?: string | undefined;
|
|
2032
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;
|
|
2033
2232
|
}, {
|
|
2034
2233
|
asset?: {
|
|
2035
2234
|
dataUrl?: {
|
|
@@ -2055,6 +2254,20 @@ declare const generatorOptionsByModuleTypeKnown: z.ZodObject<{
|
|
|
2055
2254
|
filename?: string | undefined;
|
|
2056
2255
|
publicPath?: string | undefined;
|
|
2057
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;
|
|
2058
2271
|
}>;
|
|
2059
2272
|
export type GeneratorOptionsByModuleTypeKnown = z.infer<typeof generatorOptionsByModuleTypeKnown>;
|
|
2060
2273
|
declare const generatorOptionsByModuleTypeUnknown: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
@@ -2150,6 +2363,42 @@ declare const generatorOptionsByModuleType: z.ZodUnion<[z.ZodObject<{
|
|
|
2150
2363
|
filename?: string | undefined;
|
|
2151
2364
|
publicPath?: string | undefined;
|
|
2152
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
|
+
}>>;
|
|
2153
2402
|
}, "strict", z.ZodTypeAny, {
|
|
2154
2403
|
asset?: {
|
|
2155
2404
|
dataUrl?: {
|
|
@@ -2175,6 +2424,20 @@ declare const generatorOptionsByModuleType: z.ZodUnion<[z.ZodObject<{
|
|
|
2175
2424
|
filename?: string | undefined;
|
|
2176
2425
|
publicPath?: string | undefined;
|
|
2177
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;
|
|
2178
2441
|
}, {
|
|
2179
2442
|
asset?: {
|
|
2180
2443
|
dataUrl?: {
|
|
@@ -2200,6 +2463,20 @@ declare const generatorOptionsByModuleType: z.ZodUnion<[z.ZodObject<{
|
|
|
2200
2463
|
filename?: string | undefined;
|
|
2201
2464
|
publicPath?: string | undefined;
|
|
2202
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;
|
|
2203
2480
|
}>, z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>>]>;
|
|
2204
2481
|
export type GeneratorOptionsByModuleType = z.infer<typeof generatorOptionsByModuleType>;
|
|
2205
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">]>;
|
|
@@ -2225,6 +2502,27 @@ declare const moduleOptions: z.ZodObject<{
|
|
|
2225
2502
|
maxSize?: number | undefined;
|
|
2226
2503
|
} | undefined;
|
|
2227
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
|
+
}>>;
|
|
2228
2526
|
javascript: z.ZodOptional<z.ZodObject<{
|
|
2229
2527
|
dynamicImportMode: z.ZodOptional<z.ZodEnum<["eager", "lazy"]>>;
|
|
2230
2528
|
dynamicImportPreload: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodNumber]>>;
|
|
@@ -2247,6 +2545,15 @@ declare const moduleOptions: z.ZodObject<{
|
|
|
2247
2545
|
maxSize?: number | undefined;
|
|
2248
2546
|
} | undefined;
|
|
2249
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;
|
|
2250
2557
|
javascript?: {
|
|
2251
2558
|
dynamicImportMode?: "eager" | "lazy" | undefined;
|
|
2252
2559
|
dynamicImportPreload?: number | boolean | undefined;
|
|
@@ -2259,6 +2566,15 @@ declare const moduleOptions: z.ZodObject<{
|
|
|
2259
2566
|
maxSize?: number | undefined;
|
|
2260
2567
|
} | undefined;
|
|
2261
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;
|
|
2262
2578
|
javascript?: {
|
|
2263
2579
|
dynamicImportMode?: "eager" | "lazy" | undefined;
|
|
2264
2580
|
dynamicImportPreload?: number | boolean | undefined;
|
|
@@ -2357,6 +2673,42 @@ declare const moduleOptions: z.ZodObject<{
|
|
|
2357
2673
|
filename?: string | undefined;
|
|
2358
2674
|
publicPath?: string | undefined;
|
|
2359
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
|
+
}>>;
|
|
2360
2712
|
}, "strict", z.ZodTypeAny, {
|
|
2361
2713
|
asset?: {
|
|
2362
2714
|
dataUrl?: {
|
|
@@ -2382,6 +2734,20 @@ declare const moduleOptions: z.ZodObject<{
|
|
|
2382
2734
|
filename?: string | undefined;
|
|
2383
2735
|
publicPath?: string | undefined;
|
|
2384
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;
|
|
2385
2751
|
}, {
|
|
2386
2752
|
asset?: {
|
|
2387
2753
|
dataUrl?: {
|
|
@@ -2407,6 +2773,20 @@ declare const moduleOptions: z.ZodObject<{
|
|
|
2407
2773
|
filename?: string | undefined;
|
|
2408
2774
|
publicPath?: string | undefined;
|
|
2409
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;
|
|
2410
2790
|
}>, z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>>]>>;
|
|
2411
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">]>>;
|
|
2412
2792
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -2418,6 +2798,15 @@ declare const moduleOptions: z.ZodObject<{
|
|
|
2418
2798
|
maxSize?: number | undefined;
|
|
2419
2799
|
} | undefined;
|
|
2420
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;
|
|
2421
2810
|
javascript?: {
|
|
2422
2811
|
dynamicImportMode?: "eager" | "lazy" | undefined;
|
|
2423
2812
|
dynamicImportPreload?: number | boolean | undefined;
|
|
@@ -2450,6 +2839,20 @@ declare const moduleOptions: z.ZodObject<{
|
|
|
2450
2839
|
filename?: string | undefined;
|
|
2451
2840
|
publicPath?: string | undefined;
|
|
2452
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;
|
|
2453
2856
|
} | undefined;
|
|
2454
2857
|
noParse?: string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
|
|
2455
2858
|
}, {
|
|
@@ -2461,6 +2864,15 @@ declare const moduleOptions: z.ZodObject<{
|
|
|
2461
2864
|
maxSize?: number | undefined;
|
|
2462
2865
|
} | undefined;
|
|
2463
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;
|
|
2464
2876
|
javascript?: {
|
|
2465
2877
|
dynamicImportMode?: "eager" | "lazy" | undefined;
|
|
2466
2878
|
dynamicImportPreload?: number | boolean | undefined;
|
|
@@ -2493,6 +2905,20 @@ declare const moduleOptions: z.ZodObject<{
|
|
|
2493
2905
|
filename?: string | undefined;
|
|
2494
2906
|
publicPath?: string | undefined;
|
|
2495
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;
|
|
2496
2922
|
} | undefined;
|
|
2497
2923
|
noParse?: string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
|
|
2498
2924
|
}>;
|
|
@@ -4826,6 +5252,27 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
4826
5252
|
maxSize?: number | undefined;
|
|
4827
5253
|
} | undefined;
|
|
4828
5254
|
}>>;
|
|
5255
|
+
css: z.ZodOptional<z.ZodObject<{
|
|
5256
|
+
namedExports: z.ZodOptional<z.ZodBoolean>;
|
|
5257
|
+
}, "strict", z.ZodTypeAny, {
|
|
5258
|
+
namedExports?: boolean | undefined;
|
|
5259
|
+
}, {
|
|
5260
|
+
namedExports?: boolean | undefined;
|
|
5261
|
+
}>>;
|
|
5262
|
+
"css/auto": z.ZodOptional<z.ZodObject<{
|
|
5263
|
+
namedExports: z.ZodOptional<z.ZodBoolean>;
|
|
5264
|
+
}, "strict", z.ZodTypeAny, {
|
|
5265
|
+
namedExports?: boolean | undefined;
|
|
5266
|
+
}, {
|
|
5267
|
+
namedExports?: boolean | undefined;
|
|
5268
|
+
}>>;
|
|
5269
|
+
"css/module": z.ZodOptional<z.ZodObject<{
|
|
5270
|
+
namedExports: z.ZodOptional<z.ZodBoolean>;
|
|
5271
|
+
}, "strict", z.ZodTypeAny, {
|
|
5272
|
+
namedExports?: boolean | undefined;
|
|
5273
|
+
}, {
|
|
5274
|
+
namedExports?: boolean | undefined;
|
|
5275
|
+
}>>;
|
|
4829
5276
|
javascript: z.ZodOptional<z.ZodObject<{
|
|
4830
5277
|
dynamicImportMode: z.ZodOptional<z.ZodEnum<["eager", "lazy"]>>;
|
|
4831
5278
|
dynamicImportPreload: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodNumber]>>;
|
|
@@ -4848,6 +5295,15 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
4848
5295
|
maxSize?: number | undefined;
|
|
4849
5296
|
} | undefined;
|
|
4850
5297
|
} | undefined;
|
|
5298
|
+
css?: {
|
|
5299
|
+
namedExports?: boolean | undefined;
|
|
5300
|
+
} | undefined;
|
|
5301
|
+
"css/auto"?: {
|
|
5302
|
+
namedExports?: boolean | undefined;
|
|
5303
|
+
} | undefined;
|
|
5304
|
+
"css/module"?: {
|
|
5305
|
+
namedExports?: boolean | undefined;
|
|
5306
|
+
} | undefined;
|
|
4851
5307
|
javascript?: {
|
|
4852
5308
|
dynamicImportMode?: "eager" | "lazy" | undefined;
|
|
4853
5309
|
dynamicImportPreload?: number | boolean | undefined;
|
|
@@ -4860,6 +5316,15 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
4860
5316
|
maxSize?: number | undefined;
|
|
4861
5317
|
} | undefined;
|
|
4862
5318
|
} | undefined;
|
|
5319
|
+
css?: {
|
|
5320
|
+
namedExports?: boolean | undefined;
|
|
5321
|
+
} | undefined;
|
|
5322
|
+
"css/auto"?: {
|
|
5323
|
+
namedExports?: boolean | undefined;
|
|
5324
|
+
} | undefined;
|
|
5325
|
+
"css/module"?: {
|
|
5326
|
+
namedExports?: boolean | undefined;
|
|
5327
|
+
} | undefined;
|
|
4863
5328
|
javascript?: {
|
|
4864
5329
|
dynamicImportMode?: "eager" | "lazy" | undefined;
|
|
4865
5330
|
dynamicImportPreload?: number | boolean | undefined;
|
|
@@ -4958,6 +5423,42 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
4958
5423
|
filename?: string | undefined;
|
|
4959
5424
|
publicPath?: string | undefined;
|
|
4960
5425
|
}>>;
|
|
5426
|
+
css: z.ZodOptional<z.ZodObject<{
|
|
5427
|
+
exportsConvention: z.ZodOptional<z.ZodEnum<["as-is", "camel-case", "camel-case-only", "dashes", "dashes-only"]>>;
|
|
5428
|
+
exportsOnly: z.ZodOptional<z.ZodBoolean>;
|
|
5429
|
+
}, "strict", z.ZodTypeAny, {
|
|
5430
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
5431
|
+
exportsOnly?: boolean | undefined;
|
|
5432
|
+
}, {
|
|
5433
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
5434
|
+
exportsOnly?: boolean | undefined;
|
|
5435
|
+
}>>;
|
|
5436
|
+
"css/auto": z.ZodOptional<z.ZodObject<{
|
|
5437
|
+
exportsConvention: z.ZodOptional<z.ZodEnum<["as-is", "camel-case", "camel-case-only", "dashes", "dashes-only"]>>;
|
|
5438
|
+
exportsOnly: z.ZodOptional<z.ZodBoolean>;
|
|
5439
|
+
localIdentName: z.ZodOptional<z.ZodString>;
|
|
5440
|
+
}, "strict", z.ZodTypeAny, {
|
|
5441
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
5442
|
+
exportsOnly?: boolean | undefined;
|
|
5443
|
+
localIdentName?: string | undefined;
|
|
5444
|
+
}, {
|
|
5445
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
5446
|
+
exportsOnly?: boolean | undefined;
|
|
5447
|
+
localIdentName?: string | undefined;
|
|
5448
|
+
}>>;
|
|
5449
|
+
"css/module": z.ZodOptional<z.ZodObject<{
|
|
5450
|
+
exportsConvention: z.ZodOptional<z.ZodEnum<["as-is", "camel-case", "camel-case-only", "dashes", "dashes-only"]>>;
|
|
5451
|
+
exportsOnly: z.ZodOptional<z.ZodBoolean>;
|
|
5452
|
+
localIdentName: z.ZodOptional<z.ZodString>;
|
|
5453
|
+
}, "strict", z.ZodTypeAny, {
|
|
5454
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
5455
|
+
exportsOnly?: boolean | undefined;
|
|
5456
|
+
localIdentName?: string | undefined;
|
|
5457
|
+
}, {
|
|
5458
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
5459
|
+
exportsOnly?: boolean | undefined;
|
|
5460
|
+
localIdentName?: string | undefined;
|
|
5461
|
+
}>>;
|
|
4961
5462
|
}, "strict", z.ZodTypeAny, {
|
|
4962
5463
|
asset?: {
|
|
4963
5464
|
dataUrl?: {
|
|
@@ -4983,6 +5484,20 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
4983
5484
|
filename?: string | undefined;
|
|
4984
5485
|
publicPath?: string | undefined;
|
|
4985
5486
|
} | undefined;
|
|
5487
|
+
css?: {
|
|
5488
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
5489
|
+
exportsOnly?: boolean | undefined;
|
|
5490
|
+
} | undefined;
|
|
5491
|
+
"css/auto"?: {
|
|
5492
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
5493
|
+
exportsOnly?: boolean | undefined;
|
|
5494
|
+
localIdentName?: string | undefined;
|
|
5495
|
+
} | undefined;
|
|
5496
|
+
"css/module"?: {
|
|
5497
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
5498
|
+
exportsOnly?: boolean | undefined;
|
|
5499
|
+
localIdentName?: string | undefined;
|
|
5500
|
+
} | undefined;
|
|
4986
5501
|
}, {
|
|
4987
5502
|
asset?: {
|
|
4988
5503
|
dataUrl?: {
|
|
@@ -5008,6 +5523,20 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5008
5523
|
filename?: string | undefined;
|
|
5009
5524
|
publicPath?: string | undefined;
|
|
5010
5525
|
} | undefined;
|
|
5526
|
+
css?: {
|
|
5527
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
5528
|
+
exportsOnly?: boolean | undefined;
|
|
5529
|
+
} | undefined;
|
|
5530
|
+
"css/auto"?: {
|
|
5531
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
5532
|
+
exportsOnly?: boolean | undefined;
|
|
5533
|
+
localIdentName?: string | undefined;
|
|
5534
|
+
} | undefined;
|
|
5535
|
+
"css/module"?: {
|
|
5536
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
5537
|
+
exportsOnly?: boolean | undefined;
|
|
5538
|
+
localIdentName?: string | undefined;
|
|
5539
|
+
} | undefined;
|
|
5011
5540
|
}>, z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>>]>>;
|
|
5012
5541
|
noParse: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>, z.ZodFunction<z.ZodTuple<[z.ZodString], z.ZodUnknown>, z.ZodBoolean>]>, z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>, z.ZodFunction<z.ZodTuple<[z.ZodString], z.ZodUnknown>, z.ZodBoolean>]>, "many">]>>;
|
|
5013
5542
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -5019,6 +5548,15 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5019
5548
|
maxSize?: number | undefined;
|
|
5020
5549
|
} | undefined;
|
|
5021
5550
|
} | undefined;
|
|
5551
|
+
css?: {
|
|
5552
|
+
namedExports?: boolean | undefined;
|
|
5553
|
+
} | undefined;
|
|
5554
|
+
"css/auto"?: {
|
|
5555
|
+
namedExports?: boolean | undefined;
|
|
5556
|
+
} | undefined;
|
|
5557
|
+
"css/module"?: {
|
|
5558
|
+
namedExports?: boolean | undefined;
|
|
5559
|
+
} | undefined;
|
|
5022
5560
|
javascript?: {
|
|
5023
5561
|
dynamicImportMode?: "eager" | "lazy" | undefined;
|
|
5024
5562
|
dynamicImportPreload?: number | boolean | undefined;
|
|
@@ -5051,6 +5589,20 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5051
5589
|
filename?: string | undefined;
|
|
5052
5590
|
publicPath?: string | undefined;
|
|
5053
5591
|
} | undefined;
|
|
5592
|
+
css?: {
|
|
5593
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
5594
|
+
exportsOnly?: boolean | undefined;
|
|
5595
|
+
} | undefined;
|
|
5596
|
+
"css/auto"?: {
|
|
5597
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
5598
|
+
exportsOnly?: boolean | undefined;
|
|
5599
|
+
localIdentName?: string | undefined;
|
|
5600
|
+
} | undefined;
|
|
5601
|
+
"css/module"?: {
|
|
5602
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
5603
|
+
exportsOnly?: boolean | undefined;
|
|
5604
|
+
localIdentName?: string | undefined;
|
|
5605
|
+
} | undefined;
|
|
5054
5606
|
} | undefined;
|
|
5055
5607
|
noParse?: string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
|
|
5056
5608
|
}, {
|
|
@@ -5062,6 +5614,15 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5062
5614
|
maxSize?: number | undefined;
|
|
5063
5615
|
} | undefined;
|
|
5064
5616
|
} | undefined;
|
|
5617
|
+
css?: {
|
|
5618
|
+
namedExports?: boolean | undefined;
|
|
5619
|
+
} | undefined;
|
|
5620
|
+
"css/auto"?: {
|
|
5621
|
+
namedExports?: boolean | undefined;
|
|
5622
|
+
} | undefined;
|
|
5623
|
+
"css/module"?: {
|
|
5624
|
+
namedExports?: boolean | undefined;
|
|
5625
|
+
} | undefined;
|
|
5065
5626
|
javascript?: {
|
|
5066
5627
|
dynamicImportMode?: "eager" | "lazy" | undefined;
|
|
5067
5628
|
dynamicImportPreload?: number | boolean | undefined;
|
|
@@ -5094,6 +5655,20 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5094
5655
|
filename?: string | undefined;
|
|
5095
5656
|
publicPath?: string | undefined;
|
|
5096
5657
|
} | undefined;
|
|
5658
|
+
css?: {
|
|
5659
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
5660
|
+
exportsOnly?: boolean | undefined;
|
|
5661
|
+
} | undefined;
|
|
5662
|
+
"css/auto"?: {
|
|
5663
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
5664
|
+
exportsOnly?: boolean | undefined;
|
|
5665
|
+
localIdentName?: string | undefined;
|
|
5666
|
+
} | undefined;
|
|
5667
|
+
"css/module"?: {
|
|
5668
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
5669
|
+
exportsOnly?: boolean | undefined;
|
|
5670
|
+
localIdentName?: string | undefined;
|
|
5671
|
+
} | undefined;
|
|
5097
5672
|
} | undefined;
|
|
5098
5673
|
noParse?: string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
|
|
5099
5674
|
}>>;
|
|
@@ -5422,6 +5997,15 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5422
5997
|
maxSize?: number | undefined;
|
|
5423
5998
|
} | undefined;
|
|
5424
5999
|
} | undefined;
|
|
6000
|
+
css?: {
|
|
6001
|
+
namedExports?: boolean | undefined;
|
|
6002
|
+
} | undefined;
|
|
6003
|
+
"css/auto"?: {
|
|
6004
|
+
namedExports?: boolean | undefined;
|
|
6005
|
+
} | undefined;
|
|
6006
|
+
"css/module"?: {
|
|
6007
|
+
namedExports?: boolean | undefined;
|
|
6008
|
+
} | undefined;
|
|
5425
6009
|
javascript?: {
|
|
5426
6010
|
dynamicImportMode?: "eager" | "lazy" | undefined;
|
|
5427
6011
|
dynamicImportPreload?: number | boolean | undefined;
|
|
@@ -5454,6 +6038,20 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5454
6038
|
filename?: string | undefined;
|
|
5455
6039
|
publicPath?: string | undefined;
|
|
5456
6040
|
} | undefined;
|
|
6041
|
+
css?: {
|
|
6042
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
6043
|
+
exportsOnly?: boolean | undefined;
|
|
6044
|
+
} | undefined;
|
|
6045
|
+
"css/auto"?: {
|
|
6046
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
6047
|
+
exportsOnly?: boolean | undefined;
|
|
6048
|
+
localIdentName?: string | undefined;
|
|
6049
|
+
} | undefined;
|
|
6050
|
+
"css/module"?: {
|
|
6051
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
6052
|
+
exportsOnly?: boolean | undefined;
|
|
6053
|
+
localIdentName?: string | undefined;
|
|
6054
|
+
} | undefined;
|
|
5457
6055
|
} | undefined;
|
|
5458
6056
|
noParse?: string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
|
|
5459
6057
|
} | undefined;
|
|
@@ -5782,6 +6380,15 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5782
6380
|
maxSize?: number | undefined;
|
|
5783
6381
|
} | undefined;
|
|
5784
6382
|
} | undefined;
|
|
6383
|
+
css?: {
|
|
6384
|
+
namedExports?: boolean | undefined;
|
|
6385
|
+
} | undefined;
|
|
6386
|
+
"css/auto"?: {
|
|
6387
|
+
namedExports?: boolean | undefined;
|
|
6388
|
+
} | undefined;
|
|
6389
|
+
"css/module"?: {
|
|
6390
|
+
namedExports?: boolean | undefined;
|
|
6391
|
+
} | undefined;
|
|
5785
6392
|
javascript?: {
|
|
5786
6393
|
dynamicImportMode?: "eager" | "lazy" | undefined;
|
|
5787
6394
|
dynamicImportPreload?: number | boolean | undefined;
|
|
@@ -5814,6 +6421,20 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5814
6421
|
filename?: string | undefined;
|
|
5815
6422
|
publicPath?: string | undefined;
|
|
5816
6423
|
} | undefined;
|
|
6424
|
+
css?: {
|
|
6425
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
6426
|
+
exportsOnly?: boolean | undefined;
|
|
6427
|
+
} | undefined;
|
|
6428
|
+
"css/auto"?: {
|
|
6429
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
6430
|
+
exportsOnly?: boolean | undefined;
|
|
6431
|
+
localIdentName?: string | undefined;
|
|
6432
|
+
} | undefined;
|
|
6433
|
+
"css/module"?: {
|
|
6434
|
+
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
6435
|
+
exportsOnly?: boolean | undefined;
|
|
6436
|
+
localIdentName?: string | undefined;
|
|
6437
|
+
} | undefined;
|
|
5817
6438
|
} | undefined;
|
|
5818
6439
|
noParse?: string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
|
|
5819
6440
|
} | undefined;
|