@rsbuild/core 1.3.0-beta.0 → 1.3.0-beta.1

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.
@@ -32,7 +32,7 @@ declare namespace __Config {
32
32
  set<T extends keyof OptionsType>(key: T, value: OptionsType[T]): this;
33
33
  merge(obj: Partial<OptionsType>): this;
34
34
  entries(): OptionsType;
35
- values<T extends keyof OptionsType>(): [OptionsType[T]][];
35
+ values<T extends keyof OptionsType>(): OptionsType[T][];
36
36
  when(
37
37
  condition: boolean,
38
38
  trueBrancher: (obj: this) => void,
@@ -627,7 +627,7 @@
627
627
  };
628
628
  exports.toString = toString;
629
629
  },
630
- 777: (module) => {
630
+ 426: (module) => {
631
631
  module.exports = class extends Function {
632
632
  constructor() {
633
633
  super();
@@ -640,35 +640,35 @@
640
640
  }
641
641
  };
642
642
  },
643
- 747: (module, __unused_webpack_exports, __nccwpck_require__) => {
644
- const createMap = __nccwpck_require__(156);
645
- const createChainable = __nccwpck_require__(363);
643
+ 284: (module, __unused_webpack_exports, __nccwpck_require__) => {
644
+ const createMap = __nccwpck_require__(389);
645
+ const createChainable = __nccwpck_require__(734);
646
646
  module.exports = createMap(createChainable(Object));
647
647
  },
648
- 109: (module, __unused_webpack_exports, __nccwpck_require__) => {
649
- const createSet = __nccwpck_require__(998);
650
- const createChainable = __nccwpck_require__(363);
648
+ 894: (module, __unused_webpack_exports, __nccwpck_require__) => {
649
+ const createSet = __nccwpck_require__(691);
650
+ const createChainable = __nccwpck_require__(734);
651
651
  module.exports = createSet(createChainable(Object));
652
652
  },
653
- 360: (module, __unused_webpack_exports, __nccwpck_require__) => {
654
- const Callable = __nccwpck_require__(777);
655
- const createMap = __nccwpck_require__(156);
656
- const createChainable = __nccwpck_require__(363);
657
- const createValue = __nccwpck_require__(987);
653
+ 333: (module, __unused_webpack_exports, __nccwpck_require__) => {
654
+ const Callable = __nccwpck_require__(426);
655
+ const createMap = __nccwpck_require__(389);
656
+ const createChainable = __nccwpck_require__(734);
657
+ const createValue = __nccwpck_require__(238);
658
658
  module.exports = createValue(createMap(createChainable(Callable)));
659
659
  },
660
- 751: (module, __unused_webpack_exports, __nccwpck_require__) => {
661
- const ChainedMap = __nccwpck_require__(747);
662
- const ChainedValueMap = __nccwpck_require__(360);
663
- const ChainedSet = __nccwpck_require__(109);
664
- const Resolve = __nccwpck_require__(313);
665
- const ResolveLoader = __nccwpck_require__(482);
666
- const Output = __nccwpck_require__(68);
667
- const DevServer = __nccwpck_require__(93);
668
- const Plugin = __nccwpck_require__(594);
669
- const Module = __nccwpck_require__(261);
670
- const Optimization = __nccwpck_require__(336);
671
- const Performance = __nccwpck_require__(575);
660
+ 540: (module, __unused_webpack_exports, __nccwpck_require__) => {
661
+ const ChainedMap = __nccwpck_require__(284);
662
+ const ChainedValueMap = __nccwpck_require__(333);
663
+ const ChainedSet = __nccwpck_require__(894);
664
+ const Resolve = __nccwpck_require__(912);
665
+ const ResolveLoader = __nccwpck_require__(239);
666
+ const Output = __nccwpck_require__(979);
667
+ const DevServer = __nccwpck_require__(68);
668
+ const Plugin = __nccwpck_require__(605);
669
+ const Module = __nccwpck_require__(462);
670
+ const Optimization = __nccwpck_require__(947);
671
+ const Performance = __nccwpck_require__(422);
672
672
  const castArray = (value) => (Array.isArray(value) ? value : [value]);
673
673
  const toEntryObject = (entryPoints) => {
674
674
  const entry = Object.keys(entryPoints).reduce(
@@ -845,9 +845,9 @@
845
845
  }
846
846
  };
847
847
  },
848
- 93: (module, __unused_webpack_exports, __nccwpck_require__) => {
849
- const ChainedMap = __nccwpck_require__(747);
850
- const ChainedSet = __nccwpck_require__(109);
848
+ 68: (module, __unused_webpack_exports, __nccwpck_require__) => {
849
+ const ChainedMap = __nccwpck_require__(284);
850
+ const ChainedSet = __nccwpck_require__(894);
851
851
  module.exports = class extends ChainedMap {
852
852
  constructor(parent) {
853
853
  super(parent);
@@ -919,9 +919,9 @@
919
919
  }
920
920
  };
921
921
  },
922
- 261: (module, __unused_webpack_exports, __nccwpck_require__) => {
923
- const ChainedMap = __nccwpck_require__(747);
924
- const Rule = __nccwpck_require__(991);
922
+ 462: (module, __unused_webpack_exports, __nccwpck_require__) => {
923
+ const ChainedMap = __nccwpck_require__(284);
924
+ const Rule = __nccwpck_require__(576);
925
925
  module.exports = class extends ChainedMap {
926
926
  constructor(parent) {
927
927
  super(parent);
@@ -976,10 +976,10 @@
976
976
  }
977
977
  };
978
978
  },
979
- 336: (module, __unused_webpack_exports, __nccwpck_require__) => {
980
- const ChainedMap = __nccwpck_require__(747);
981
- const ChainedValueMap = __nccwpck_require__(360);
982
- const Plugin = __nccwpck_require__(594);
979
+ 947: (module, __unused_webpack_exports, __nccwpck_require__) => {
980
+ const ChainedMap = __nccwpck_require__(284);
981
+ const ChainedValueMap = __nccwpck_require__(333);
982
+ const Plugin = __nccwpck_require__(605);
983
983
  module.exports = class extends ChainedMap {
984
984
  constructor(parent) {
985
985
  super(parent);
@@ -1041,7 +1041,7 @@
1041
1041
  }
1042
1042
  };
1043
1043
  },
1044
- 925: (module) => {
1044
+ 768: (module) => {
1045
1045
  module.exports = (Class) =>
1046
1046
  class extends Class {
1047
1047
  before(name) {
@@ -1073,8 +1073,8 @@
1073
1073
  }
1074
1074
  };
1075
1075
  },
1076
- 68: (module, __unused_webpack_exports, __nccwpck_require__) => {
1077
- const ChainedMap = __nccwpck_require__(747);
1076
+ 979: (module, __unused_webpack_exports, __nccwpck_require__) => {
1077
+ const ChainedMap = __nccwpck_require__(284);
1078
1078
  module.exports = class extends ChainedMap {
1079
1079
  constructor(parent) {
1080
1080
  super(parent);
@@ -1128,8 +1128,8 @@
1128
1128
  }
1129
1129
  };
1130
1130
  },
1131
- 575: (module, __unused_webpack_exports, __nccwpck_require__) => {
1132
- const ChainedValueMap = __nccwpck_require__(360);
1131
+ 422: (module, __unused_webpack_exports, __nccwpck_require__) => {
1132
+ const ChainedValueMap = __nccwpck_require__(333);
1133
1133
  module.exports = class extends ChainedValueMap {
1134
1134
  constructor(parent) {
1135
1135
  super(parent);
@@ -1142,9 +1142,9 @@
1142
1142
  }
1143
1143
  };
1144
1144
  },
1145
- 594: (module, __unused_webpack_exports, __nccwpck_require__) => {
1146
- const ChainedMap = __nccwpck_require__(747);
1147
- const Orderable = __nccwpck_require__(925);
1145
+ 605: (module, __unused_webpack_exports, __nccwpck_require__) => {
1146
+ const ChainedMap = __nccwpck_require__(284);
1147
+ const Orderable = __nccwpck_require__(768);
1148
1148
  module.exports = Orderable(
1149
1149
  class extends ChainedMap {
1150
1150
  constructor(parent, name, type = "plugin") {
@@ -1198,7 +1198,7 @@
1198
1198
  }
1199
1199
  if (typeof plugin === "string") {
1200
1200
  pluginPath = plugin;
1201
- plugin = __nccwpck_require__(520)(pluginPath);
1201
+ plugin = __nccwpck_require__(961)(pluginPath);
1202
1202
  }
1203
1203
  const constructorName = plugin.__expression
1204
1204
  ? `(${plugin.__expression})`
@@ -1216,10 +1216,10 @@
1216
1216
  },
1217
1217
  );
1218
1218
  },
1219
- 313: (module, __unused_webpack_exports, __nccwpck_require__) => {
1220
- const ChainedMap = __nccwpck_require__(747);
1221
- const ChainedSet = __nccwpck_require__(109);
1222
- const Plugin = __nccwpck_require__(594);
1219
+ 912: (module, __unused_webpack_exports, __nccwpck_require__) => {
1220
+ const ChainedMap = __nccwpck_require__(284);
1221
+ const ChainedSet = __nccwpck_require__(894);
1222
+ const Plugin = __nccwpck_require__(605);
1223
1223
  const childMaps = ["alias", "fallback", "byDependency", "extensionAlias"];
1224
1224
  const childSets = [
1225
1225
  "aliasFields",
@@ -1298,9 +1298,9 @@
1298
1298
  }
1299
1299
  };
1300
1300
  },
1301
- 482: (module, __unused_webpack_exports, __nccwpck_require__) => {
1302
- const Resolve = __nccwpck_require__(313);
1303
- const ChainedSet = __nccwpck_require__(109);
1301
+ 239: (module, __unused_webpack_exports, __nccwpck_require__) => {
1302
+ const Resolve = __nccwpck_require__(912);
1303
+ const ChainedSet = __nccwpck_require__(894);
1304
1304
  module.exports = class extends Resolve {
1305
1305
  constructor(parent) {
1306
1306
  super(parent);
@@ -1327,12 +1327,12 @@
1327
1327
  }
1328
1328
  };
1329
1329
  },
1330
- 991: (module, __unused_webpack_exports, __nccwpck_require__) => {
1331
- const ChainedMap = __nccwpck_require__(747);
1332
- const ChainedSet = __nccwpck_require__(109);
1333
- const Orderable = __nccwpck_require__(925);
1334
- const Use = __nccwpck_require__(146);
1335
- const Resolve = __nccwpck_require__(313);
1330
+ 576: (module, __unused_webpack_exports, __nccwpck_require__) => {
1331
+ const ChainedMap = __nccwpck_require__(284);
1332
+ const ChainedSet = __nccwpck_require__(894);
1333
+ const Orderable = __nccwpck_require__(768);
1334
+ const Use = __nccwpck_require__(795);
1335
+ const Resolve = __nccwpck_require__(912);
1336
1336
  function toArray(arr) {
1337
1337
  return Array.isArray(arr) ? arr : [arr];
1338
1338
  }
@@ -1460,10 +1460,10 @@
1460
1460
  );
1461
1461
  module.exports = Rule;
1462
1462
  },
1463
- 146: (module, __unused_webpack_exports, __nccwpck_require__) => {
1463
+ 795: (module, __unused_webpack_exports, __nccwpck_require__) => {
1464
1464
  const merge = __nccwpck_require__(779);
1465
- const ChainedMap = __nccwpck_require__(747);
1466
- const Orderable = __nccwpck_require__(925);
1465
+ const ChainedMap = __nccwpck_require__(284);
1466
+ const Orderable = __nccwpck_require__(768);
1467
1467
  module.exports = Orderable(
1468
1468
  class extends ChainedMap {
1469
1469
  constructor(parent, name) {
@@ -1496,7 +1496,7 @@
1496
1496
  },
1497
1497
  );
1498
1498
  },
1499
- 363: (module) => {
1499
+ 734: (module) => {
1500
1500
  module.exports = function createChainable(superClass) {
1501
1501
  return class extends superClass {
1502
1502
  constructor(parent) {
@@ -1513,7 +1513,7 @@
1513
1513
  };
1514
1514
  };
1515
1515
  },
1516
- 156: (module, __unused_webpack_exports, __nccwpck_require__) => {
1516
+ 389: (module, __unused_webpack_exports, __nccwpck_require__) => {
1517
1517
  const merge = __nccwpck_require__(779);
1518
1518
  module.exports = function createMap(superClass) {
1519
1519
  return class extends superClass {
@@ -1637,7 +1637,7 @@
1637
1637
  };
1638
1638
  };
1639
1639
  },
1640
- 998: (module) => {
1640
+ 691: (module) => {
1641
1641
  module.exports = function createSet(superClass) {
1642
1642
  return class extends superClass {
1643
1643
  constructor(...args) {
@@ -1687,7 +1687,7 @@
1687
1687
  };
1688
1688
  };
1689
1689
  },
1690
- 987: (module) => {
1690
+ 238: (module) => {
1691
1691
  module.exports = function createValue(superClass) {
1692
1692
  return class extends superClass {
1693
1693
  constructor(...args) {
@@ -1725,7 +1725,7 @@
1725
1725
  };
1726
1726
  };
1727
1727
  },
1728
- 520: (module) => {
1728
+ 961: (module) => {
1729
1729
  function webpackEmptyContext(req) {
1730
1730
  var e = new Error("Cannot find module '" + req + "'");
1731
1731
  e.code = "MODULE_NOT_FOUND";
@@ -1733,7 +1733,7 @@
1733
1733
  }
1734
1734
  webpackEmptyContext.keys = () => [];
1735
1735
  webpackEmptyContext.resolve = webpackEmptyContext;
1736
- webpackEmptyContext.id = 520;
1736
+ webpackEmptyContext.id = 961;
1737
1737
  module.exports = webpackEmptyContext;
1738
1738
  },
1739
1739
  };
@@ -1763,6 +1763,6 @@
1763
1763
  })();
1764
1764
  if (typeof __nccwpck_require__ !== "undefined")
1765
1765
  __nccwpck_require__.ab = __dirname + "/";
1766
- var __webpack_exports__ = __nccwpck_require__(751);
1766
+ var __webpack_exports__ = __nccwpck_require__(540);
1767
1767
  module.exports = __webpack_exports__;
1768
1768
  })();
@@ -1 +1 @@
1
- {"name":"rspack-chain","author":"rspack-contrib","version":"1.2.1","license":"MIT","types":"index.d.ts","type":"commonjs"}
1
+ {"name":"rspack-chain","author":"rspack-contrib","version":"1.2.2","license":"MIT","types":"index.d.ts","type":"commonjs"}