@rspack/core 0.6.3 → 0.6.4-canary-010ffa6-20240507093348
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 +3 -26
- package/dist/Compilation.js +165 -52
- package/dist/Compiler.js +15 -13
- package/dist/builtin-plugin/DynamicEntryPlugin.d.ts +11 -0
- package/dist/builtin-plugin/DynamicEntryPlugin.js +25 -0
- package/dist/builtin-plugin/EntryPlugin.d.ts +2 -1
- package/dist/builtin-plugin/EntryPlugin.js +3 -2
- package/dist/builtin-plugin/RuntimeChunkPlugin.d.ts +11 -0
- package/dist/builtin-plugin/RuntimeChunkPlugin.js +6 -0
- package/dist/builtin-plugin/css-extract/index.js +1 -3
- package/dist/builtin-plugin/index.d.ts +2 -0
- package/dist/builtin-plugin/index.js +2 -0
- package/dist/config/adapter.d.ts +1 -2
- package/dist/config/adapter.js +24 -7
- package/dist/config/defaults.js +44 -10
- package/dist/config/normalization.d.ts +6 -2
- package/dist/config/normalization.js +12 -8
- package/dist/config/zod.d.ts +725 -15
- package/dist/config/zod.js +15 -3
- package/dist/container/ContainerPlugin.js +1 -2
- package/dist/container/ModuleFederationPluginV1.js +2 -0
- package/dist/exports.d.ts +5 -0
- package/dist/exports.js +24 -21
- package/dist/lib/EntryOptionPlugin.js +1 -3
- package/dist/rspackOptionsApply.js +1 -5
- package/hot/emitter.js +20 -1
- package/package.json +4 -6
package/dist/config/zod.d.ts
CHANGED
|
@@ -931,6 +931,8 @@ declare const entry: z.ZodUnion<[z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnion
|
|
|
931
931
|
export type Entry = z.infer<typeof entry>;
|
|
932
932
|
declare const path: z.ZodString;
|
|
933
933
|
export type Path = z.infer<typeof path>;
|
|
934
|
+
declare const pathinfo: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"verbose">]>;
|
|
935
|
+
export type Pathinfo = z.infer<typeof pathinfo>;
|
|
934
936
|
declare const assetModuleFilename: z.ZodString;
|
|
935
937
|
export type AssetModuleFilename = z.infer<typeof assetModuleFilename>;
|
|
936
938
|
declare const webassemblyModuleFilename: z.ZodString;
|
|
@@ -1003,6 +1005,7 @@ declare const devtoolFallbackModuleFilenameTemplate: z.ZodUnion<[z.ZodString, z.
|
|
|
1003
1005
|
export type DevtoolFallbackModuleFilenameTemplate = z.infer<typeof devtoolFallbackModuleFilenameTemplate>;
|
|
1004
1006
|
declare const output: z.ZodObject<{
|
|
1005
1007
|
path: z.ZodOptional<z.ZodString>;
|
|
1008
|
+
pathinfo: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"verbose">]>>;
|
|
1006
1009
|
clean: z.ZodOptional<z.ZodBoolean>;
|
|
1007
1010
|
publicPath: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"auto">, z.ZodString]>>;
|
|
1008
1011
|
filename: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodFunction<z.ZodTuple<[z.ZodType<import("@rspack/binding").JsPathData, z.ZodTypeDef, import("@rspack/binding").JsPathData>, z.ZodOptional<z.ZodType<JsAssetInfo, z.ZodTypeDef, JsAssetInfo>>], z.ZodUnknown>, z.ZodString>]>>;
|
|
@@ -1150,6 +1153,7 @@ declare const output: z.ZodObject<{
|
|
|
1150
1153
|
devtoolFallbackModuleFilenameTemplate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodFunction<z.ZodTuple<[z.ZodAny], null>, z.ZodAny>]>>;
|
|
1151
1154
|
}, "strict", z.ZodTypeAny, {
|
|
1152
1155
|
path?: string | undefined;
|
|
1156
|
+
pathinfo?: boolean | "verbose" | undefined;
|
|
1153
1157
|
clean?: boolean | undefined;
|
|
1154
1158
|
publicPath?: string | undefined;
|
|
1155
1159
|
filename?: string | ((args_0: import("@rspack/binding").JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined;
|
|
@@ -1225,6 +1229,7 @@ declare const output: z.ZodObject<{
|
|
|
1225
1229
|
devtoolFallbackModuleFilenameTemplate?: string | ((args_0: any) => any) | undefined;
|
|
1226
1230
|
}, {
|
|
1227
1231
|
path?: string | undefined;
|
|
1232
|
+
pathinfo?: boolean | "verbose" | undefined;
|
|
1228
1233
|
clean?: boolean | undefined;
|
|
1229
1234
|
publicPath?: string | undefined;
|
|
1230
1235
|
filename?: string | ((args_0: import("@rspack/binding").JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined;
|
|
@@ -1671,16 +1676,22 @@ declare const javascriptParserOptions: z.ZodObject<{
|
|
|
1671
1676
|
dynamicImportPreload: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodNumber]>>;
|
|
1672
1677
|
dynamicImportPrefetch: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodNumber]>>;
|
|
1673
1678
|
url: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"relative">, z.ZodBoolean]>>;
|
|
1679
|
+
exprContextCritical: z.ZodOptional<z.ZodBoolean>;
|
|
1680
|
+
wrappedContextCritical: z.ZodOptional<z.ZodBoolean>;
|
|
1674
1681
|
}, "strict", z.ZodTypeAny, {
|
|
1675
1682
|
dynamicImportMode?: "eager" | "lazy" | undefined;
|
|
1676
1683
|
dynamicImportPreload?: number | boolean | undefined;
|
|
1677
1684
|
dynamicImportPrefetch?: number | boolean | undefined;
|
|
1678
1685
|
url?: boolean | "relative" | undefined;
|
|
1686
|
+
exprContextCritical?: boolean | undefined;
|
|
1687
|
+
wrappedContextCritical?: boolean | undefined;
|
|
1679
1688
|
}, {
|
|
1680
1689
|
dynamicImportMode?: "eager" | "lazy" | undefined;
|
|
1681
1690
|
dynamicImportPreload?: number | boolean | undefined;
|
|
1682
1691
|
dynamicImportPrefetch?: number | boolean | undefined;
|
|
1683
1692
|
url?: boolean | "relative" | undefined;
|
|
1693
|
+
exprContextCritical?: boolean | undefined;
|
|
1694
|
+
wrappedContextCritical?: boolean | undefined;
|
|
1684
1695
|
}>;
|
|
1685
1696
|
export type JavascriptParserOptions = z.infer<typeof javascriptParserOptions>;
|
|
1686
1697
|
declare const parserOptionsByModuleTypeKnown: z.ZodObject<{
|
|
@@ -1727,16 +1738,88 @@ declare const parserOptionsByModuleTypeKnown: z.ZodObject<{
|
|
|
1727
1738
|
dynamicImportPreload: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodNumber]>>;
|
|
1728
1739
|
dynamicImportPrefetch: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodNumber]>>;
|
|
1729
1740
|
url: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"relative">, z.ZodBoolean]>>;
|
|
1741
|
+
exprContextCritical: z.ZodOptional<z.ZodBoolean>;
|
|
1742
|
+
wrappedContextCritical: z.ZodOptional<z.ZodBoolean>;
|
|
1730
1743
|
}, "strict", z.ZodTypeAny, {
|
|
1731
1744
|
dynamicImportMode?: "eager" | "lazy" | undefined;
|
|
1732
1745
|
dynamicImportPreload?: number | boolean | undefined;
|
|
1733
1746
|
dynamicImportPrefetch?: number | boolean | undefined;
|
|
1734
1747
|
url?: boolean | "relative" | undefined;
|
|
1748
|
+
exprContextCritical?: boolean | undefined;
|
|
1749
|
+
wrappedContextCritical?: boolean | undefined;
|
|
1735
1750
|
}, {
|
|
1736
1751
|
dynamicImportMode?: "eager" | "lazy" | undefined;
|
|
1737
1752
|
dynamicImportPreload?: number | boolean | undefined;
|
|
1738
1753
|
dynamicImportPrefetch?: number | boolean | undefined;
|
|
1739
1754
|
url?: boolean | "relative" | undefined;
|
|
1755
|
+
exprContextCritical?: boolean | undefined;
|
|
1756
|
+
wrappedContextCritical?: boolean | undefined;
|
|
1757
|
+
}>>;
|
|
1758
|
+
"javascript/auto": z.ZodOptional<z.ZodObject<{
|
|
1759
|
+
dynamicImportMode: z.ZodOptional<z.ZodEnum<["eager", "lazy"]>>;
|
|
1760
|
+
dynamicImportPreload: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodNumber]>>;
|
|
1761
|
+
dynamicImportPrefetch: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodNumber]>>;
|
|
1762
|
+
url: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"relative">, z.ZodBoolean]>>;
|
|
1763
|
+
exprContextCritical: z.ZodOptional<z.ZodBoolean>;
|
|
1764
|
+
wrappedContextCritical: z.ZodOptional<z.ZodBoolean>;
|
|
1765
|
+
}, "strict", z.ZodTypeAny, {
|
|
1766
|
+
dynamicImportMode?: "eager" | "lazy" | undefined;
|
|
1767
|
+
dynamicImportPreload?: number | boolean | undefined;
|
|
1768
|
+
dynamicImportPrefetch?: number | boolean | undefined;
|
|
1769
|
+
url?: boolean | "relative" | undefined;
|
|
1770
|
+
exprContextCritical?: boolean | undefined;
|
|
1771
|
+
wrappedContextCritical?: boolean | undefined;
|
|
1772
|
+
}, {
|
|
1773
|
+
dynamicImportMode?: "eager" | "lazy" | undefined;
|
|
1774
|
+
dynamicImportPreload?: number | boolean | undefined;
|
|
1775
|
+
dynamicImportPrefetch?: number | boolean | undefined;
|
|
1776
|
+
url?: boolean | "relative" | undefined;
|
|
1777
|
+
exprContextCritical?: boolean | undefined;
|
|
1778
|
+
wrappedContextCritical?: boolean | undefined;
|
|
1779
|
+
}>>;
|
|
1780
|
+
"javascript/dynamic": z.ZodOptional<z.ZodObject<{
|
|
1781
|
+
dynamicImportMode: z.ZodOptional<z.ZodEnum<["eager", "lazy"]>>;
|
|
1782
|
+
dynamicImportPreload: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodNumber]>>;
|
|
1783
|
+
dynamicImportPrefetch: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodNumber]>>;
|
|
1784
|
+
url: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"relative">, z.ZodBoolean]>>;
|
|
1785
|
+
exprContextCritical: z.ZodOptional<z.ZodBoolean>;
|
|
1786
|
+
wrappedContextCritical: z.ZodOptional<z.ZodBoolean>;
|
|
1787
|
+
}, "strict", z.ZodTypeAny, {
|
|
1788
|
+
dynamicImportMode?: "eager" | "lazy" | undefined;
|
|
1789
|
+
dynamicImportPreload?: number | boolean | undefined;
|
|
1790
|
+
dynamicImportPrefetch?: number | boolean | undefined;
|
|
1791
|
+
url?: boolean | "relative" | undefined;
|
|
1792
|
+
exprContextCritical?: boolean | undefined;
|
|
1793
|
+
wrappedContextCritical?: boolean | undefined;
|
|
1794
|
+
}, {
|
|
1795
|
+
dynamicImportMode?: "eager" | "lazy" | undefined;
|
|
1796
|
+
dynamicImportPreload?: number | boolean | undefined;
|
|
1797
|
+
dynamicImportPrefetch?: number | boolean | undefined;
|
|
1798
|
+
url?: boolean | "relative" | undefined;
|
|
1799
|
+
exprContextCritical?: boolean | undefined;
|
|
1800
|
+
wrappedContextCritical?: boolean | undefined;
|
|
1801
|
+
}>>;
|
|
1802
|
+
"javascript/esm": z.ZodOptional<z.ZodObject<{
|
|
1803
|
+
dynamicImportMode: z.ZodOptional<z.ZodEnum<["eager", "lazy"]>>;
|
|
1804
|
+
dynamicImportPreload: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodNumber]>>;
|
|
1805
|
+
dynamicImportPrefetch: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodNumber]>>;
|
|
1806
|
+
url: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"relative">, z.ZodBoolean]>>;
|
|
1807
|
+
exprContextCritical: z.ZodOptional<z.ZodBoolean>;
|
|
1808
|
+
wrappedContextCritical: z.ZodOptional<z.ZodBoolean>;
|
|
1809
|
+
}, "strict", z.ZodTypeAny, {
|
|
1810
|
+
dynamicImportMode?: "eager" | "lazy" | undefined;
|
|
1811
|
+
dynamicImportPreload?: number | boolean | undefined;
|
|
1812
|
+
dynamicImportPrefetch?: number | boolean | undefined;
|
|
1813
|
+
url?: boolean | "relative" | undefined;
|
|
1814
|
+
exprContextCritical?: boolean | undefined;
|
|
1815
|
+
wrappedContextCritical?: boolean | undefined;
|
|
1816
|
+
}, {
|
|
1817
|
+
dynamicImportMode?: "eager" | "lazy" | undefined;
|
|
1818
|
+
dynamicImportPreload?: number | boolean | undefined;
|
|
1819
|
+
dynamicImportPrefetch?: number | boolean | undefined;
|
|
1820
|
+
url?: boolean | "relative" | undefined;
|
|
1821
|
+
exprContextCritical?: boolean | undefined;
|
|
1822
|
+
wrappedContextCritical?: boolean | undefined;
|
|
1740
1823
|
}>>;
|
|
1741
1824
|
}, "strict", z.ZodTypeAny, {
|
|
1742
1825
|
asset?: {
|
|
@@ -1758,6 +1841,32 @@ declare const parserOptionsByModuleTypeKnown: z.ZodObject<{
|
|
|
1758
1841
|
dynamicImportPreload?: number | boolean | undefined;
|
|
1759
1842
|
dynamicImportPrefetch?: number | boolean | undefined;
|
|
1760
1843
|
url?: boolean | "relative" | undefined;
|
|
1844
|
+
exprContextCritical?: boolean | undefined;
|
|
1845
|
+
wrappedContextCritical?: boolean | undefined;
|
|
1846
|
+
} | undefined;
|
|
1847
|
+
"javascript/auto"?: {
|
|
1848
|
+
dynamicImportMode?: "eager" | "lazy" | undefined;
|
|
1849
|
+
dynamicImportPreload?: number | boolean | undefined;
|
|
1850
|
+
dynamicImportPrefetch?: number | boolean | undefined;
|
|
1851
|
+
url?: boolean | "relative" | undefined;
|
|
1852
|
+
exprContextCritical?: boolean | undefined;
|
|
1853
|
+
wrappedContextCritical?: boolean | undefined;
|
|
1854
|
+
} | undefined;
|
|
1855
|
+
"javascript/dynamic"?: {
|
|
1856
|
+
dynamicImportMode?: "eager" | "lazy" | undefined;
|
|
1857
|
+
dynamicImportPreload?: number | boolean | undefined;
|
|
1858
|
+
dynamicImportPrefetch?: number | boolean | undefined;
|
|
1859
|
+
url?: boolean | "relative" | undefined;
|
|
1860
|
+
exprContextCritical?: boolean | undefined;
|
|
1861
|
+
wrappedContextCritical?: boolean | undefined;
|
|
1862
|
+
} | undefined;
|
|
1863
|
+
"javascript/esm"?: {
|
|
1864
|
+
dynamicImportMode?: "eager" | "lazy" | undefined;
|
|
1865
|
+
dynamicImportPreload?: number | boolean | undefined;
|
|
1866
|
+
dynamicImportPrefetch?: number | boolean | undefined;
|
|
1867
|
+
url?: boolean | "relative" | undefined;
|
|
1868
|
+
exprContextCritical?: boolean | undefined;
|
|
1869
|
+
wrappedContextCritical?: boolean | undefined;
|
|
1761
1870
|
} | undefined;
|
|
1762
1871
|
}, {
|
|
1763
1872
|
asset?: {
|
|
@@ -1779,6 +1888,32 @@ declare const parserOptionsByModuleTypeKnown: z.ZodObject<{
|
|
|
1779
1888
|
dynamicImportPreload?: number | boolean | undefined;
|
|
1780
1889
|
dynamicImportPrefetch?: number | boolean | undefined;
|
|
1781
1890
|
url?: boolean | "relative" | undefined;
|
|
1891
|
+
exprContextCritical?: boolean | undefined;
|
|
1892
|
+
wrappedContextCritical?: boolean | undefined;
|
|
1893
|
+
} | undefined;
|
|
1894
|
+
"javascript/auto"?: {
|
|
1895
|
+
dynamicImportMode?: "eager" | "lazy" | undefined;
|
|
1896
|
+
dynamicImportPreload?: number | boolean | undefined;
|
|
1897
|
+
dynamicImportPrefetch?: number | boolean | undefined;
|
|
1898
|
+
url?: boolean | "relative" | undefined;
|
|
1899
|
+
exprContextCritical?: boolean | undefined;
|
|
1900
|
+
wrappedContextCritical?: boolean | undefined;
|
|
1901
|
+
} | undefined;
|
|
1902
|
+
"javascript/dynamic"?: {
|
|
1903
|
+
dynamicImportMode?: "eager" | "lazy" | undefined;
|
|
1904
|
+
dynamicImportPreload?: number | boolean | undefined;
|
|
1905
|
+
dynamicImportPrefetch?: number | boolean | undefined;
|
|
1906
|
+
url?: boolean | "relative" | undefined;
|
|
1907
|
+
exprContextCritical?: boolean | undefined;
|
|
1908
|
+
wrappedContextCritical?: boolean | undefined;
|
|
1909
|
+
} | undefined;
|
|
1910
|
+
"javascript/esm"?: {
|
|
1911
|
+
dynamicImportMode?: "eager" | "lazy" | undefined;
|
|
1912
|
+
dynamicImportPreload?: number | boolean | undefined;
|
|
1913
|
+
dynamicImportPrefetch?: number | boolean | undefined;
|
|
1914
|
+
url?: boolean | "relative" | undefined;
|
|
1915
|
+
exprContextCritical?: boolean | undefined;
|
|
1916
|
+
wrappedContextCritical?: boolean | undefined;
|
|
1782
1917
|
} | undefined;
|
|
1783
1918
|
}>;
|
|
1784
1919
|
export type ParserOptionsByModuleTypeKnown = z.infer<typeof parserOptionsByModuleTypeKnown>;
|
|
@@ -1828,16 +1963,88 @@ declare const parserOptionsByModuleType: z.ZodUnion<[z.ZodObject<{
|
|
|
1828
1963
|
dynamicImportPreload: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodNumber]>>;
|
|
1829
1964
|
dynamicImportPrefetch: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodNumber]>>;
|
|
1830
1965
|
url: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"relative">, z.ZodBoolean]>>;
|
|
1966
|
+
exprContextCritical: z.ZodOptional<z.ZodBoolean>;
|
|
1967
|
+
wrappedContextCritical: z.ZodOptional<z.ZodBoolean>;
|
|
1968
|
+
}, "strict", z.ZodTypeAny, {
|
|
1969
|
+
dynamicImportMode?: "eager" | "lazy" | undefined;
|
|
1970
|
+
dynamicImportPreload?: number | boolean | undefined;
|
|
1971
|
+
dynamicImportPrefetch?: number | boolean | undefined;
|
|
1972
|
+
url?: boolean | "relative" | undefined;
|
|
1973
|
+
exprContextCritical?: boolean | undefined;
|
|
1974
|
+
wrappedContextCritical?: boolean | undefined;
|
|
1975
|
+
}, {
|
|
1976
|
+
dynamicImportMode?: "eager" | "lazy" | undefined;
|
|
1977
|
+
dynamicImportPreload?: number | boolean | undefined;
|
|
1978
|
+
dynamicImportPrefetch?: number | boolean | undefined;
|
|
1979
|
+
url?: boolean | "relative" | undefined;
|
|
1980
|
+
exprContextCritical?: boolean | undefined;
|
|
1981
|
+
wrappedContextCritical?: boolean | undefined;
|
|
1982
|
+
}>>;
|
|
1983
|
+
"javascript/auto": z.ZodOptional<z.ZodObject<{
|
|
1984
|
+
dynamicImportMode: z.ZodOptional<z.ZodEnum<["eager", "lazy"]>>;
|
|
1985
|
+
dynamicImportPreload: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodNumber]>>;
|
|
1986
|
+
dynamicImportPrefetch: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodNumber]>>;
|
|
1987
|
+
url: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"relative">, z.ZodBoolean]>>;
|
|
1988
|
+
exprContextCritical: z.ZodOptional<z.ZodBoolean>;
|
|
1989
|
+
wrappedContextCritical: z.ZodOptional<z.ZodBoolean>;
|
|
1990
|
+
}, "strict", z.ZodTypeAny, {
|
|
1991
|
+
dynamicImportMode?: "eager" | "lazy" | undefined;
|
|
1992
|
+
dynamicImportPreload?: number | boolean | undefined;
|
|
1993
|
+
dynamicImportPrefetch?: number | boolean | undefined;
|
|
1994
|
+
url?: boolean | "relative" | undefined;
|
|
1995
|
+
exprContextCritical?: boolean | undefined;
|
|
1996
|
+
wrappedContextCritical?: boolean | undefined;
|
|
1997
|
+
}, {
|
|
1998
|
+
dynamicImportMode?: "eager" | "lazy" | undefined;
|
|
1999
|
+
dynamicImportPreload?: number | boolean | undefined;
|
|
2000
|
+
dynamicImportPrefetch?: number | boolean | undefined;
|
|
2001
|
+
url?: boolean | "relative" | undefined;
|
|
2002
|
+
exprContextCritical?: boolean | undefined;
|
|
2003
|
+
wrappedContextCritical?: boolean | undefined;
|
|
2004
|
+
}>>;
|
|
2005
|
+
"javascript/dynamic": z.ZodOptional<z.ZodObject<{
|
|
2006
|
+
dynamicImportMode: z.ZodOptional<z.ZodEnum<["eager", "lazy"]>>;
|
|
2007
|
+
dynamicImportPreload: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodNumber]>>;
|
|
2008
|
+
dynamicImportPrefetch: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodNumber]>>;
|
|
2009
|
+
url: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"relative">, z.ZodBoolean]>>;
|
|
2010
|
+
exprContextCritical: z.ZodOptional<z.ZodBoolean>;
|
|
2011
|
+
wrappedContextCritical: z.ZodOptional<z.ZodBoolean>;
|
|
2012
|
+
}, "strict", z.ZodTypeAny, {
|
|
2013
|
+
dynamicImportMode?: "eager" | "lazy" | undefined;
|
|
2014
|
+
dynamicImportPreload?: number | boolean | undefined;
|
|
2015
|
+
dynamicImportPrefetch?: number | boolean | undefined;
|
|
2016
|
+
url?: boolean | "relative" | undefined;
|
|
2017
|
+
exprContextCritical?: boolean | undefined;
|
|
2018
|
+
wrappedContextCritical?: boolean | undefined;
|
|
2019
|
+
}, {
|
|
2020
|
+
dynamicImportMode?: "eager" | "lazy" | undefined;
|
|
2021
|
+
dynamicImportPreload?: number | boolean | undefined;
|
|
2022
|
+
dynamicImportPrefetch?: number | boolean | undefined;
|
|
2023
|
+
url?: boolean | "relative" | undefined;
|
|
2024
|
+
exprContextCritical?: boolean | undefined;
|
|
2025
|
+
wrappedContextCritical?: boolean | undefined;
|
|
2026
|
+
}>>;
|
|
2027
|
+
"javascript/esm": z.ZodOptional<z.ZodObject<{
|
|
2028
|
+
dynamicImportMode: z.ZodOptional<z.ZodEnum<["eager", "lazy"]>>;
|
|
2029
|
+
dynamicImportPreload: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodNumber]>>;
|
|
2030
|
+
dynamicImportPrefetch: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodNumber]>>;
|
|
2031
|
+
url: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"relative">, z.ZodBoolean]>>;
|
|
2032
|
+
exprContextCritical: z.ZodOptional<z.ZodBoolean>;
|
|
2033
|
+
wrappedContextCritical: z.ZodOptional<z.ZodBoolean>;
|
|
1831
2034
|
}, "strict", z.ZodTypeAny, {
|
|
1832
2035
|
dynamicImportMode?: "eager" | "lazy" | undefined;
|
|
1833
2036
|
dynamicImportPreload?: number | boolean | undefined;
|
|
1834
2037
|
dynamicImportPrefetch?: number | boolean | undefined;
|
|
1835
2038
|
url?: boolean | "relative" | undefined;
|
|
2039
|
+
exprContextCritical?: boolean | undefined;
|
|
2040
|
+
wrappedContextCritical?: boolean | undefined;
|
|
1836
2041
|
}, {
|
|
1837
2042
|
dynamicImportMode?: "eager" | "lazy" | undefined;
|
|
1838
2043
|
dynamicImportPreload?: number | boolean | undefined;
|
|
1839
2044
|
dynamicImportPrefetch?: number | boolean | undefined;
|
|
1840
2045
|
url?: boolean | "relative" | undefined;
|
|
2046
|
+
exprContextCritical?: boolean | undefined;
|
|
2047
|
+
wrappedContextCritical?: boolean | undefined;
|
|
1841
2048
|
}>>;
|
|
1842
2049
|
}, "strict", z.ZodTypeAny, {
|
|
1843
2050
|
asset?: {
|
|
@@ -1859,6 +2066,32 @@ declare const parserOptionsByModuleType: z.ZodUnion<[z.ZodObject<{
|
|
|
1859
2066
|
dynamicImportPreload?: number | boolean | undefined;
|
|
1860
2067
|
dynamicImportPrefetch?: number | boolean | undefined;
|
|
1861
2068
|
url?: boolean | "relative" | undefined;
|
|
2069
|
+
exprContextCritical?: boolean | undefined;
|
|
2070
|
+
wrappedContextCritical?: boolean | undefined;
|
|
2071
|
+
} | undefined;
|
|
2072
|
+
"javascript/auto"?: {
|
|
2073
|
+
dynamicImportMode?: "eager" | "lazy" | undefined;
|
|
2074
|
+
dynamicImportPreload?: number | boolean | undefined;
|
|
2075
|
+
dynamicImportPrefetch?: number | boolean | undefined;
|
|
2076
|
+
url?: boolean | "relative" | undefined;
|
|
2077
|
+
exprContextCritical?: boolean | undefined;
|
|
2078
|
+
wrappedContextCritical?: boolean | undefined;
|
|
2079
|
+
} | undefined;
|
|
2080
|
+
"javascript/dynamic"?: {
|
|
2081
|
+
dynamicImportMode?: "eager" | "lazy" | undefined;
|
|
2082
|
+
dynamicImportPreload?: number | boolean | undefined;
|
|
2083
|
+
dynamicImportPrefetch?: number | boolean | undefined;
|
|
2084
|
+
url?: boolean | "relative" | undefined;
|
|
2085
|
+
exprContextCritical?: boolean | undefined;
|
|
2086
|
+
wrappedContextCritical?: boolean | undefined;
|
|
2087
|
+
} | undefined;
|
|
2088
|
+
"javascript/esm"?: {
|
|
2089
|
+
dynamicImportMode?: "eager" | "lazy" | undefined;
|
|
2090
|
+
dynamicImportPreload?: number | boolean | undefined;
|
|
2091
|
+
dynamicImportPrefetch?: number | boolean | undefined;
|
|
2092
|
+
url?: boolean | "relative" | undefined;
|
|
2093
|
+
exprContextCritical?: boolean | undefined;
|
|
2094
|
+
wrappedContextCritical?: boolean | undefined;
|
|
1862
2095
|
} | undefined;
|
|
1863
2096
|
}, {
|
|
1864
2097
|
asset?: {
|
|
@@ -1880,6 +2113,32 @@ declare const parserOptionsByModuleType: z.ZodUnion<[z.ZodObject<{
|
|
|
1880
2113
|
dynamicImportPreload?: number | boolean | undefined;
|
|
1881
2114
|
dynamicImportPrefetch?: number | boolean | undefined;
|
|
1882
2115
|
url?: boolean | "relative" | undefined;
|
|
2116
|
+
exprContextCritical?: boolean | undefined;
|
|
2117
|
+
wrappedContextCritical?: boolean | undefined;
|
|
2118
|
+
} | undefined;
|
|
2119
|
+
"javascript/auto"?: {
|
|
2120
|
+
dynamicImportMode?: "eager" | "lazy" | undefined;
|
|
2121
|
+
dynamicImportPreload?: number | boolean | undefined;
|
|
2122
|
+
dynamicImportPrefetch?: number | boolean | undefined;
|
|
2123
|
+
url?: boolean | "relative" | undefined;
|
|
2124
|
+
exprContextCritical?: boolean | undefined;
|
|
2125
|
+
wrappedContextCritical?: boolean | undefined;
|
|
2126
|
+
} | undefined;
|
|
2127
|
+
"javascript/dynamic"?: {
|
|
2128
|
+
dynamicImportMode?: "eager" | "lazy" | undefined;
|
|
2129
|
+
dynamicImportPreload?: number | boolean | undefined;
|
|
2130
|
+
dynamicImportPrefetch?: number | boolean | undefined;
|
|
2131
|
+
url?: boolean | "relative" | undefined;
|
|
2132
|
+
exprContextCritical?: boolean | undefined;
|
|
2133
|
+
wrappedContextCritical?: boolean | undefined;
|
|
2134
|
+
} | undefined;
|
|
2135
|
+
"javascript/esm"?: {
|
|
2136
|
+
dynamicImportMode?: "eager" | "lazy" | undefined;
|
|
2137
|
+
dynamicImportPreload?: number | boolean | undefined;
|
|
2138
|
+
dynamicImportPrefetch?: number | boolean | undefined;
|
|
2139
|
+
url?: boolean | "relative" | undefined;
|
|
2140
|
+
exprContextCritical?: boolean | undefined;
|
|
2141
|
+
wrappedContextCritical?: boolean | undefined;
|
|
1883
2142
|
} | undefined;
|
|
1884
2143
|
}>, z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>>]>;
|
|
1885
2144
|
export type ParserOptionsByModuleType = z.infer<typeof parserOptionsByModuleType>;
|
|
@@ -2554,16 +2813,88 @@ declare const moduleOptions: z.ZodObject<{
|
|
|
2554
2813
|
dynamicImportPreload: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodNumber]>>;
|
|
2555
2814
|
dynamicImportPrefetch: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodNumber]>>;
|
|
2556
2815
|
url: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"relative">, z.ZodBoolean]>>;
|
|
2816
|
+
exprContextCritical: z.ZodOptional<z.ZodBoolean>;
|
|
2817
|
+
wrappedContextCritical: z.ZodOptional<z.ZodBoolean>;
|
|
2557
2818
|
}, "strict", z.ZodTypeAny, {
|
|
2558
2819
|
dynamicImportMode?: "eager" | "lazy" | undefined;
|
|
2559
2820
|
dynamicImportPreload?: number | boolean | undefined;
|
|
2560
2821
|
dynamicImportPrefetch?: number | boolean | undefined;
|
|
2561
2822
|
url?: boolean | "relative" | undefined;
|
|
2823
|
+
exprContextCritical?: boolean | undefined;
|
|
2824
|
+
wrappedContextCritical?: boolean | undefined;
|
|
2562
2825
|
}, {
|
|
2563
2826
|
dynamicImportMode?: "eager" | "lazy" | undefined;
|
|
2564
2827
|
dynamicImportPreload?: number | boolean | undefined;
|
|
2565
2828
|
dynamicImportPrefetch?: number | boolean | undefined;
|
|
2566
2829
|
url?: boolean | "relative" | undefined;
|
|
2830
|
+
exprContextCritical?: boolean | undefined;
|
|
2831
|
+
wrappedContextCritical?: boolean | undefined;
|
|
2832
|
+
}>>;
|
|
2833
|
+
"javascript/auto": z.ZodOptional<z.ZodObject<{
|
|
2834
|
+
dynamicImportMode: z.ZodOptional<z.ZodEnum<["eager", "lazy"]>>;
|
|
2835
|
+
dynamicImportPreload: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodNumber]>>;
|
|
2836
|
+
dynamicImportPrefetch: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodNumber]>>;
|
|
2837
|
+
url: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"relative">, z.ZodBoolean]>>;
|
|
2838
|
+
exprContextCritical: z.ZodOptional<z.ZodBoolean>;
|
|
2839
|
+
wrappedContextCritical: z.ZodOptional<z.ZodBoolean>;
|
|
2840
|
+
}, "strict", z.ZodTypeAny, {
|
|
2841
|
+
dynamicImportMode?: "eager" | "lazy" | undefined;
|
|
2842
|
+
dynamicImportPreload?: number | boolean | undefined;
|
|
2843
|
+
dynamicImportPrefetch?: number | boolean | undefined;
|
|
2844
|
+
url?: boolean | "relative" | undefined;
|
|
2845
|
+
exprContextCritical?: boolean | undefined;
|
|
2846
|
+
wrappedContextCritical?: boolean | undefined;
|
|
2847
|
+
}, {
|
|
2848
|
+
dynamicImportMode?: "eager" | "lazy" | undefined;
|
|
2849
|
+
dynamicImportPreload?: number | boolean | undefined;
|
|
2850
|
+
dynamicImportPrefetch?: number | boolean | undefined;
|
|
2851
|
+
url?: boolean | "relative" | undefined;
|
|
2852
|
+
exprContextCritical?: boolean | undefined;
|
|
2853
|
+
wrappedContextCritical?: boolean | undefined;
|
|
2854
|
+
}>>;
|
|
2855
|
+
"javascript/dynamic": z.ZodOptional<z.ZodObject<{
|
|
2856
|
+
dynamicImportMode: z.ZodOptional<z.ZodEnum<["eager", "lazy"]>>;
|
|
2857
|
+
dynamicImportPreload: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodNumber]>>;
|
|
2858
|
+
dynamicImportPrefetch: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodNumber]>>;
|
|
2859
|
+
url: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"relative">, z.ZodBoolean]>>;
|
|
2860
|
+
exprContextCritical: z.ZodOptional<z.ZodBoolean>;
|
|
2861
|
+
wrappedContextCritical: z.ZodOptional<z.ZodBoolean>;
|
|
2862
|
+
}, "strict", z.ZodTypeAny, {
|
|
2863
|
+
dynamicImportMode?: "eager" | "lazy" | undefined;
|
|
2864
|
+
dynamicImportPreload?: number | boolean | undefined;
|
|
2865
|
+
dynamicImportPrefetch?: number | boolean | undefined;
|
|
2866
|
+
url?: boolean | "relative" | undefined;
|
|
2867
|
+
exprContextCritical?: boolean | undefined;
|
|
2868
|
+
wrappedContextCritical?: boolean | undefined;
|
|
2869
|
+
}, {
|
|
2870
|
+
dynamicImportMode?: "eager" | "lazy" | undefined;
|
|
2871
|
+
dynamicImportPreload?: number | boolean | undefined;
|
|
2872
|
+
dynamicImportPrefetch?: number | boolean | undefined;
|
|
2873
|
+
url?: boolean | "relative" | undefined;
|
|
2874
|
+
exprContextCritical?: boolean | undefined;
|
|
2875
|
+
wrappedContextCritical?: boolean | undefined;
|
|
2876
|
+
}>>;
|
|
2877
|
+
"javascript/esm": z.ZodOptional<z.ZodObject<{
|
|
2878
|
+
dynamicImportMode: z.ZodOptional<z.ZodEnum<["eager", "lazy"]>>;
|
|
2879
|
+
dynamicImportPreload: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodNumber]>>;
|
|
2880
|
+
dynamicImportPrefetch: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodNumber]>>;
|
|
2881
|
+
url: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"relative">, z.ZodBoolean]>>;
|
|
2882
|
+
exprContextCritical: z.ZodOptional<z.ZodBoolean>;
|
|
2883
|
+
wrappedContextCritical: z.ZodOptional<z.ZodBoolean>;
|
|
2884
|
+
}, "strict", z.ZodTypeAny, {
|
|
2885
|
+
dynamicImportMode?: "eager" | "lazy" | undefined;
|
|
2886
|
+
dynamicImportPreload?: number | boolean | undefined;
|
|
2887
|
+
dynamicImportPrefetch?: number | boolean | undefined;
|
|
2888
|
+
url?: boolean | "relative" | undefined;
|
|
2889
|
+
exprContextCritical?: boolean | undefined;
|
|
2890
|
+
wrappedContextCritical?: boolean | undefined;
|
|
2891
|
+
}, {
|
|
2892
|
+
dynamicImportMode?: "eager" | "lazy" | undefined;
|
|
2893
|
+
dynamicImportPreload?: number | boolean | undefined;
|
|
2894
|
+
dynamicImportPrefetch?: number | boolean | undefined;
|
|
2895
|
+
url?: boolean | "relative" | undefined;
|
|
2896
|
+
exprContextCritical?: boolean | undefined;
|
|
2897
|
+
wrappedContextCritical?: boolean | undefined;
|
|
2567
2898
|
}>>;
|
|
2568
2899
|
}, "strict", z.ZodTypeAny, {
|
|
2569
2900
|
asset?: {
|
|
@@ -2585,6 +2916,32 @@ declare const moduleOptions: z.ZodObject<{
|
|
|
2585
2916
|
dynamicImportPreload?: number | boolean | undefined;
|
|
2586
2917
|
dynamicImportPrefetch?: number | boolean | undefined;
|
|
2587
2918
|
url?: boolean | "relative" | undefined;
|
|
2919
|
+
exprContextCritical?: boolean | undefined;
|
|
2920
|
+
wrappedContextCritical?: boolean | undefined;
|
|
2921
|
+
} | undefined;
|
|
2922
|
+
"javascript/auto"?: {
|
|
2923
|
+
dynamicImportMode?: "eager" | "lazy" | undefined;
|
|
2924
|
+
dynamicImportPreload?: number | boolean | undefined;
|
|
2925
|
+
dynamicImportPrefetch?: number | boolean | undefined;
|
|
2926
|
+
url?: boolean | "relative" | undefined;
|
|
2927
|
+
exprContextCritical?: boolean | undefined;
|
|
2928
|
+
wrappedContextCritical?: boolean | undefined;
|
|
2929
|
+
} | undefined;
|
|
2930
|
+
"javascript/dynamic"?: {
|
|
2931
|
+
dynamicImportMode?: "eager" | "lazy" | undefined;
|
|
2932
|
+
dynamicImportPreload?: number | boolean | undefined;
|
|
2933
|
+
dynamicImportPrefetch?: number | boolean | undefined;
|
|
2934
|
+
url?: boolean | "relative" | undefined;
|
|
2935
|
+
exprContextCritical?: boolean | undefined;
|
|
2936
|
+
wrappedContextCritical?: boolean | undefined;
|
|
2937
|
+
} | undefined;
|
|
2938
|
+
"javascript/esm"?: {
|
|
2939
|
+
dynamicImportMode?: "eager" | "lazy" | undefined;
|
|
2940
|
+
dynamicImportPreload?: number | boolean | undefined;
|
|
2941
|
+
dynamicImportPrefetch?: number | boolean | undefined;
|
|
2942
|
+
url?: boolean | "relative" | undefined;
|
|
2943
|
+
exprContextCritical?: boolean | undefined;
|
|
2944
|
+
wrappedContextCritical?: boolean | undefined;
|
|
2588
2945
|
} | undefined;
|
|
2589
2946
|
}, {
|
|
2590
2947
|
asset?: {
|
|
@@ -2606,6 +2963,32 @@ declare const moduleOptions: z.ZodObject<{
|
|
|
2606
2963
|
dynamicImportPreload?: number | boolean | undefined;
|
|
2607
2964
|
dynamicImportPrefetch?: number | boolean | undefined;
|
|
2608
2965
|
url?: boolean | "relative" | undefined;
|
|
2966
|
+
exprContextCritical?: boolean | undefined;
|
|
2967
|
+
wrappedContextCritical?: boolean | undefined;
|
|
2968
|
+
} | undefined;
|
|
2969
|
+
"javascript/auto"?: {
|
|
2970
|
+
dynamicImportMode?: "eager" | "lazy" | undefined;
|
|
2971
|
+
dynamicImportPreload?: number | boolean | undefined;
|
|
2972
|
+
dynamicImportPrefetch?: number | boolean | undefined;
|
|
2973
|
+
url?: boolean | "relative" | undefined;
|
|
2974
|
+
exprContextCritical?: boolean | undefined;
|
|
2975
|
+
wrappedContextCritical?: boolean | undefined;
|
|
2976
|
+
} | undefined;
|
|
2977
|
+
"javascript/dynamic"?: {
|
|
2978
|
+
dynamicImportMode?: "eager" | "lazy" | undefined;
|
|
2979
|
+
dynamicImportPreload?: number | boolean | undefined;
|
|
2980
|
+
dynamicImportPrefetch?: number | boolean | undefined;
|
|
2981
|
+
url?: boolean | "relative" | undefined;
|
|
2982
|
+
exprContextCritical?: boolean | undefined;
|
|
2983
|
+
wrappedContextCritical?: boolean | undefined;
|
|
2984
|
+
} | undefined;
|
|
2985
|
+
"javascript/esm"?: {
|
|
2986
|
+
dynamicImportMode?: "eager" | "lazy" | undefined;
|
|
2987
|
+
dynamicImportPreload?: number | boolean | undefined;
|
|
2988
|
+
dynamicImportPrefetch?: number | boolean | undefined;
|
|
2989
|
+
url?: boolean | "relative" | undefined;
|
|
2990
|
+
exprContextCritical?: boolean | undefined;
|
|
2991
|
+
wrappedContextCritical?: boolean | undefined;
|
|
2609
2992
|
} | undefined;
|
|
2610
2993
|
}>, z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>>]>>;
|
|
2611
2994
|
generator: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
@@ -2848,6 +3231,32 @@ declare const moduleOptions: z.ZodObject<{
|
|
|
2848
3231
|
dynamicImportPreload?: number | boolean | undefined;
|
|
2849
3232
|
dynamicImportPrefetch?: number | boolean | undefined;
|
|
2850
3233
|
url?: boolean | "relative" | undefined;
|
|
3234
|
+
exprContextCritical?: boolean | undefined;
|
|
3235
|
+
wrappedContextCritical?: boolean | undefined;
|
|
3236
|
+
} | undefined;
|
|
3237
|
+
"javascript/auto"?: {
|
|
3238
|
+
dynamicImportMode?: "eager" | "lazy" | undefined;
|
|
3239
|
+
dynamicImportPreload?: number | boolean | undefined;
|
|
3240
|
+
dynamicImportPrefetch?: number | boolean | undefined;
|
|
3241
|
+
url?: boolean | "relative" | undefined;
|
|
3242
|
+
exprContextCritical?: boolean | undefined;
|
|
3243
|
+
wrappedContextCritical?: boolean | undefined;
|
|
3244
|
+
} | undefined;
|
|
3245
|
+
"javascript/dynamic"?: {
|
|
3246
|
+
dynamicImportMode?: "eager" | "lazy" | undefined;
|
|
3247
|
+
dynamicImportPreload?: number | boolean | undefined;
|
|
3248
|
+
dynamicImportPrefetch?: number | boolean | undefined;
|
|
3249
|
+
url?: boolean | "relative" | undefined;
|
|
3250
|
+
exprContextCritical?: boolean | undefined;
|
|
3251
|
+
wrappedContextCritical?: boolean | undefined;
|
|
3252
|
+
} | undefined;
|
|
3253
|
+
"javascript/esm"?: {
|
|
3254
|
+
dynamicImportMode?: "eager" | "lazy" | undefined;
|
|
3255
|
+
dynamicImportPreload?: number | boolean | undefined;
|
|
3256
|
+
dynamicImportPrefetch?: number | boolean | undefined;
|
|
3257
|
+
url?: boolean | "relative" | undefined;
|
|
3258
|
+
exprContextCritical?: boolean | undefined;
|
|
3259
|
+
wrappedContextCritical?: boolean | undefined;
|
|
2851
3260
|
} | undefined;
|
|
2852
3261
|
} | Record<string, Record<string, any>> | undefined;
|
|
2853
3262
|
generator?: Record<string, Record<string, any>> | {
|
|
@@ -2916,6 +3325,32 @@ declare const moduleOptions: z.ZodObject<{
|
|
|
2916
3325
|
dynamicImportPreload?: number | boolean | undefined;
|
|
2917
3326
|
dynamicImportPrefetch?: number | boolean | undefined;
|
|
2918
3327
|
url?: boolean | "relative" | undefined;
|
|
3328
|
+
exprContextCritical?: boolean | undefined;
|
|
3329
|
+
wrappedContextCritical?: boolean | undefined;
|
|
3330
|
+
} | undefined;
|
|
3331
|
+
"javascript/auto"?: {
|
|
3332
|
+
dynamicImportMode?: "eager" | "lazy" | undefined;
|
|
3333
|
+
dynamicImportPreload?: number | boolean | undefined;
|
|
3334
|
+
dynamicImportPrefetch?: number | boolean | undefined;
|
|
3335
|
+
url?: boolean | "relative" | undefined;
|
|
3336
|
+
exprContextCritical?: boolean | undefined;
|
|
3337
|
+
wrappedContextCritical?: boolean | undefined;
|
|
3338
|
+
} | undefined;
|
|
3339
|
+
"javascript/dynamic"?: {
|
|
3340
|
+
dynamicImportMode?: "eager" | "lazy" | undefined;
|
|
3341
|
+
dynamicImportPreload?: number | boolean | undefined;
|
|
3342
|
+
dynamicImportPrefetch?: number | boolean | undefined;
|
|
3343
|
+
url?: boolean | "relative" | undefined;
|
|
3344
|
+
exprContextCritical?: boolean | undefined;
|
|
3345
|
+
wrappedContextCritical?: boolean | undefined;
|
|
3346
|
+
} | undefined;
|
|
3347
|
+
"javascript/esm"?: {
|
|
3348
|
+
dynamicImportMode?: "eager" | "lazy" | undefined;
|
|
3349
|
+
dynamicImportPreload?: number | boolean | undefined;
|
|
3350
|
+
dynamicImportPrefetch?: number | boolean | undefined;
|
|
3351
|
+
url?: boolean | "relative" | undefined;
|
|
3352
|
+
exprContextCritical?: boolean | undefined;
|
|
3353
|
+
wrappedContextCritical?: boolean | undefined;
|
|
2919
3354
|
} | undefined;
|
|
2920
3355
|
} | Record<string, Record<string, any>> | undefined;
|
|
2921
3356
|
generator?: Record<string, Record<string, any>> | {
|
|
@@ -3415,11 +3850,21 @@ export type RspackPluginFunction = (this: Compiler, compiler: Compiler) => void;
|
|
|
3415
3850
|
declare const plugins: z.ZodArray<z.ZodUnion<[z.ZodType<RspackPluginInstance, z.ZodTypeDef, RspackPluginInstance>, z.ZodType<RspackPluginFunction, z.ZodTypeDef, RspackPluginFunction>, z.ZodUnion<[z.ZodLiteral<false>, z.ZodLiteral<0>, z.ZodLiteral<"">, z.ZodNull, z.ZodUndefined]>]>, "many">;
|
|
3416
3851
|
export type Plugins = z.infer<typeof plugins>;
|
|
3417
3852
|
declare const optimizationRuntimeChunk: z.ZodUnion<[z.ZodUnion<[z.ZodEnum<["single", "multiple"]>, z.ZodBoolean]>, z.ZodObject<{
|
|
3418
|
-
name: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodFunction<z.ZodTuple<[
|
|
3853
|
+
name: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodFunction<z.ZodTuple<[z.ZodObject<{
|
|
3854
|
+
name: z.ZodString;
|
|
3855
|
+
}, "strict", z.ZodTypeAny, {
|
|
3856
|
+
name: string;
|
|
3857
|
+
}, {
|
|
3858
|
+
name: string;
|
|
3859
|
+
}>], z.ZodUnknown>, z.ZodString>]>>;
|
|
3419
3860
|
}, "strict", z.ZodTypeAny, {
|
|
3420
|
-
name?: string | ((
|
|
3861
|
+
name?: string | ((args_0: {
|
|
3862
|
+
name: string;
|
|
3863
|
+
}, ...args_1: unknown[]) => string) | undefined;
|
|
3421
3864
|
}, {
|
|
3422
|
-
name?: string | ((
|
|
3865
|
+
name?: string | ((args_0: {
|
|
3866
|
+
name: string;
|
|
3867
|
+
}, ...args_1: unknown[]) => string) | undefined;
|
|
3423
3868
|
}>]>;
|
|
3424
3869
|
export type OptimizationRuntimeChunk = z.infer<typeof optimizationRuntimeChunk>;
|
|
3425
3870
|
declare const optimizationSplitChunksNameFunction: z.ZodFunction<z.ZodTuple<[z.ZodOptional<z.ZodType<Module, z.ZodTypeDef, Module>>], z.ZodUnknown>, z.ZodUnknown>;
|
|
@@ -3817,11 +4262,21 @@ declare const optimization: z.ZodObject<{
|
|
|
3817
4262
|
hidePathInfo?: boolean | undefined;
|
|
3818
4263
|
}>]>>;
|
|
3819
4264
|
runtimeChunk: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodEnum<["single", "multiple"]>, z.ZodBoolean]>, z.ZodObject<{
|
|
3820
|
-
name: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodFunction<z.ZodTuple<[
|
|
4265
|
+
name: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodFunction<z.ZodTuple<[z.ZodObject<{
|
|
4266
|
+
name: z.ZodString;
|
|
4267
|
+
}, "strict", z.ZodTypeAny, {
|
|
4268
|
+
name: string;
|
|
4269
|
+
}, {
|
|
4270
|
+
name: string;
|
|
4271
|
+
}>], z.ZodUnknown>, z.ZodString>]>>;
|
|
3821
4272
|
}, "strict", z.ZodTypeAny, {
|
|
3822
|
-
name?: string | ((
|
|
4273
|
+
name?: string | ((args_0: {
|
|
4274
|
+
name: string;
|
|
4275
|
+
}, ...args_1: unknown[]) => string) | undefined;
|
|
3823
4276
|
}, {
|
|
3824
|
-
name?: string | ((
|
|
4277
|
+
name?: string | ((args_0: {
|
|
4278
|
+
name: string;
|
|
4279
|
+
}, ...args_1: unknown[]) => string) | undefined;
|
|
3825
4280
|
}>]>>;
|
|
3826
4281
|
removeAvailableModules: z.ZodOptional<z.ZodBoolean>;
|
|
3827
4282
|
removeEmptyChunks: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3880,7 +4335,9 @@ declare const optimization: z.ZodObject<{
|
|
|
3880
4335
|
hidePathInfo?: boolean | undefined;
|
|
3881
4336
|
} | undefined;
|
|
3882
4337
|
runtimeChunk?: boolean | "single" | "multiple" | {
|
|
3883
|
-
name?: string | ((
|
|
4338
|
+
name?: string | ((args_0: {
|
|
4339
|
+
name: string;
|
|
4340
|
+
}, ...args_1: unknown[]) => string) | undefined;
|
|
3884
4341
|
} | undefined;
|
|
3885
4342
|
removeAvailableModules?: boolean | undefined;
|
|
3886
4343
|
removeEmptyChunks?: boolean | undefined;
|
|
@@ -3939,7 +4396,9 @@ declare const optimization: z.ZodObject<{
|
|
|
3939
4396
|
hidePathInfo?: boolean | undefined;
|
|
3940
4397
|
} | undefined;
|
|
3941
4398
|
runtimeChunk?: boolean | "single" | "multiple" | {
|
|
3942
|
-
name?: string | ((
|
|
4399
|
+
name?: string | ((args_0: {
|
|
4400
|
+
name: string;
|
|
4401
|
+
}, ...args_1: unknown[]) => string) | undefined;
|
|
3943
4402
|
} | undefined;
|
|
3944
4403
|
removeAvailableModules?: boolean | undefined;
|
|
3945
4404
|
removeEmptyChunks?: boolean | undefined;
|
|
@@ -4344,6 +4803,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
4344
4803
|
}>]>>, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>]>>]>>;
|
|
4345
4804
|
output: z.ZodOptional<z.ZodObject<{
|
|
4346
4805
|
path: z.ZodOptional<z.ZodString>;
|
|
4806
|
+
pathinfo: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"verbose">]>>;
|
|
4347
4807
|
clean: z.ZodOptional<z.ZodBoolean>;
|
|
4348
4808
|
publicPath: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"auto">, z.ZodString]>>;
|
|
4349
4809
|
filename: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodFunction<z.ZodTuple<[z.ZodType<import("@rspack/binding").JsPathData, z.ZodTypeDef, import("@rspack/binding").JsPathData>, z.ZodOptional<z.ZodType<JsAssetInfo, z.ZodTypeDef, JsAssetInfo>>], z.ZodUnknown>, z.ZodString>]>>;
|
|
@@ -4491,6 +4951,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
4491
4951
|
devtoolFallbackModuleFilenameTemplate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodFunction<z.ZodTuple<[z.ZodAny], null>, z.ZodAny>]>>;
|
|
4492
4952
|
}, "strict", z.ZodTypeAny, {
|
|
4493
4953
|
path?: string | undefined;
|
|
4954
|
+
pathinfo?: boolean | "verbose" | undefined;
|
|
4494
4955
|
clean?: boolean | undefined;
|
|
4495
4956
|
publicPath?: string | undefined;
|
|
4496
4957
|
filename?: string | ((args_0: import("@rspack/binding").JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined;
|
|
@@ -4566,6 +5027,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
4566
5027
|
devtoolFallbackModuleFilenameTemplate?: string | ((args_0: any) => any) | undefined;
|
|
4567
5028
|
}, {
|
|
4568
5029
|
path?: string | undefined;
|
|
5030
|
+
pathinfo?: boolean | "verbose" | undefined;
|
|
4569
5031
|
clean?: boolean | undefined;
|
|
4570
5032
|
publicPath?: string | undefined;
|
|
4571
5033
|
filename?: string | ((args_0: import("@rspack/binding").JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined;
|
|
@@ -5162,11 +5624,21 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5162
5624
|
hidePathInfo?: boolean | undefined;
|
|
5163
5625
|
}>]>>;
|
|
5164
5626
|
runtimeChunk: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodEnum<["single", "multiple"]>, z.ZodBoolean]>, z.ZodObject<{
|
|
5165
|
-
name: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodFunction<z.ZodTuple<[
|
|
5627
|
+
name: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodFunction<z.ZodTuple<[z.ZodObject<{
|
|
5628
|
+
name: z.ZodString;
|
|
5629
|
+
}, "strict", z.ZodTypeAny, {
|
|
5630
|
+
name: string;
|
|
5631
|
+
}, {
|
|
5632
|
+
name: string;
|
|
5633
|
+
}>], z.ZodUnknown>, z.ZodString>]>>;
|
|
5166
5634
|
}, "strict", z.ZodTypeAny, {
|
|
5167
|
-
name?: string | ((
|
|
5635
|
+
name?: string | ((args_0: {
|
|
5636
|
+
name: string;
|
|
5637
|
+
}, ...args_1: unknown[]) => string) | undefined;
|
|
5168
5638
|
}, {
|
|
5169
|
-
name?: string | ((
|
|
5639
|
+
name?: string | ((args_0: {
|
|
5640
|
+
name: string;
|
|
5641
|
+
}, ...args_1: unknown[]) => string) | undefined;
|
|
5170
5642
|
}>]>>;
|
|
5171
5643
|
removeAvailableModules: z.ZodOptional<z.ZodBoolean>;
|
|
5172
5644
|
removeEmptyChunks: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -5225,7 +5697,9 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5225
5697
|
hidePathInfo?: boolean | undefined;
|
|
5226
5698
|
} | undefined;
|
|
5227
5699
|
runtimeChunk?: boolean | "single" | "multiple" | {
|
|
5228
|
-
name?: string | ((
|
|
5700
|
+
name?: string | ((args_0: {
|
|
5701
|
+
name: string;
|
|
5702
|
+
}, ...args_1: unknown[]) => string) | undefined;
|
|
5229
5703
|
} | undefined;
|
|
5230
5704
|
removeAvailableModules?: boolean | undefined;
|
|
5231
5705
|
removeEmptyChunks?: boolean | undefined;
|
|
@@ -5284,7 +5758,9 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5284
5758
|
hidePathInfo?: boolean | undefined;
|
|
5285
5759
|
} | undefined;
|
|
5286
5760
|
runtimeChunk?: boolean | "single" | "multiple" | {
|
|
5287
|
-
name?: string | ((
|
|
5761
|
+
name?: string | ((args_0: {
|
|
5762
|
+
name: string;
|
|
5763
|
+
}, ...args_1: unknown[]) => string) | undefined;
|
|
5288
5764
|
} | undefined;
|
|
5289
5765
|
removeAvailableModules?: boolean | undefined;
|
|
5290
5766
|
removeEmptyChunks?: boolean | undefined;
|
|
@@ -5349,16 +5825,88 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5349
5825
|
dynamicImportPreload: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodNumber]>>;
|
|
5350
5826
|
dynamicImportPrefetch: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodNumber]>>;
|
|
5351
5827
|
url: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"relative">, z.ZodBoolean]>>;
|
|
5828
|
+
exprContextCritical: z.ZodOptional<z.ZodBoolean>;
|
|
5829
|
+
wrappedContextCritical: z.ZodOptional<z.ZodBoolean>;
|
|
5352
5830
|
}, "strict", z.ZodTypeAny, {
|
|
5353
5831
|
dynamicImportMode?: "eager" | "lazy" | undefined;
|
|
5354
5832
|
dynamicImportPreload?: number | boolean | undefined;
|
|
5355
5833
|
dynamicImportPrefetch?: number | boolean | undefined;
|
|
5356
5834
|
url?: boolean | "relative" | undefined;
|
|
5835
|
+
exprContextCritical?: boolean | undefined;
|
|
5836
|
+
wrappedContextCritical?: boolean | undefined;
|
|
5357
5837
|
}, {
|
|
5358
5838
|
dynamicImportMode?: "eager" | "lazy" | undefined;
|
|
5359
5839
|
dynamicImportPreload?: number | boolean | undefined;
|
|
5360
5840
|
dynamicImportPrefetch?: number | boolean | undefined;
|
|
5361
5841
|
url?: boolean | "relative" | undefined;
|
|
5842
|
+
exprContextCritical?: boolean | undefined;
|
|
5843
|
+
wrappedContextCritical?: boolean | undefined;
|
|
5844
|
+
}>>;
|
|
5845
|
+
"javascript/auto": z.ZodOptional<z.ZodObject<{
|
|
5846
|
+
dynamicImportMode: z.ZodOptional<z.ZodEnum<["eager", "lazy"]>>;
|
|
5847
|
+
dynamicImportPreload: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodNumber]>>;
|
|
5848
|
+
dynamicImportPrefetch: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodNumber]>>;
|
|
5849
|
+
url: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"relative">, z.ZodBoolean]>>;
|
|
5850
|
+
exprContextCritical: z.ZodOptional<z.ZodBoolean>;
|
|
5851
|
+
wrappedContextCritical: z.ZodOptional<z.ZodBoolean>;
|
|
5852
|
+
}, "strict", z.ZodTypeAny, {
|
|
5853
|
+
dynamicImportMode?: "eager" | "lazy" | undefined;
|
|
5854
|
+
dynamicImportPreload?: number | boolean | undefined;
|
|
5855
|
+
dynamicImportPrefetch?: number | boolean | undefined;
|
|
5856
|
+
url?: boolean | "relative" | undefined;
|
|
5857
|
+
exprContextCritical?: boolean | undefined;
|
|
5858
|
+
wrappedContextCritical?: boolean | undefined;
|
|
5859
|
+
}, {
|
|
5860
|
+
dynamicImportMode?: "eager" | "lazy" | undefined;
|
|
5861
|
+
dynamicImportPreload?: number | boolean | undefined;
|
|
5862
|
+
dynamicImportPrefetch?: number | boolean | undefined;
|
|
5863
|
+
url?: boolean | "relative" | undefined;
|
|
5864
|
+
exprContextCritical?: boolean | undefined;
|
|
5865
|
+
wrappedContextCritical?: boolean | undefined;
|
|
5866
|
+
}>>;
|
|
5867
|
+
"javascript/dynamic": z.ZodOptional<z.ZodObject<{
|
|
5868
|
+
dynamicImportMode: z.ZodOptional<z.ZodEnum<["eager", "lazy"]>>;
|
|
5869
|
+
dynamicImportPreload: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodNumber]>>;
|
|
5870
|
+
dynamicImportPrefetch: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodNumber]>>;
|
|
5871
|
+
url: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"relative">, z.ZodBoolean]>>;
|
|
5872
|
+
exprContextCritical: z.ZodOptional<z.ZodBoolean>;
|
|
5873
|
+
wrappedContextCritical: z.ZodOptional<z.ZodBoolean>;
|
|
5874
|
+
}, "strict", z.ZodTypeAny, {
|
|
5875
|
+
dynamicImportMode?: "eager" | "lazy" | undefined;
|
|
5876
|
+
dynamicImportPreload?: number | boolean | undefined;
|
|
5877
|
+
dynamicImportPrefetch?: number | boolean | undefined;
|
|
5878
|
+
url?: boolean | "relative" | undefined;
|
|
5879
|
+
exprContextCritical?: boolean | undefined;
|
|
5880
|
+
wrappedContextCritical?: boolean | undefined;
|
|
5881
|
+
}, {
|
|
5882
|
+
dynamicImportMode?: "eager" | "lazy" | undefined;
|
|
5883
|
+
dynamicImportPreload?: number | boolean | undefined;
|
|
5884
|
+
dynamicImportPrefetch?: number | boolean | undefined;
|
|
5885
|
+
url?: boolean | "relative" | undefined;
|
|
5886
|
+
exprContextCritical?: boolean | undefined;
|
|
5887
|
+
wrappedContextCritical?: boolean | undefined;
|
|
5888
|
+
}>>;
|
|
5889
|
+
"javascript/esm": z.ZodOptional<z.ZodObject<{
|
|
5890
|
+
dynamicImportMode: z.ZodOptional<z.ZodEnum<["eager", "lazy"]>>;
|
|
5891
|
+
dynamicImportPreload: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodNumber]>>;
|
|
5892
|
+
dynamicImportPrefetch: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodNumber]>>;
|
|
5893
|
+
url: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"relative">, z.ZodBoolean]>>;
|
|
5894
|
+
exprContextCritical: z.ZodOptional<z.ZodBoolean>;
|
|
5895
|
+
wrappedContextCritical: z.ZodOptional<z.ZodBoolean>;
|
|
5896
|
+
}, "strict", z.ZodTypeAny, {
|
|
5897
|
+
dynamicImportMode?: "eager" | "lazy" | undefined;
|
|
5898
|
+
dynamicImportPreload?: number | boolean | undefined;
|
|
5899
|
+
dynamicImportPrefetch?: number | boolean | undefined;
|
|
5900
|
+
url?: boolean | "relative" | undefined;
|
|
5901
|
+
exprContextCritical?: boolean | undefined;
|
|
5902
|
+
wrappedContextCritical?: boolean | undefined;
|
|
5903
|
+
}, {
|
|
5904
|
+
dynamicImportMode?: "eager" | "lazy" | undefined;
|
|
5905
|
+
dynamicImportPreload?: number | boolean | undefined;
|
|
5906
|
+
dynamicImportPrefetch?: number | boolean | undefined;
|
|
5907
|
+
url?: boolean | "relative" | undefined;
|
|
5908
|
+
exprContextCritical?: boolean | undefined;
|
|
5909
|
+
wrappedContextCritical?: boolean | undefined;
|
|
5362
5910
|
}>>;
|
|
5363
5911
|
}, "strict", z.ZodTypeAny, {
|
|
5364
5912
|
asset?: {
|
|
@@ -5380,6 +5928,32 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5380
5928
|
dynamicImportPreload?: number | boolean | undefined;
|
|
5381
5929
|
dynamicImportPrefetch?: number | boolean | undefined;
|
|
5382
5930
|
url?: boolean | "relative" | undefined;
|
|
5931
|
+
exprContextCritical?: boolean | undefined;
|
|
5932
|
+
wrappedContextCritical?: boolean | undefined;
|
|
5933
|
+
} | undefined;
|
|
5934
|
+
"javascript/auto"?: {
|
|
5935
|
+
dynamicImportMode?: "eager" | "lazy" | undefined;
|
|
5936
|
+
dynamicImportPreload?: number | boolean | undefined;
|
|
5937
|
+
dynamicImportPrefetch?: number | boolean | undefined;
|
|
5938
|
+
url?: boolean | "relative" | undefined;
|
|
5939
|
+
exprContextCritical?: boolean | undefined;
|
|
5940
|
+
wrappedContextCritical?: boolean | undefined;
|
|
5941
|
+
} | undefined;
|
|
5942
|
+
"javascript/dynamic"?: {
|
|
5943
|
+
dynamicImportMode?: "eager" | "lazy" | undefined;
|
|
5944
|
+
dynamicImportPreload?: number | boolean | undefined;
|
|
5945
|
+
dynamicImportPrefetch?: number | boolean | undefined;
|
|
5946
|
+
url?: boolean | "relative" | undefined;
|
|
5947
|
+
exprContextCritical?: boolean | undefined;
|
|
5948
|
+
wrappedContextCritical?: boolean | undefined;
|
|
5949
|
+
} | undefined;
|
|
5950
|
+
"javascript/esm"?: {
|
|
5951
|
+
dynamicImportMode?: "eager" | "lazy" | undefined;
|
|
5952
|
+
dynamicImportPreload?: number | boolean | undefined;
|
|
5953
|
+
dynamicImportPrefetch?: number | boolean | undefined;
|
|
5954
|
+
url?: boolean | "relative" | undefined;
|
|
5955
|
+
exprContextCritical?: boolean | undefined;
|
|
5956
|
+
wrappedContextCritical?: boolean | undefined;
|
|
5383
5957
|
} | undefined;
|
|
5384
5958
|
}, {
|
|
5385
5959
|
asset?: {
|
|
@@ -5401,6 +5975,32 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5401
5975
|
dynamicImportPreload?: number | boolean | undefined;
|
|
5402
5976
|
dynamicImportPrefetch?: number | boolean | undefined;
|
|
5403
5977
|
url?: boolean | "relative" | undefined;
|
|
5978
|
+
exprContextCritical?: boolean | undefined;
|
|
5979
|
+
wrappedContextCritical?: boolean | undefined;
|
|
5980
|
+
} | undefined;
|
|
5981
|
+
"javascript/auto"?: {
|
|
5982
|
+
dynamicImportMode?: "eager" | "lazy" | undefined;
|
|
5983
|
+
dynamicImportPreload?: number | boolean | undefined;
|
|
5984
|
+
dynamicImportPrefetch?: number | boolean | undefined;
|
|
5985
|
+
url?: boolean | "relative" | undefined;
|
|
5986
|
+
exprContextCritical?: boolean | undefined;
|
|
5987
|
+
wrappedContextCritical?: boolean | undefined;
|
|
5988
|
+
} | undefined;
|
|
5989
|
+
"javascript/dynamic"?: {
|
|
5990
|
+
dynamicImportMode?: "eager" | "lazy" | undefined;
|
|
5991
|
+
dynamicImportPreload?: number | boolean | undefined;
|
|
5992
|
+
dynamicImportPrefetch?: number | boolean | undefined;
|
|
5993
|
+
url?: boolean | "relative" | undefined;
|
|
5994
|
+
exprContextCritical?: boolean | undefined;
|
|
5995
|
+
wrappedContextCritical?: boolean | undefined;
|
|
5996
|
+
} | undefined;
|
|
5997
|
+
"javascript/esm"?: {
|
|
5998
|
+
dynamicImportMode?: "eager" | "lazy" | undefined;
|
|
5999
|
+
dynamicImportPreload?: number | boolean | undefined;
|
|
6000
|
+
dynamicImportPrefetch?: number | boolean | undefined;
|
|
6001
|
+
url?: boolean | "relative" | undefined;
|
|
6002
|
+
exprContextCritical?: boolean | undefined;
|
|
6003
|
+
wrappedContextCritical?: boolean | undefined;
|
|
5404
6004
|
} | undefined;
|
|
5405
6005
|
}>, z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>>]>>;
|
|
5406
6006
|
generator: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
@@ -5643,6 +6243,32 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5643
6243
|
dynamicImportPreload?: number | boolean | undefined;
|
|
5644
6244
|
dynamicImportPrefetch?: number | boolean | undefined;
|
|
5645
6245
|
url?: boolean | "relative" | undefined;
|
|
6246
|
+
exprContextCritical?: boolean | undefined;
|
|
6247
|
+
wrappedContextCritical?: boolean | undefined;
|
|
6248
|
+
} | undefined;
|
|
6249
|
+
"javascript/auto"?: {
|
|
6250
|
+
dynamicImportMode?: "eager" | "lazy" | undefined;
|
|
6251
|
+
dynamicImportPreload?: number | boolean | undefined;
|
|
6252
|
+
dynamicImportPrefetch?: number | boolean | undefined;
|
|
6253
|
+
url?: boolean | "relative" | undefined;
|
|
6254
|
+
exprContextCritical?: boolean | undefined;
|
|
6255
|
+
wrappedContextCritical?: boolean | undefined;
|
|
6256
|
+
} | undefined;
|
|
6257
|
+
"javascript/dynamic"?: {
|
|
6258
|
+
dynamicImportMode?: "eager" | "lazy" | undefined;
|
|
6259
|
+
dynamicImportPreload?: number | boolean | undefined;
|
|
6260
|
+
dynamicImportPrefetch?: number | boolean | undefined;
|
|
6261
|
+
url?: boolean | "relative" | undefined;
|
|
6262
|
+
exprContextCritical?: boolean | undefined;
|
|
6263
|
+
wrappedContextCritical?: boolean | undefined;
|
|
6264
|
+
} | undefined;
|
|
6265
|
+
"javascript/esm"?: {
|
|
6266
|
+
dynamicImportMode?: "eager" | "lazy" | undefined;
|
|
6267
|
+
dynamicImportPreload?: number | boolean | undefined;
|
|
6268
|
+
dynamicImportPrefetch?: number | boolean | undefined;
|
|
6269
|
+
url?: boolean | "relative" | undefined;
|
|
6270
|
+
exprContextCritical?: boolean | undefined;
|
|
6271
|
+
wrappedContextCritical?: boolean | undefined;
|
|
5646
6272
|
} | undefined;
|
|
5647
6273
|
} | Record<string, Record<string, any>> | undefined;
|
|
5648
6274
|
generator?: Record<string, Record<string, any>> | {
|
|
@@ -5711,6 +6337,32 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5711
6337
|
dynamicImportPreload?: number | boolean | undefined;
|
|
5712
6338
|
dynamicImportPrefetch?: number | boolean | undefined;
|
|
5713
6339
|
url?: boolean | "relative" | undefined;
|
|
6340
|
+
exprContextCritical?: boolean | undefined;
|
|
6341
|
+
wrappedContextCritical?: boolean | undefined;
|
|
6342
|
+
} | undefined;
|
|
6343
|
+
"javascript/auto"?: {
|
|
6344
|
+
dynamicImportMode?: "eager" | "lazy" | undefined;
|
|
6345
|
+
dynamicImportPreload?: number | boolean | undefined;
|
|
6346
|
+
dynamicImportPrefetch?: number | boolean | undefined;
|
|
6347
|
+
url?: boolean | "relative" | undefined;
|
|
6348
|
+
exprContextCritical?: boolean | undefined;
|
|
6349
|
+
wrappedContextCritical?: boolean | undefined;
|
|
6350
|
+
} | undefined;
|
|
6351
|
+
"javascript/dynamic"?: {
|
|
6352
|
+
dynamicImportMode?: "eager" | "lazy" | undefined;
|
|
6353
|
+
dynamicImportPreload?: number | boolean | undefined;
|
|
6354
|
+
dynamicImportPrefetch?: number | boolean | undefined;
|
|
6355
|
+
url?: boolean | "relative" | undefined;
|
|
6356
|
+
exprContextCritical?: boolean | undefined;
|
|
6357
|
+
wrappedContextCritical?: boolean | undefined;
|
|
6358
|
+
} | undefined;
|
|
6359
|
+
"javascript/esm"?: {
|
|
6360
|
+
dynamicImportMode?: "eager" | "lazy" | undefined;
|
|
6361
|
+
dynamicImportPreload?: number | boolean | undefined;
|
|
6362
|
+
dynamicImportPrefetch?: number | boolean | undefined;
|
|
6363
|
+
url?: boolean | "relative" | undefined;
|
|
6364
|
+
exprContextCritical?: boolean | undefined;
|
|
6365
|
+
wrappedContextCritical?: boolean | undefined;
|
|
5714
6366
|
} | undefined;
|
|
5715
6367
|
} | Record<string, Record<string, any>> | undefined;
|
|
5716
6368
|
generator?: Record<string, Record<string, any>> | {
|
|
@@ -5819,6 +6471,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5819
6471
|
}>) | undefined;
|
|
5820
6472
|
output?: {
|
|
5821
6473
|
path?: string | undefined;
|
|
6474
|
+
pathinfo?: boolean | "verbose" | undefined;
|
|
5822
6475
|
clean?: boolean | undefined;
|
|
5823
6476
|
publicPath?: string | undefined;
|
|
5824
6477
|
filename?: string | ((args_0: import("@rspack/binding").JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined;
|
|
@@ -6057,7 +6710,9 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
6057
6710
|
hidePathInfo?: boolean | undefined;
|
|
6058
6711
|
} | undefined;
|
|
6059
6712
|
runtimeChunk?: boolean | "single" | "multiple" | {
|
|
6060
|
-
name?: string | ((
|
|
6713
|
+
name?: string | ((args_0: {
|
|
6714
|
+
name: string;
|
|
6715
|
+
}, ...args_1: unknown[]) => string) | undefined;
|
|
6061
6716
|
} | undefined;
|
|
6062
6717
|
removeAvailableModules?: boolean | undefined;
|
|
6063
6718
|
removeEmptyChunks?: boolean | undefined;
|
|
@@ -6098,6 +6753,32 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
6098
6753
|
dynamicImportPreload?: number | boolean | undefined;
|
|
6099
6754
|
dynamicImportPrefetch?: number | boolean | undefined;
|
|
6100
6755
|
url?: boolean | "relative" | undefined;
|
|
6756
|
+
exprContextCritical?: boolean | undefined;
|
|
6757
|
+
wrappedContextCritical?: boolean | undefined;
|
|
6758
|
+
} | undefined;
|
|
6759
|
+
"javascript/auto"?: {
|
|
6760
|
+
dynamicImportMode?: "eager" | "lazy" | undefined;
|
|
6761
|
+
dynamicImportPreload?: number | boolean | undefined;
|
|
6762
|
+
dynamicImportPrefetch?: number | boolean | undefined;
|
|
6763
|
+
url?: boolean | "relative" | undefined;
|
|
6764
|
+
exprContextCritical?: boolean | undefined;
|
|
6765
|
+
wrappedContextCritical?: boolean | undefined;
|
|
6766
|
+
} | undefined;
|
|
6767
|
+
"javascript/dynamic"?: {
|
|
6768
|
+
dynamicImportMode?: "eager" | "lazy" | undefined;
|
|
6769
|
+
dynamicImportPreload?: number | boolean | undefined;
|
|
6770
|
+
dynamicImportPrefetch?: number | boolean | undefined;
|
|
6771
|
+
url?: boolean | "relative" | undefined;
|
|
6772
|
+
exprContextCritical?: boolean | undefined;
|
|
6773
|
+
wrappedContextCritical?: boolean | undefined;
|
|
6774
|
+
} | undefined;
|
|
6775
|
+
"javascript/esm"?: {
|
|
6776
|
+
dynamicImportMode?: "eager" | "lazy" | undefined;
|
|
6777
|
+
dynamicImportPreload?: number | boolean | undefined;
|
|
6778
|
+
dynamicImportPrefetch?: number | boolean | undefined;
|
|
6779
|
+
url?: boolean | "relative" | undefined;
|
|
6780
|
+
exprContextCritical?: boolean | undefined;
|
|
6781
|
+
wrappedContextCritical?: boolean | undefined;
|
|
6101
6782
|
} | undefined;
|
|
6102
6783
|
} | Record<string, Record<string, any>> | undefined;
|
|
6103
6784
|
generator?: Record<string, Record<string, any>> | {
|
|
@@ -6206,6 +6887,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
6206
6887
|
}>) | undefined;
|
|
6207
6888
|
output?: {
|
|
6208
6889
|
path?: string | undefined;
|
|
6890
|
+
pathinfo?: boolean | "verbose" | undefined;
|
|
6209
6891
|
clean?: boolean | undefined;
|
|
6210
6892
|
publicPath?: string | undefined;
|
|
6211
6893
|
filename?: string | ((args_0: import("@rspack/binding").JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined;
|
|
@@ -6444,7 +7126,9 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
6444
7126
|
hidePathInfo?: boolean | undefined;
|
|
6445
7127
|
} | undefined;
|
|
6446
7128
|
runtimeChunk?: boolean | "single" | "multiple" | {
|
|
6447
|
-
name?: string | ((
|
|
7129
|
+
name?: string | ((args_0: {
|
|
7130
|
+
name: string;
|
|
7131
|
+
}, ...args_1: unknown[]) => string) | undefined;
|
|
6448
7132
|
} | undefined;
|
|
6449
7133
|
removeAvailableModules?: boolean | undefined;
|
|
6450
7134
|
removeEmptyChunks?: boolean | undefined;
|
|
@@ -6485,6 +7169,32 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
6485
7169
|
dynamicImportPreload?: number | boolean | undefined;
|
|
6486
7170
|
dynamicImportPrefetch?: number | boolean | undefined;
|
|
6487
7171
|
url?: boolean | "relative" | undefined;
|
|
7172
|
+
exprContextCritical?: boolean | undefined;
|
|
7173
|
+
wrappedContextCritical?: boolean | undefined;
|
|
7174
|
+
} | undefined;
|
|
7175
|
+
"javascript/auto"?: {
|
|
7176
|
+
dynamicImportMode?: "eager" | "lazy" | undefined;
|
|
7177
|
+
dynamicImportPreload?: number | boolean | undefined;
|
|
7178
|
+
dynamicImportPrefetch?: number | boolean | undefined;
|
|
7179
|
+
url?: boolean | "relative" | undefined;
|
|
7180
|
+
exprContextCritical?: boolean | undefined;
|
|
7181
|
+
wrappedContextCritical?: boolean | undefined;
|
|
7182
|
+
} | undefined;
|
|
7183
|
+
"javascript/dynamic"?: {
|
|
7184
|
+
dynamicImportMode?: "eager" | "lazy" | undefined;
|
|
7185
|
+
dynamicImportPreload?: number | boolean | undefined;
|
|
7186
|
+
dynamicImportPrefetch?: number | boolean | undefined;
|
|
7187
|
+
url?: boolean | "relative" | undefined;
|
|
7188
|
+
exprContextCritical?: boolean | undefined;
|
|
7189
|
+
wrappedContextCritical?: boolean | undefined;
|
|
7190
|
+
} | undefined;
|
|
7191
|
+
"javascript/esm"?: {
|
|
7192
|
+
dynamicImportMode?: "eager" | "lazy" | undefined;
|
|
7193
|
+
dynamicImportPreload?: number | boolean | undefined;
|
|
7194
|
+
dynamicImportPrefetch?: number | boolean | undefined;
|
|
7195
|
+
url?: boolean | "relative" | undefined;
|
|
7196
|
+
exprContextCritical?: boolean | undefined;
|
|
7197
|
+
wrappedContextCritical?: boolean | undefined;
|
|
6488
7198
|
} | undefined;
|
|
6489
7199
|
} | Record<string, Record<string, any>> | undefined;
|
|
6490
7200
|
generator?: Record<string, Record<string, any>> | {
|