@rspack/core 0.1.3 → 0.1.5

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.
@@ -1538,25 +1538,33 @@ export declare namespace definitions {
1538
1538
  }[];
1539
1539
  export { oneOf_24 as oneOf };
1540
1540
  }
1541
- export namespace oneOf_25 {
1541
+ export namespace dependency {
1542
1542
  const description_148: string;
1543
1543
  export { description_148 as description };
1544
+ const oneOf_25: {
1545
+ $ref: string;
1546
+ }[];
1547
+ export { oneOf_25 as oneOf };
1548
+ }
1549
+ export namespace oneOf_26 {
1550
+ const description_149: string;
1551
+ export { description_149 as description };
1544
1552
  const type_75: string;
1545
1553
  export { type_75 as type };
1546
1554
  export namespace items_11 {
1547
- const description_149: string;
1548
- export { description_149 as description };
1549
- const oneOf_26: {
1555
+ const description_150: string;
1556
+ export { description_150 as description };
1557
+ const oneOf_27: {
1550
1558
  $ref: string;
1551
1559
  }[];
1552
- export { oneOf_26 as oneOf };
1560
+ export { oneOf_27 as oneOf };
1553
1561
  }
1554
1562
  export { items_11 as items };
1555
1563
  }
1556
- export { oneOf_25 as oneOf };
1564
+ export { oneOf_26 as oneOf };
1557
1565
  export namespace parser_1 {
1558
- const description_150: string;
1559
- export { description_150 as description };
1566
+ const description_151: string;
1567
+ export { description_151 as description };
1560
1568
  const type_76: string;
1561
1569
  export { type_76 as type };
1562
1570
  const additionalProperties_23: boolean;
@@ -1564,24 +1572,16 @@ export declare namespace definitions {
1564
1572
  }
1565
1573
  export { parser_1 as parser };
1566
1574
  export namespace resolve {
1567
- const description_151: string;
1568
- export { description_151 as description };
1569
- const type_77: string;
1570
- export { type_77 as type };
1571
- const oneOf_27: {
1572
- $ref: string;
1573
- }[];
1574
- export { oneOf_27 as oneOf };
1575
- }
1576
- export namespace resource {
1577
1575
  const description_152: string;
1578
1576
  export { description_152 as description };
1577
+ const type_77: string;
1578
+ export { type_77 as type };
1579
1579
  const oneOf_28: {
1580
1580
  $ref: string;
1581
1581
  }[];
1582
1582
  export { oneOf_28 as oneOf };
1583
1583
  }
1584
- export namespace resourceFragment {
1584
+ export namespace resource {
1585
1585
  const description_153: string;
1586
1586
  export { description_153 as description };
1587
1587
  const oneOf_29: {
@@ -1589,7 +1589,7 @@ export declare namespace definitions {
1589
1589
  }[];
1590
1590
  export { oneOf_29 as oneOf };
1591
1591
  }
1592
- export namespace resourceQuery {
1592
+ export namespace resourceFragment {
1593
1593
  const description_154: string;
1594
1594
  export { description_154 as description };
1595
1595
  const oneOf_30: {
@@ -1597,64 +1597,72 @@ export declare namespace definitions {
1597
1597
  }[];
1598
1598
  export { oneOf_30 as oneOf };
1599
1599
  }
1600
- export namespace rules_1 {
1600
+ export namespace resourceQuery {
1601
1601
  const description_155: string;
1602
1602
  export { description_155 as description };
1603
+ const oneOf_31: {
1604
+ $ref: string;
1605
+ }[];
1606
+ export { oneOf_31 as oneOf };
1607
+ }
1608
+ export namespace rules_1 {
1609
+ const description_156: string;
1610
+ export { description_156 as description };
1603
1611
  const type_78: string;
1604
1612
  export { type_78 as type };
1605
1613
  export namespace items_12 {
1606
- const description_156: string;
1607
- export { description_156 as description };
1608
- const oneOf_31: {
1614
+ const description_157: string;
1615
+ export { description_157 as description };
1616
+ const oneOf_32: {
1609
1617
  $ref: string;
1610
1618
  }[];
1611
- export { oneOf_31 as oneOf };
1619
+ export { oneOf_32 as oneOf };
1612
1620
  }
1613
1621
  export { items_12 as items };
1614
1622
  }
1615
1623
  export { rules_1 as rules };
1616
1624
  export namespace sideEffects_1 {
1617
- const description_157: string;
1618
- export { description_157 as description };
1625
+ const description_158: string;
1626
+ export { description_158 as description };
1619
1627
  const type_79: string;
1620
1628
  export { type_79 as type };
1621
1629
  }
1622
1630
  export { sideEffects_1 as sideEffects };
1623
1631
  export namespace test_1 {
1624
- const description_158: string;
1625
- export { description_158 as description };
1626
- const oneOf_32: {
1632
+ const description_159: string;
1633
+ export { description_159 as description };
1634
+ const oneOf_33: {
1627
1635
  $ref: string;
1628
1636
  }[];
1629
- export { oneOf_32 as oneOf };
1637
+ export { oneOf_33 as oneOf };
1630
1638
  }
1631
1639
  export { test_1 as test };
1632
1640
  export namespace type_80 {
1633
- const description_159: string;
1634
- export { description_159 as description };
1641
+ const description_160: string;
1642
+ export { description_160 as description };
1635
1643
  const type_81: string;
1636
1644
  export { type_81 as type };
1637
1645
  }
1638
1646
  export { type_80 as type };
1639
1647
  export namespace use {
1640
- const description_160: string;
1641
- export { description_160 as description };
1642
- const oneOf_33: {
1648
+ const description_161: string;
1649
+ export { description_161 as description };
1650
+ const oneOf_34: {
1643
1651
  $ref: string;
1644
1652
  }[];
1645
- export { oneOf_33 as oneOf };
1653
+ export { oneOf_34 as oneOf };
1646
1654
  }
1647
1655
  }
1648
1656
  export { properties_18 as properties };
1649
1657
  }
1650
1658
  namespace RuleSetRules {
1651
- const description_161: string;
1652
- export { description_161 as description };
1659
+ const description_162: string;
1660
+ export { description_162 as description };
1653
1661
  const type_82: string;
1654
1662
  export { type_82 as type };
1655
1663
  export namespace items_13 {
1656
- const description_162: string;
1657
- export { description_162 as description };
1664
+ const description_163: string;
1665
+ export { description_163 as description };
1658
1666
  const anyOf_43: ({
1659
1667
  enum: string[];
1660
1668
  $ref?: undefined;
@@ -1667,8 +1675,8 @@ export declare namespace definitions {
1667
1675
  export { items_13 as items };
1668
1676
  }
1669
1677
  namespace RuleSetUse {
1670
- const description_163: string;
1671
- export { description_163 as description };
1678
+ const description_164: string;
1679
+ export { description_164 as description };
1672
1680
  const anyOf_44: ({
1673
1681
  type: string;
1674
1682
  items: {
@@ -1686,8 +1694,8 @@ export declare namespace definitions {
1686
1694
  export { anyOf_44 as anyOf };
1687
1695
  }
1688
1696
  namespace RuleSetUseItem {
1689
- const description_164: string;
1690
- export { description_164 as description };
1697
+ const description_165: string;
1698
+ export { description_165 as description };
1691
1699
  const anyOf_45: ({
1692
1700
  type: string;
1693
1701
  additionalProperties: boolean;
@@ -1715,30 +1723,30 @@ export declare namespace definitions {
1715
1723
  export { anyOf_45 as anyOf };
1716
1724
  }
1717
1725
  namespace SnapshotOptions {
1718
- const description_165: string;
1719
- export { description_165 as description };
1726
+ const description_166: string;
1727
+ export { description_166 as description };
1720
1728
  const type_83: string;
1721
1729
  export { type_83 as type };
1722
1730
  const additionalProperties_24: boolean;
1723
1731
  export { additionalProperties_24 as additionalProperties };
1724
1732
  export namespace properties_19 {
1725
1733
  export namespace module_1 {
1726
- const description_166: string;
1727
- export { description_166 as description };
1734
+ const description_167: string;
1735
+ export { description_167 as description };
1728
1736
  const type_84: string;
1729
1737
  export { type_84 as type };
1730
1738
  const additionalProperties_25: boolean;
1731
1739
  export { additionalProperties_25 as additionalProperties };
1732
1740
  export namespace properties_20 {
1733
1741
  namespace hash {
1734
- const description_167: string;
1735
- export { description_167 as description };
1742
+ const description_168: string;
1743
+ export { description_168 as description };
1736
1744
  const type_85: string;
1737
1745
  export { type_85 as type };
1738
1746
  }
1739
1747
  namespace timestamp {
1740
- const description_168: string;
1741
- export { description_168 as description };
1748
+ const description_169: string;
1749
+ export { description_169 as description };
1742
1750
  const type_86: string;
1743
1751
  export { type_86 as type };
1744
1752
  }
@@ -1747,23 +1755,23 @@ export declare namespace definitions {
1747
1755
  }
1748
1756
  export { module_1 as module };
1749
1757
  export namespace resolve_1 {
1750
- const description_169: string;
1751
- export { description_169 as description };
1758
+ const description_170: string;
1759
+ export { description_170 as description };
1752
1760
  const type_87: string;
1753
1761
  export { type_87 as type };
1754
1762
  const additionalProperties_26: boolean;
1755
1763
  export { additionalProperties_26 as additionalProperties };
1756
1764
  export namespace properties_21 {
1757
1765
  export namespace hash_1 {
1758
- const description_170: string;
1759
- export { description_170 as description };
1766
+ const description_171: string;
1767
+ export { description_171 as description };
1760
1768
  const type_88: string;
1761
1769
  export { type_88 as type };
1762
1770
  }
1763
1771
  export { hash_1 as hash };
1764
1772
  export namespace timestamp_1 {
1765
- const description_171: string;
1766
- export { description_171 as description };
1773
+ const description_172: string;
1774
+ export { description_172 as description };
1767
1775
  const type_89: string;
1768
1776
  export { type_89 as type };
1769
1777
  }
@@ -1776,48 +1784,48 @@ export declare namespace definitions {
1776
1784
  export { properties_19 as properties };
1777
1785
  }
1778
1786
  namespace StatsOptions {
1779
- const description_172: string;
1780
- export { description_172 as description };
1787
+ const description_173: string;
1788
+ export { description_173 as description };
1781
1789
  const type_90: string;
1782
1790
  export { type_90 as type };
1783
1791
  const additionalProperties_27: boolean;
1784
1792
  export { additionalProperties_27 as additionalProperties };
1785
1793
  export namespace properties_22 {
1786
1794
  export namespace all {
1787
- const description_173: string;
1788
- export { description_173 as description };
1795
+ const description_174: string;
1796
+ export { description_174 as description };
1789
1797
  const type_91: string;
1790
1798
  export { type_91 as type };
1791
1799
  }
1792
1800
  export namespace assets {
1793
- const description_174: string;
1794
- export { description_174 as description };
1801
+ const description_175: string;
1802
+ export { description_175 as description };
1795
1803
  const type_92: string;
1796
1804
  export { type_92 as type };
1797
1805
  }
1798
1806
  export namespace chunkGroups {
1799
- const description_175: string;
1800
- export { description_175 as description };
1807
+ const description_176: string;
1808
+ export { description_176 as description };
1801
1809
  const type_93: string;
1802
1810
  export { type_93 as type };
1803
1811
  }
1804
1812
  export namespace chunks_2 {
1805
- const description_176: string;
1806
- export { description_176 as description };
1813
+ const description_177: string;
1814
+ export { description_177 as description };
1807
1815
  const type_94: string;
1808
1816
  export { type_94 as type };
1809
1817
  }
1810
1818
  export { chunks_2 as chunks };
1811
1819
  export namespace colors_1 {
1812
- const description_177: string;
1813
- export { description_177 as description };
1820
+ const description_178: string;
1821
+ export { description_178 as description };
1814
1822
  const type_95: string;
1815
1823
  export { type_95 as type };
1816
1824
  }
1817
1825
  export { colors_1 as colors };
1818
1826
  export namespace entrypoints {
1819
- const description_178: string;
1820
- export { description_178 as description };
1827
+ const description_179: string;
1828
+ export { description_179 as description };
1821
1829
  const anyOf_46: ({
1822
1830
  enum: string[];
1823
1831
  type?: undefined;
@@ -1828,91 +1836,91 @@ export declare namespace definitions {
1828
1836
  export { anyOf_46 as anyOf };
1829
1837
  }
1830
1838
  export namespace errors {
1831
- const description_179: string;
1832
- export { description_179 as description };
1839
+ const description_180: string;
1840
+ export { description_180 as description };
1833
1841
  const type_96: string;
1834
1842
  export { type_96 as type };
1835
1843
  }
1836
1844
  export namespace errorsCount {
1837
- const description_180: string;
1838
- export { description_180 as description };
1845
+ const description_181: string;
1846
+ export { description_181 as description };
1839
1847
  const type_97: string;
1840
1848
  export { type_97 as type };
1841
1849
  }
1842
1850
  export namespace hash_2 {
1843
- const description_181: string;
1844
- export { description_181 as description };
1851
+ const description_182: string;
1852
+ export { description_182 as description };
1845
1853
  const type_98: string;
1846
1854
  export { type_98 as type };
1847
1855
  }
1848
1856
  export { hash_2 as hash };
1849
1857
  export namespace modules_1 {
1850
- const description_182: string;
1851
- export { description_182 as description };
1858
+ const description_183: string;
1859
+ export { description_183 as description };
1852
1860
  const type_99: string;
1853
1861
  export { type_99 as type };
1854
1862
  }
1855
1863
  export { modules_1 as modules };
1856
1864
  export namespace preset {
1857
- const description_183: string;
1858
- export { description_183 as description };
1865
+ const description_184: string;
1866
+ export { description_184 as description };
1859
1867
  const anyOf_47: {
1860
1868
  type: string;
1861
1869
  }[];
1862
1870
  export { anyOf_47 as anyOf };
1863
1871
  }
1864
1872
  export namespace publicPath_1 {
1865
- const description_184: string;
1866
- export { description_184 as description };
1873
+ const description_185: string;
1874
+ export { description_185 as description };
1867
1875
  const type_100: string;
1868
1876
  export { type_100 as type };
1869
1877
  }
1870
1878
  export { publicPath_1 as publicPath };
1871
1879
  export namespace reasons {
1872
- const description_185: string;
1873
- export { description_185 as description };
1880
+ const description_186: string;
1881
+ export { description_186 as description };
1874
1882
  const type_101: string;
1875
1883
  export { type_101 as type };
1876
1884
  }
1877
1885
  export namespace warnings {
1878
- const description_186: string;
1879
- export { description_186 as description };
1886
+ const description_187: string;
1887
+ export { description_187 as description };
1880
1888
  const type_102: string;
1881
1889
  export { type_102 as type };
1882
1890
  }
1883
1891
  export namespace warningsCount {
1884
- const description_187: string;
1885
- export { description_187 as description };
1892
+ const description_188: string;
1893
+ export { description_188 as description };
1886
1894
  const type_103: string;
1887
1895
  export { type_103 as type };
1888
1896
  }
1889
1897
  export namespace outputPath {
1890
- const description_188: string;
1891
- export { description_188 as description };
1898
+ const description_189: string;
1899
+ export { description_189 as description };
1892
1900
  const type_104: string;
1893
1901
  export { type_104 as type };
1894
1902
  }
1895
1903
  export namespace chunkModules {
1896
- const description_189: string;
1897
- export { description_189 as description };
1904
+ const description_190: string;
1905
+ export { description_190 as description };
1898
1906
  const type_105: string;
1899
1907
  export { type_105 as type };
1900
1908
  }
1901
1909
  export namespace chunkRelations {
1902
- const description_190: string;
1903
- export { description_190 as description };
1910
+ const description_191: string;
1911
+ export { description_191 as description };
1904
1912
  const type_106: string;
1905
1913
  export { type_106 as type };
1906
1914
  }
1907
1915
  export namespace timings {
1908
- const description_191: string;
1909
- export { description_191 as description };
1916
+ const description_192: string;
1917
+ export { description_192 as description };
1910
1918
  const type_107: string;
1911
1919
  export { type_107 as type };
1912
1920
  }
1913
1921
  export namespace builtAt {
1914
- const description_192: string;
1915
- export { description_192 as description };
1922
+ const description_193: string;
1923
+ export { description_193 as description };
1916
1924
  const type_108: string;
1917
1925
  export { type_108 as type };
1918
1926
  }
@@ -1920,8 +1928,8 @@ export declare namespace definitions {
1920
1928
  export { properties_22 as properties };
1921
1929
  }
1922
1930
  namespace StatsValue {
1923
- const description_193: string;
1924
- export { description_193 as description };
1931
+ const description_194: string;
1932
+ export { description_194 as description };
1925
1933
  const anyOf_48: ({
1926
1934
  enum: string[];
1927
1935
  type?: undefined;
@@ -1938,14 +1946,14 @@ export declare namespace definitions {
1938
1946
  export { anyOf_48 as anyOf };
1939
1947
  }
1940
1948
  namespace StrictModuleErrorHandling {
1941
- const description_194: string;
1942
- export { description_194 as description };
1949
+ const description_195: string;
1950
+ export { description_195 as description };
1943
1951
  const type_109: string;
1944
1952
  export { type_109 as type };
1945
1953
  }
1946
1954
  namespace Target {
1947
- const description_195: string;
1948
- export { description_195 as description };
1955
+ const description_196: string;
1956
+ export { description_196 as description };
1949
1957
  const anyOf_49: ({
1950
1958
  type: string;
1951
1959
  items: {
@@ -1972,48 +1980,48 @@ export declare namespace definitions {
1972
1980
  export { anyOf_49 as anyOf };
1973
1981
  }
1974
1982
  namespace UmdNamedDefine {
1975
- const description_196: string;
1976
- export { description_196 as description };
1983
+ const description_197: string;
1984
+ export { description_197 as description };
1977
1985
  const type_110: string;
1978
1986
  export { type_110 as type };
1979
1987
  }
1980
1988
  namespace UniqueName {
1981
- const description_197: string;
1982
- export { description_197 as description };
1989
+ const description_198: string;
1990
+ export { description_198 as description };
1983
1991
  const type_111: string;
1984
1992
  export { type_111 as type };
1985
1993
  const minLength_6: number;
1986
1994
  export { minLength_6 as minLength };
1987
1995
  }
1988
1996
  namespace Watch {
1989
- const description_198: string;
1990
- export { description_198 as description };
1997
+ const description_199: string;
1998
+ export { description_199 as description };
1991
1999
  const type_112: string;
1992
2000
  export { type_112 as type };
1993
2001
  }
1994
2002
  namespace WatchOptions {
1995
- const description_199: string;
1996
- export { description_199 as description };
2003
+ const description_200: string;
2004
+ export { description_200 as description };
1997
2005
  const type_113: string;
1998
2006
  export { type_113 as type };
1999
2007
  const additionalProperties_28: boolean;
2000
2008
  export { additionalProperties_28 as additionalProperties };
2001
2009
  export namespace properties_23 {
2002
2010
  namespace aggregateTimeout {
2003
- const description_200: string;
2004
- export { description_200 as description };
2011
+ const description_201: string;
2012
+ export { description_201 as description };
2005
2013
  const type_114: string;
2006
2014
  export { type_114 as type };
2007
2015
  }
2008
2016
  namespace followSymlinks {
2009
- const description_201: string;
2010
- export { description_201 as description };
2017
+ const description_202: string;
2018
+ export { description_202 as description };
2011
2019
  const type_115: string;
2012
2020
  export { type_115 as type };
2013
2021
  }
2014
2022
  namespace ignored {
2015
- const description_202: string;
2016
- export { description_202 as description };
2023
+ const description_203: string;
2024
+ export { description_203 as description };
2017
2025
  const anyOf_50: ({
2018
2026
  type: string;
2019
2027
  items: {
@@ -2040,8 +2048,8 @@ export declare namespace definitions {
2040
2048
  export { anyOf_50 as anyOf };
2041
2049
  }
2042
2050
  namespace poll {
2043
- const description_203: string;
2044
- export { description_203 as description };
2051
+ const description_204: string;
2052
+ export { description_204 as description };
2045
2053
  const anyOf_51: {
2046
2054
  description: string;
2047
2055
  type: string;
@@ -2049,8 +2057,8 @@ export declare namespace definitions {
2049
2057
  export { anyOf_51 as anyOf };
2050
2058
  }
2051
2059
  namespace stdin {
2052
- const description_204: string;
2053
- export { description_204 as description };
2060
+ const description_205: string;
2061
+ export { description_205 as description };
2054
2062
  const type_116: string;
2055
2063
  export { type_116 as type };
2056
2064
  }
@@ -2058,22 +2066,22 @@ export declare namespace definitions {
2058
2066
  export { properties_23 as properties };
2059
2067
  }
2060
2068
  namespace RspackPluginFunction {
2061
- const description_205: string;
2062
- export { description_205 as description };
2069
+ const description_206: string;
2070
+ export { description_206 as description };
2063
2071
  const _instanceof: string;
2064
2072
  export { _instanceof as instanceof };
2065
2073
  }
2066
2074
  namespace RspackPluginInstance {
2067
- const description_206: string;
2068
- export { description_206 as description };
2075
+ const description_207: string;
2076
+ export { description_207 as description };
2069
2077
  const type_117: string;
2070
2078
  export { type_117 as type };
2071
2079
  const additionalProperties_29: boolean;
2072
2080
  export { additionalProperties_29 as additionalProperties };
2073
2081
  export namespace properties_24 {
2074
2082
  namespace apply {
2075
- const description_207: string;
2076
- export { description_207 as description };
2083
+ const description_208: string;
2084
+ export { description_208 as description };
2077
2085
  const _instanceof_1: string;
2078
2086
  export { _instanceof_1 as instanceof };
2079
2087
  }
@@ -2084,7 +2092,7 @@ export declare namespace definitions {
2084
2092
  }
2085
2093
  }
2086
2094
  export declare const title: string;
2087
- declare const description_208: string;
2095
+ declare const description_209: string;
2088
2096
  declare const type_118: string;
2089
2097
  declare const additionalProperties_30: boolean;
2090
2098
  export declare namespace properties_25 {
@@ -2189,13 +2197,13 @@ export declare namespace properties_25 {
2189
2197
  export { $ref_55 as $ref };
2190
2198
  }
2191
2199
  export namespace builtins {
2192
- const description_209: string;
2193
- export { description_209 as description };
2200
+ const description_210: string;
2201
+ export { description_210 as description };
2194
2202
  const type_119: string;
2195
2203
  export { type_119 as type };
2196
2204
  const additionalProperties_31: boolean;
2197
2205
  export { additionalProperties_31 as additionalProperties };
2198
2206
  }
2199
2207
  }
2200
- export { description_208 as description, type_118 as type, additionalProperties_30 as additionalProperties, properties_25 as properties };
2208
+ export { description_209 as description, type_118 as type, additionalProperties_30 as additionalProperties, properties_25 as properties };
2201
2209
  //# sourceMappingURL=schema.d.ts.map
@@ -1303,6 +1303,14 @@ module.exports = {
1303
1303
  }
1304
1304
  ]
1305
1305
  },
1306
+ dependency: {
1307
+ description: "Match dependency type.",
1308
+ oneOf: [
1309
+ {
1310
+ $ref: "#/definitions/RuleSetConditionOrConditions"
1311
+ }
1312
+ ]
1313
+ },
1306
1314
  oneOf: {
1307
1315
  description: "Only execute the first matching rule in this array.",
1308
1316
  type: "array",