@rspack/core 1.2.1 → 1.2.2

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/index.js CHANGED
@@ -722,6 +722,7 @@ __export(src_exports, {
722
722
  RspackOptionsApply: () => RspackOptionsApply,
723
723
  RuntimeGlobals: () => RuntimeGlobals,
724
724
  RuntimeModule: () => RuntimeModule,
725
+ RuntimePlugin: () => RuntimePlugin,
725
726
  SourceMapDevToolPlugin: () => SourceMapDevToolPlugin,
726
727
  Stats: () => Stats,
727
728
  SwcJsMinimizerRspackPlugin: () => SwcJsMinimizerRspackPlugin,
@@ -787,6 +788,7 @@ __export(exports_exports, {
787
788
  RspackOptionsApply: () => RspackOptionsApply,
788
789
  RuntimeGlobals: () => RuntimeGlobals,
789
790
  RuntimeModule: () => RuntimeModule,
791
+ RuntimePlugin: () => RuntimePlugin,
790
792
  SourceMapDevToolPlugin: () => SourceMapDevToolPlugin,
791
793
  Stats: () => Stats,
792
794
  SwcJsMinimizerRspackPlugin: () => SwcJsMinimizerRspackPlugin,
@@ -821,40 +823,40 @@ var liteTapable = __toESM(require("@rspack/lite-tapable"));
821
823
  // src/Dependency.ts
822
824
  var Dependency = class _Dependency {
823
825
  #inner;
824
- static __from_binding(binding8) {
825
- return new _Dependency(binding8);
826
+ static __from_binding(binding9) {
827
+ return new _Dependency(binding9);
826
828
  }
827
829
  static __to_binding(data) {
828
830
  return data.#inner;
829
831
  }
830
- constructor(binding8) {
831
- this.#inner = binding8;
832
+ constructor(binding9) {
833
+ this.#inner = binding9;
832
834
  Object.defineProperties(this, {
833
835
  type: {
834
836
  enumerable: true,
835
837
  get() {
836
- return binding8.type;
838
+ return binding9.type;
837
839
  }
838
840
  },
839
841
  category: {
840
842
  enumerable: true,
841
843
  get() {
842
- return binding8.category;
844
+ return binding9.category;
843
845
  }
844
846
  },
845
847
  request: {
846
848
  enumerable: true,
847
849
  get() {
848
- return binding8.request;
850
+ return binding9.request;
849
851
  }
850
852
  },
851
853
  critical: {
852
854
  enumerable: true,
853
855
  get() {
854
- return binding8.critical;
856
+ return binding9.critical;
855
857
  },
856
858
  set(val) {
857
- binding8.critical = val;
859
+ binding9.critical = val;
858
860
  }
859
861
  }
860
862
  });
@@ -864,25 +866,25 @@ var Dependency = class _Dependency {
864
866
  // src/DependenciesBlock.ts
865
867
  var DependenciesBlock = class _DependenciesBlock {
866
868
  #binding;
867
- static __from_binding(binding8) {
868
- return new _DependenciesBlock(binding8);
869
+ static __from_binding(binding9) {
870
+ return new _DependenciesBlock(binding9);
869
871
  }
870
872
  static __to_binding(block) {
871
873
  return block.#binding;
872
874
  }
873
- constructor(binding8) {
874
- this.#binding = binding8;
875
+ constructor(binding9) {
876
+ this.#binding = binding9;
875
877
  Object.defineProperties(this, {
876
878
  dependencies: {
877
879
  enumerable: true,
878
880
  get() {
879
- return binding8.dependencies.map((d) => Dependency.__from_binding(d));
881
+ return binding9.dependencies.map((d) => Dependency.__from_binding(d));
880
882
  }
881
883
  },
882
884
  blocks: {
883
885
  enumerable: true,
884
886
  get() {
885
- return binding8.blocks.map((b) => _DependenciesBlock.__from_binding(b));
887
+ return binding9.blocks.map((b) => _DependenciesBlock.__from_binding(b));
886
888
  }
887
889
  }
888
890
  });
@@ -935,49 +937,49 @@ var JsSource = class extends import_webpack_sources.Source {
935
937
  // src/Module.ts
936
938
  var ContextModuleFactoryBeforeResolveData = class _ContextModuleFactoryBeforeResolveData {
937
939
  #inner;
938
- static __from_binding(binding8) {
939
- return new _ContextModuleFactoryBeforeResolveData(binding8);
940
+ static __from_binding(binding9) {
941
+ return new _ContextModuleFactoryBeforeResolveData(binding9);
940
942
  }
941
943
  static __to_binding(data) {
942
944
  return data.#inner;
943
945
  }
944
- constructor(binding8) {
945
- this.#inner = binding8;
946
+ constructor(binding9) {
947
+ this.#inner = binding9;
946
948
  Object.defineProperties(this, {
947
949
  context: {
948
950
  enumerable: true,
949
951
  get() {
950
- return binding8.context;
952
+ return binding9.context;
951
953
  },
952
954
  set(val) {
953
- binding8.context = val;
955
+ binding9.context = val;
954
956
  }
955
957
  },
956
958
  request: {
957
959
  enumerable: true,
958
960
  get() {
959
- return binding8.request;
961
+ return binding9.request;
960
962
  },
961
963
  set(val) {
962
- binding8.request = val;
964
+ binding9.request = val;
963
965
  }
964
966
  },
965
967
  regExp: {
966
968
  enumerable: true,
967
969
  get() {
968
- return binding8.regExp;
970
+ return binding9.regExp;
969
971
  },
970
972
  set(val) {
971
- binding8.regExp = val;
973
+ binding9.regExp = val;
972
974
  }
973
975
  },
974
976
  recursive: {
975
977
  enumerable: true,
976
978
  get() {
977
- return binding8.recursive;
979
+ return binding9.recursive;
978
980
  },
979
981
  set(val) {
980
- binding8.recursive = val;
982
+ binding9.recursive = val;
981
983
  }
982
984
  }
983
985
  });
@@ -985,64 +987,64 @@ var ContextModuleFactoryBeforeResolveData = class _ContextModuleFactoryBeforeRes
985
987
  };
986
988
  var ContextModuleFactoryAfterResolveData = class _ContextModuleFactoryAfterResolveData {
987
989
  #inner;
988
- static __from_binding(binding8) {
989
- return new _ContextModuleFactoryAfterResolveData(binding8);
990
+ static __from_binding(binding9) {
991
+ return new _ContextModuleFactoryAfterResolveData(binding9);
990
992
  }
991
993
  static __to_binding(data) {
992
994
  return data.#inner;
993
995
  }
994
- constructor(binding8) {
995
- this.#inner = binding8;
996
+ constructor(binding9) {
997
+ this.#inner = binding9;
996
998
  Object.defineProperties(this, {
997
999
  resource: {
998
1000
  enumerable: true,
999
1001
  get() {
1000
- return binding8.resource;
1002
+ return binding9.resource;
1001
1003
  },
1002
1004
  set(val) {
1003
- binding8.resource = val;
1005
+ binding9.resource = val;
1004
1006
  }
1005
1007
  },
1006
1008
  context: {
1007
1009
  enumerable: true,
1008
1010
  get() {
1009
- return binding8.context;
1011
+ return binding9.context;
1010
1012
  },
1011
1013
  set(val) {
1012
- binding8.context = val;
1014
+ binding9.context = val;
1013
1015
  }
1014
1016
  },
1015
1017
  request: {
1016
1018
  enumerable: true,
1017
1019
  get() {
1018
- return binding8.request;
1020
+ return binding9.request;
1019
1021
  },
1020
1022
  set(val) {
1021
- binding8.request = val;
1023
+ binding9.request = val;
1022
1024
  }
1023
1025
  },
1024
1026
  regExp: {
1025
1027
  enumerable: true,
1026
1028
  get() {
1027
- return binding8.regExp;
1029
+ return binding9.regExp;
1028
1030
  },
1029
1031
  set(val) {
1030
- binding8.regExp = val;
1032
+ binding9.regExp = val;
1031
1033
  }
1032
1034
  },
1033
1035
  recursive: {
1034
1036
  enumerable: true,
1035
1037
  get() {
1036
- return binding8.recursive;
1038
+ return binding9.recursive;
1037
1039
  },
1038
1040
  set(val) {
1039
- binding8.recursive = val;
1041
+ binding9.recursive = val;
1040
1042
  }
1041
1043
  },
1042
1044
  dependencies: {
1043
1045
  enumerable: true,
1044
1046
  get() {
1045
- return binding8.dependencies.map(
1047
+ return binding9.dependencies.map(
1046
1048
  (dep) => Dependency.__from_binding(dep)
1047
1049
  );
1048
1050
  }
@@ -1053,13 +1055,13 @@ var ContextModuleFactoryAfterResolveData = class _ContextModuleFactoryAfterResol
1053
1055
  var MODULE_MAPPINGS = /* @__PURE__ */ new WeakMap();
1054
1056
  var Module = class _Module {
1055
1057
  #inner;
1056
- static __from_binding(binding8) {
1057
- let module2 = MODULE_MAPPINGS.get(binding8);
1058
+ static __from_binding(binding9) {
1059
+ let module2 = MODULE_MAPPINGS.get(binding9);
1058
1060
  if (module2) {
1059
1061
  return module2;
1060
1062
  }
1061
- module2 = new _Module(binding8);
1062
- MODULE_MAPPINGS.set(binding8, module2);
1063
+ module2 = new _Module(binding9);
1064
+ MODULE_MAPPINGS.set(binding9, module2);
1063
1065
  return module2;
1064
1066
  }
1065
1067
  static __to_binding(module2) {
@@ -1106,7 +1108,9 @@ var Module = class _Module {
1106
1108
  return module2.userRequest;
1107
1109
  },
1108
1110
  set(val) {
1109
- module2.userRequest = val;
1111
+ if (val) {
1112
+ module2.userRequest = val;
1113
+ }
1110
1114
  }
1111
1115
  },
1112
1116
  rawRequest: {
@@ -1183,13 +1187,13 @@ var CodeGenerationResult = class {
1183
1187
  var CHUNK_GROUP_MAPPINGS = /* @__PURE__ */ new WeakMap();
1184
1188
  var ChunkGroup = class _ChunkGroup {
1185
1189
  #inner;
1186
- static __from_binding(binding8) {
1187
- let chunkGroup = CHUNK_GROUP_MAPPINGS.get(binding8);
1190
+ static __from_binding(binding9) {
1191
+ let chunkGroup = CHUNK_GROUP_MAPPINGS.get(binding9);
1188
1192
  if (chunkGroup) {
1189
1193
  return chunkGroup;
1190
1194
  }
1191
- chunkGroup = new _ChunkGroup(binding8);
1192
- CHUNK_GROUP_MAPPINGS.set(binding8, chunkGroup);
1195
+ chunkGroup = new _ChunkGroup(binding9);
1196
+ CHUNK_GROUP_MAPPINGS.set(binding9, chunkGroup);
1193
1197
  return chunkGroup;
1194
1198
  }
1195
1199
  constructor(inner) {
@@ -1199,7 +1203,7 @@ var ChunkGroup = class _ChunkGroup {
1199
1203
  enumerable: true,
1200
1204
  get: () => {
1201
1205
  return this.#inner.chunks.map(
1202
- (binding8) => Chunk.__from_binding(binding8)
1206
+ (binding9) => Chunk.__from_binding(binding9)
1203
1207
  );
1204
1208
  }
1205
1209
  },
@@ -1230,7 +1234,7 @@ var ChunkGroup = class _ChunkGroup {
1230
1234
  return this.#inner.getFiles();
1231
1235
  }
1232
1236
  getParents() {
1233
- return this.#inner.getParents().map((binding8) => _ChunkGroup.__from_binding(binding8));
1237
+ return this.#inner.getParents().map((binding9) => _ChunkGroup.__from_binding(binding9));
1234
1238
  }
1235
1239
  isInitial() {
1236
1240
  return this.#inner.isInitial();
@@ -1247,97 +1251,97 @@ var ChunkGroup = class _ChunkGroup {
1247
1251
  var CHUNK_MAPPINGS = /* @__PURE__ */ new WeakMap();
1248
1252
  var Chunk = class _Chunk {
1249
1253
  #inner;
1250
- static __from_binding(binding8) {
1251
- let chunk = CHUNK_MAPPINGS.get(binding8);
1254
+ static __from_binding(binding9) {
1255
+ let chunk = CHUNK_MAPPINGS.get(binding9);
1252
1256
  if (chunk) {
1253
1257
  return chunk;
1254
1258
  }
1255
- chunk = new _Chunk(binding8);
1256
- CHUNK_MAPPINGS.set(binding8, chunk);
1259
+ chunk = new _Chunk(binding9);
1260
+ CHUNK_MAPPINGS.set(binding9, chunk);
1257
1261
  return chunk;
1258
1262
  }
1259
1263
  static __to_binding(chunk) {
1260
1264
  return chunk.#inner;
1261
1265
  }
1262
- constructor(binding8) {
1263
- this.#inner = binding8;
1266
+ constructor(binding9) {
1267
+ this.#inner = binding9;
1264
1268
  Object.defineProperties(this, {
1265
1269
  name: {
1266
1270
  enumerable: true,
1267
1271
  get: () => {
1268
- return binding8.name;
1272
+ return binding9.name;
1269
1273
  }
1270
1274
  },
1271
1275
  id: {
1272
1276
  enumerable: true,
1273
1277
  get: () => {
1274
- return binding8.id;
1278
+ return binding9.id;
1275
1279
  }
1276
1280
  },
1277
1281
  ids: {
1278
1282
  enumerable: true,
1279
1283
  get: () => {
1280
- return binding8.ids;
1284
+ return binding9.ids;
1281
1285
  }
1282
1286
  },
1283
1287
  idNameHints: {
1284
1288
  enumerable: true,
1285
1289
  get: () => {
1286
- return binding8.idNameHints;
1290
+ return binding9.idNameHints;
1287
1291
  }
1288
1292
  },
1289
1293
  filenameTemplate: {
1290
1294
  enumerable: true,
1291
1295
  get: () => {
1292
- return binding8.filenameTemplate;
1296
+ return binding9.filenameTemplate;
1293
1297
  }
1294
1298
  },
1295
1299
  cssFilenameTemplate: {
1296
1300
  enumerable: true,
1297
1301
  get: () => {
1298
- return binding8.cssFilenameTemplate;
1302
+ return binding9.cssFilenameTemplate;
1299
1303
  }
1300
1304
  },
1301
1305
  files: {
1302
1306
  enumerable: true,
1303
1307
  get: () => {
1304
- return new Set(binding8.files);
1308
+ return new Set(binding9.files);
1305
1309
  }
1306
1310
  },
1307
1311
  runtime: {
1308
1312
  enumerable: true,
1309
1313
  get: () => {
1310
- return new Set(binding8.runtime);
1314
+ return new Set(binding9.runtime);
1311
1315
  }
1312
1316
  },
1313
1317
  hash: {
1314
1318
  enumerable: true,
1315
1319
  get: () => {
1316
- return binding8.hash;
1320
+ return binding9.hash;
1317
1321
  }
1318
1322
  },
1319
1323
  contentHash: {
1320
1324
  enumerable: true,
1321
1325
  get: () => {
1322
- return binding8.contentHash;
1326
+ return binding9.contentHash;
1323
1327
  }
1324
1328
  },
1325
1329
  renderedHash: {
1326
1330
  enumerable: true,
1327
1331
  get: () => {
1328
- return binding8.renderedHash;
1332
+ return binding9.renderedHash;
1329
1333
  }
1330
1334
  },
1331
1335
  chunkReason: {
1332
1336
  enumerable: true,
1333
1337
  get: () => {
1334
- return binding8.chunkReason;
1338
+ return binding9.chunkReason;
1335
1339
  }
1336
1340
  },
1337
1341
  auxiliaryFiles: {
1338
1342
  enumerable: true,
1339
1343
  get: () => {
1340
- return new Set(binding8.auxiliaryFiles);
1344
+ return new Set(binding9.auxiliaryFiles);
1341
1345
  }
1342
1346
  }
1343
1347
  });
@@ -1353,7 +1357,7 @@ var Chunk = class _Chunk {
1353
1357
  }
1354
1358
  get groupsIterable() {
1355
1359
  return new Set(
1356
- this.#inner.groups().map((binding8) => ChunkGroup.__from_binding(binding8))
1360
+ this.#inner.groups().map((binding9) => ChunkGroup.__from_binding(binding9))
1357
1361
  );
1358
1362
  }
1359
1363
  getChunkMaps(realHash) {
@@ -1385,17 +1389,17 @@ var Chunk = class _Chunk {
1385
1389
  }
1386
1390
  getAllAsyncChunks() {
1387
1391
  return new Set(
1388
- this.#inner.getAllAsyncChunks().map((binding8) => _Chunk.__from_binding(binding8))
1392
+ this.#inner.getAllAsyncChunks().map((binding9) => _Chunk.__from_binding(binding9))
1389
1393
  );
1390
1394
  }
1391
1395
  getAllInitialChunks() {
1392
1396
  return new Set(
1393
- this.#inner.getAllInitialChunks().map((binding8) => _Chunk.__from_binding(binding8))
1397
+ this.#inner.getAllInitialChunks().map((binding9) => _Chunk.__from_binding(binding9))
1394
1398
  );
1395
1399
  }
1396
1400
  getAllReferencedChunks() {
1397
1401
  return new Set(
1398
- this.#inner.getAllReferencedChunks().map((binding8) => _Chunk.__from_binding(binding8))
1402
+ this.#inner.getAllReferencedChunks().map((binding9) => _Chunk.__from_binding(binding9))
1399
1403
  );
1400
1404
  }
1401
1405
  };
@@ -1403,38 +1407,38 @@ var Chunk = class _Chunk {
1403
1407
  // src/ChunkGraph.ts
1404
1408
  var ChunkGraph = class _ChunkGraph {
1405
1409
  #inner;
1406
- static __from_binding(binding8) {
1407
- return new _ChunkGraph(binding8);
1410
+ static __from_binding(binding9) {
1411
+ return new _ChunkGraph(binding9);
1408
1412
  }
1409
- constructor(binding8) {
1410
- this.#inner = binding8;
1413
+ constructor(binding9) {
1414
+ this.#inner = binding9;
1411
1415
  }
1412
1416
  getChunkModules(chunk) {
1413
- return this.#inner.getChunkModules(Chunk.__to_binding(chunk)).map((binding8) => Module.__from_binding(binding8));
1417
+ return this.#inner.getChunkModules(Chunk.__to_binding(chunk)).map((binding9) => Module.__from_binding(binding9));
1414
1418
  }
1415
1419
  getChunkModulesIterable(chunk) {
1416
- return this.#inner.getChunkModules(Chunk.__to_binding(chunk)).map((binding8) => Module.__from_binding(binding8));
1420
+ return this.#inner.getChunkModules(Chunk.__to_binding(chunk)).map((binding9) => Module.__from_binding(binding9));
1417
1421
  }
1418
1422
  getChunkEntryModulesIterable(chunk) {
1419
- return this.#inner.getChunkEntryModules(Chunk.__to_binding(chunk)).map((binding8) => Module.__from_binding(binding8));
1423
+ return this.#inner.getChunkEntryModules(Chunk.__to_binding(chunk)).map((binding9) => Module.__from_binding(binding9));
1420
1424
  }
1421
1425
  getNumberOfEntryModules(chunk) {
1422
1426
  return this.#inner.getNumberOfEntryModules(Chunk.__to_binding(chunk));
1423
1427
  }
1424
1428
  getChunkEntryDependentChunksIterable(chunk) {
1425
- return this.#inner.getChunkEntryDependentChunksIterable(Chunk.__to_binding(chunk)).map((binding8) => Chunk.__from_binding(binding8));
1429
+ return this.#inner.getChunkEntryDependentChunksIterable(Chunk.__to_binding(chunk)).map((binding9) => Chunk.__from_binding(binding9));
1426
1430
  }
1427
1431
  getChunkModulesIterableBySourceType(chunk, sourceType) {
1428
1432
  return this.#inner.getChunkModulesIterableBySourceType(
1429
1433
  Chunk.__to_binding(chunk),
1430
1434
  sourceType
1431
- ).map((binding8) => Module.__from_binding(binding8));
1435
+ ).map((binding9) => Module.__from_binding(binding9));
1432
1436
  }
1433
1437
  getModuleChunks(module2) {
1434
- return this.#inner.getModuleChunks(Module.__to_binding(module2)).map((binding8) => Chunk.__from_binding(binding8));
1438
+ return this.#inner.getModuleChunks(Module.__to_binding(module2)).map((binding9) => Chunk.__from_binding(binding9));
1435
1439
  }
1436
1440
  getModuleChunksIterable(module2) {
1437
- return this.#inner.getModuleChunks(Module.__to_binding(module2)).map((binding8) => Chunk.__from_binding(binding8));
1441
+ return this.#inner.getModuleChunks(Module.__to_binding(module2)).map((binding9) => Chunk.__from_binding(binding9));
1438
1442
  }
1439
1443
  getModuleId(module2) {
1440
1444
  return this.#inner.getModuleId(Module.__to_binding(module2));
@@ -1445,18 +1449,18 @@ var ChunkGraph = class _ChunkGraph {
1445
1449
  var ENTRYPOINT_MAPPINGS = /* @__PURE__ */ new WeakMap();
1446
1450
  var Entrypoint = class _Entrypoint extends ChunkGroup {
1447
1451
  #inner;
1448
- static __from_binding(binding8) {
1449
- let entrypoint = ENTRYPOINT_MAPPINGS.get(binding8);
1452
+ static __from_binding(binding9) {
1453
+ let entrypoint = ENTRYPOINT_MAPPINGS.get(binding9);
1450
1454
  if (entrypoint) {
1451
1455
  return entrypoint;
1452
1456
  }
1453
- entrypoint = new _Entrypoint(binding8);
1454
- ENTRYPOINT_MAPPINGS.set(binding8, entrypoint);
1457
+ entrypoint = new _Entrypoint(binding9);
1458
+ ENTRYPOINT_MAPPINGS.set(binding9, entrypoint);
1455
1459
  return entrypoint;
1456
1460
  }
1457
- constructor(binding8) {
1458
- super(binding8);
1459
- this.#inner = binding8;
1461
+ constructor(binding9) {
1462
+ super(binding9);
1463
+ this.#inner = binding9;
1460
1464
  }
1461
1465
  getRuntimeChunk() {
1462
1466
  const chunkBinding = this.#inner.getRuntimeChunk();
@@ -1480,11 +1484,11 @@ var cutOffLoaderExecution = (stack) => cutOffByFlag(stack, loaderFlag);
1480
1484
  // src/ExportsInfo.ts
1481
1485
  var ExportsInfo = class _ExportsInfo {
1482
1486
  #inner;
1483
- static __from_binding(binding8) {
1484
- return new _ExportsInfo(binding8);
1487
+ static __from_binding(binding9) {
1488
+ return new _ExportsInfo(binding9);
1485
1489
  }
1486
- constructor(binding8) {
1487
- this.#inner = binding8;
1490
+ constructor(binding9) {
1491
+ this.#inner = binding9;
1488
1492
  }
1489
1493
  isUsed(runtime) {
1490
1494
  return this.#inner.isUsed(runtime);
@@ -1504,31 +1508,31 @@ var ExportsInfo = class _ExportsInfo {
1504
1508
  var MODULE_GRAPH_CONNECTION_MAPPINGS = /* @__PURE__ */ new WeakMap();
1505
1509
  var ModuleGraphConnection = class _ModuleGraphConnection {
1506
1510
  #inner;
1507
- static __from_binding(binding8) {
1508
- let connection = MODULE_GRAPH_CONNECTION_MAPPINGS.get(binding8);
1511
+ static __from_binding(binding9) {
1512
+ let connection = MODULE_GRAPH_CONNECTION_MAPPINGS.get(binding9);
1509
1513
  if (connection) {
1510
1514
  return connection;
1511
1515
  }
1512
- connection = new _ModuleGraphConnection(binding8);
1513
- MODULE_GRAPH_CONNECTION_MAPPINGS.set(binding8, connection);
1516
+ connection = new _ModuleGraphConnection(binding9);
1517
+ MODULE_GRAPH_CONNECTION_MAPPINGS.set(binding9, connection);
1514
1518
  return connection;
1515
1519
  }
1516
1520
  static __to_binding(data) {
1517
1521
  return data.#inner;
1518
1522
  }
1519
- constructor(binding8) {
1520
- this.#inner = binding8;
1523
+ constructor(binding9) {
1524
+ this.#inner = binding9;
1521
1525
  Object.defineProperties(this, {
1522
1526
  module: {
1523
1527
  enumerable: true,
1524
1528
  get() {
1525
- return binding8.module ? Module.__from_binding(binding8.module) : null;
1529
+ return binding9.module ? Module.__from_binding(binding9.module) : null;
1526
1530
  }
1527
1531
  },
1528
1532
  dependency: {
1529
1533
  enumerable: true,
1530
1534
  get() {
1531
- return Dependency.__from_binding(binding8.dependency);
1535
+ return Dependency.__from_binding(binding9.dependency);
1532
1536
  }
1533
1537
  }
1534
1538
  });
@@ -1537,26 +1541,26 @@ var ModuleGraphConnection = class _ModuleGraphConnection {
1537
1541
 
1538
1542
  // src/ModuleGraph.ts
1539
1543
  var ModuleGraph = class _ModuleGraph {
1540
- static __from_binding(binding8) {
1541
- return new _ModuleGraph(binding8);
1544
+ static __from_binding(binding9) {
1545
+ return new _ModuleGraph(binding9);
1542
1546
  }
1543
1547
  #inner;
1544
- constructor(binding8) {
1545
- this.#inner = binding8;
1548
+ constructor(binding9) {
1549
+ this.#inner = binding9;
1546
1550
  }
1547
1551
  getModule(dependency) {
1548
- const binding8 = this.#inner.getModule(Dependency.__to_binding(dependency));
1549
- return binding8 ? Module.__from_binding(binding8) : null;
1552
+ const binding9 = this.#inner.getModule(Dependency.__to_binding(dependency));
1553
+ return binding9 ? Module.__from_binding(binding9) : null;
1550
1554
  }
1551
1555
  getResolvedModule(dependency) {
1552
- const binding8 = this.#inner.getResolvedModule(
1556
+ const binding9 = this.#inner.getResolvedModule(
1553
1557
  Dependency.__to_binding(dependency)
1554
1558
  );
1555
- return binding8 ? Module.__from_binding(binding8) : null;
1559
+ return binding9 ? Module.__from_binding(binding9) : null;
1556
1560
  }
1557
1561
  getIssuer(module2) {
1558
- const binding8 = this.#inner.getIssuer(Module.__to_binding(module2));
1559
- return binding8 ? Module.__from_binding(binding8) : null;
1562
+ const binding9 = this.#inner.getIssuer(Module.__to_binding(module2));
1563
+ return binding9 ? Module.__from_binding(binding9) : null;
1560
1564
  }
1561
1565
  getExportsInfo(module2) {
1562
1566
  return ExportsInfo.__from_binding(
@@ -1564,13 +1568,13 @@ var ModuleGraph = class _ModuleGraph {
1564
1568
  );
1565
1569
  }
1566
1570
  getConnection(dependency) {
1567
- const binding8 = this.#inner.getConnection(
1571
+ const binding9 = this.#inner.getConnection(
1568
1572
  Dependency.__to_binding(dependency)
1569
1573
  );
1570
- return binding8 ? ModuleGraphConnection.__from_binding(binding8) : null;
1574
+ return binding9 ? ModuleGraphConnection.__from_binding(binding9) : null;
1571
1575
  }
1572
1576
  getOutgoingConnections(module2) {
1573
- return this.#inner.getOutgoingConnections(Module.__to_binding(module2)).map((binding8) => ModuleGraphConnection.__from_binding(binding8));
1577
+ return this.#inner.getOutgoingConnections(Module.__to_binding(module2)).map((binding9) => ModuleGraphConnection.__from_binding(binding9));
1574
1578
  }
1575
1579
  };
1576
1580
 
@@ -3057,7 +3061,7 @@ BREAKING CHANGE: Asset processing hooks in Compilation has been merged into a si
3057
3061
  }
3058
3062
  get chunkGroups() {
3059
3063
  return memoizeValue(
3060
- () => __privateGet(this, _inner).chunkGroups.map((binding8) => ChunkGroup.__from_binding(binding8))
3064
+ () => __privateGet(this, _inner).chunkGroups.map((binding9) => ChunkGroup.__from_binding(binding9))
3061
3065
  );
3062
3066
  }
3063
3067
  /**
@@ -3073,8 +3077,8 @@ BREAKING CHANGE: Asset processing hooks in Compilation has been merged into a si
3073
3077
  },
3074
3078
  get: (property) => {
3075
3079
  if (typeof property === "string") {
3076
- const binding8 = __privateGet(this, _inner).getNamedChunkGroup(property);
3077
- return ChunkGroup.__from_binding(binding8);
3080
+ const binding9 = __privateGet(this, _inner).getNamedChunkGroup(property);
3081
+ return ChunkGroup.__from_binding(binding9);
3078
3082
  }
3079
3083
  }
3080
3084
  });
@@ -3105,8 +3109,8 @@ BREAKING CHANGE: Asset processing hooks in Compilation has been merged into a si
3105
3109
  },
3106
3110
  get: (property) => {
3107
3111
  if (typeof property === "string") {
3108
- const binding8 = __privateGet(this, _inner).getNamedChunk(property);
3109
- return Chunk.__from_binding(binding8);
3112
+ const binding9 = __privateGet(this, _inner).getNamedChunk(property);
3113
+ return Chunk.__from_binding(binding9);
3110
3114
  }
3111
3115
  }
3112
3116
  });
@@ -3643,7 +3647,7 @@ BREAKING CHANGE: Asset processing hooks in Compilation has been merged into a si
3643
3647
  * @internal
3644
3648
  */
3645
3649
  __internal__getChunks() {
3646
- return __privateGet(this, _inner).getChunks().map((binding8) => Chunk.__from_binding(binding8));
3650
+ return __privateGet(this, _inner).getChunks().map((binding9) => Chunk.__from_binding(binding9));
3647
3651
  }
3648
3652
  /**
3649
3653
  * Note: This is not a webpack public API, maybe removed in future.
@@ -3761,8 +3765,8 @@ var AddIncludeDispatcher = class {
3761
3765
  }
3762
3766
  });
3763
3767
  };
3764
- constructor(binding8) {
3765
- this.#inner = binding8;
3768
+ constructor(binding9) {
3769
+ this.#inner = binding9;
3766
3770
  this.#running = false;
3767
3771
  }
3768
3772
  call(context2, dependency, options, callback) {
@@ -3774,15 +3778,15 @@ var AddIncludeDispatcher = class {
3774
3778
  }
3775
3779
  };
3776
3780
  var EntryData = class _EntryData {
3777
- static __from_binding(binding8) {
3778
- return new _EntryData(binding8);
3781
+ static __from_binding(binding9) {
3782
+ return new _EntryData(binding9);
3779
3783
  }
3780
- constructor(binding8) {
3781
- this.dependencies = binding8.dependencies.map(Dependency.__from_binding);
3782
- this.includeDependencies = binding8.includeDependencies.map(
3784
+ constructor(binding9) {
3785
+ this.dependencies = binding9.dependencies.map(Dependency.__from_binding);
3786
+ this.includeDependencies = binding9.includeDependencies.map(
3783
3787
  Dependency.__from_binding
3784
3788
  );
3785
- this.options = binding8.options;
3789
+ this.options = binding9.options;
3786
3790
  }
3787
3791
  };
3788
3792
  var Entries = class {
@@ -3794,8 +3798,8 @@ var Entries = class {
3794
3798
  this.#data.clear();
3795
3799
  }
3796
3800
  forEach(callback, thisArg) {
3797
- for (const [key, binding8] of this) {
3798
- const value = EntryData.__from_binding(binding8);
3801
+ for (const [key, binding9] of this) {
3802
+ const value = EntryData.__from_binding(binding9);
3799
3803
  callback.call(thisArg, value, key, this);
3800
3804
  }
3801
3805
  }
@@ -3827,8 +3831,8 @@ var Entries = class {
3827
3831
  return this.#data.delete(key);
3828
3832
  }
3829
3833
  get(key) {
3830
- const binding8 = this.#data.get(key);
3831
- return binding8 ? EntryData.__from_binding(binding8) : void 0;
3834
+ const binding9 = this.#data.get(key);
3835
+ return binding9 ? EntryData.__from_binding(binding9) : void 0;
3832
3836
  }
3833
3837
  keys() {
3834
3838
  return this.#data.keys()[Symbol.iterator]();
@@ -3836,7 +3840,7 @@ var Entries = class {
3836
3840
  };
3837
3841
 
3838
3842
  // src/Compiler.ts
3839
- var liteTapable7 = __toESM(require("@rspack/lite-tapable"));
3843
+ var liteTapable8 = __toESM(require("@rspack/lite-tapable"));
3840
3844
 
3841
3845
  // src/ExecuteModulePlugin.ts
3842
3846
  var import_node_vm = __toESM(require("vm"));
@@ -6119,32 +6123,49 @@ function getCurrentLoader(loaderContext, index = loaderContext.loaderIndex) {
6119
6123
  }
6120
6124
  return null;
6121
6125
  }
6122
- var tracingCache;
6123
- async function tryTrace(context2) {
6126
+ var cachedTracing;
6127
+ async function getCachedTracing() {
6124
6128
  if (!process.env.RSPACK_PROFILE) {
6125
- return {};
6129
+ cachedTracing = null;
6130
+ return cachedTracing;
6126
6131
  }
6127
- try {
6128
- const {
6129
- trace,
6130
- propagation,
6131
- context: tracingContext
6132
- } = await import("@rspack/tracing");
6132
+ if (cachedTracing) {
6133
+ return cachedTracing;
6134
+ }
6135
+ if (cachedTracing === void 0) {
6136
+ try {
6137
+ const tracing = await import("@rspack/tracing");
6138
+ cachedTracing = {
6139
+ trace: tracing.trace,
6140
+ propagation: tracing.propagation,
6141
+ context: tracing.context
6142
+ };
6143
+ return cachedTracing;
6144
+ } catch (e) {
6145
+ cachedTracing = null;
6146
+ return cachedTracing;
6147
+ }
6148
+ } else {
6149
+ cachedTracing = null;
6150
+ return cachedTracing;
6151
+ }
6152
+ }
6153
+ async function tryTrace(context2) {
6154
+ const cachedTracing2 = await getCachedTracing();
6155
+ if (cachedTracing2) {
6156
+ const { trace, propagation, context: tracingContext } = cachedTracing2;
6133
6157
  const tracer = trace.getTracer("rspack-loader-runner");
6134
6158
  const activeContext = propagation.extract(
6135
6159
  tracingContext.active(),
6136
6160
  context2.__internal__tracingCarrier
6137
6161
  );
6138
- tracingCache = { tracer, activeContext };
6139
- return tracingCache;
6140
- } catch (error) {
6141
- tracingCache = {};
6142
- return tracingCache;
6162
+ return { trace, tracer, activeContext };
6143
6163
  }
6164
+ return null;
6144
6165
  }
6145
6166
  async function runLoaders(compiler, context2) {
6146
6167
  var _a, _b;
6147
- const { tracer, activeContext } = await tryTrace(context2);
6168
+ const { tracer, activeContext } = await tryTrace(context2) ?? {};
6148
6169
  const loaderState = context2.loaderState;
6149
6170
  const { resource } = context2.resourceData;
6150
6171
  const splittedResource = resource && parsePathQueryFragment(resource);
@@ -6746,7 +6767,7 @@ var getRawOptions = (options, compiler) => {
6746
6767
  experiments: experiments3,
6747
6768
  node: getRawNode(options.node),
6748
6769
  profile: options.profile,
6749
- amd: options.amd !== false ? JSON.stringify(options.amd || {}) : void 0,
6770
+ amd: options.amd ? JSON.stringify(options.amd || {}) : void 0,
6750
6771
  bail: options.bail,
6751
6772
  __references: {}
6752
6773
  };
@@ -10735,8 +10756,8 @@ function isString(value) {
10735
10756
  return typeof value === "string";
10736
10757
  }
10737
10758
  var Resolver = class _Resolver {
10738
- constructor(binding8) {
10739
- this.binding = binding8;
10759
+ constructor(binding9) {
10760
+ this.binding = binding9;
10740
10761
  }
10741
10762
  resolveSync(context2, path11, request) {
10742
10763
  return this.binding.resolveSync(path11, request);
@@ -10758,12 +10779,12 @@ var Resolver = class _Resolver {
10758
10779
  if (Array.isArray(rawResolve.restrictions)) {
10759
10780
  rawResolve.restrictions = rawResolve.restrictions.filter(isString);
10760
10781
  }
10761
- const binding8 = this.binding.withOptions({
10782
+ const binding9 = this.binding.withOptions({
10762
10783
  dependencyCategory,
10763
10784
  resolveToContext,
10764
10785
  ...rawResolve
10765
10786
  });
10766
- return new _Resolver(binding8);
10787
+ return new _Resolver(binding9);
10767
10788
  }
10768
10789
  };
10769
10790
 
@@ -12030,27 +12051,90 @@ var RuntimeChunkPlugin = create2(
12030
12051
  );
12031
12052
 
12032
12053
  // src/builtin-plugin/RuntimePlugin.ts
12033
- var import_binding57 = require("@rspack/binding");
12034
- var RuntimePlugin = create2(
12035
- import_binding57.BuiltinPluginName.RuntimePlugin,
12054
+ var binding = __toESM(require("@rspack/binding"));
12055
+ var liteTapable5 = __toESM(require("@rspack/lite-tapable"));
12056
+ var RuntimePluginImpl = create2(
12057
+ binding.BuiltinPluginName.RuntimePlugin,
12036
12058
  () => {
12037
12059
  },
12038
12060
  "compilation"
12039
12061
  );
12062
+ var RuntimePlugin = RuntimePluginImpl;
12063
+ var compilationHooksMap4 = /* @__PURE__ */ new WeakMap();
12064
+ RuntimePlugin.getHooks = RuntimePlugin.getCompilationHooks = (compilation) => {
12065
+ if (!(compilation instanceof Compilation)) {
12066
+ throw new TypeError(
12067
+ "The 'compilation' argument must be an instance of Compilation"
12068
+ );
12069
+ }
12070
+ let hooks = compilationHooksMap4.get(compilation);
12071
+ if (hooks === void 0) {
12072
+ hooks = {
12073
+ createScript: new liteTapable5.SyncWaterfallHook(["code", "chunk"]),
12074
+ linkPreload: new liteTapable5.SyncWaterfallHook(["code", "chunk"]),
12075
+ linkPrefetch: new liteTapable5.SyncWaterfallHook(["code", "chunk"])
12076
+ };
12077
+ compilationHooksMap4.set(compilation, hooks);
12078
+ }
12079
+ return hooks;
12080
+ };
12081
+ var createRuntimePluginHooksRegisters = (getCompiler, createTap, createMapTap) => {
12082
+ return {
12083
+ registerRuntimePluginCreateScriptTaps: createTap(
12084
+ binding.RegisterJsTapKind.RuntimePluginCreateScript,
12085
+ function() {
12086
+ return RuntimePlugin.getCompilationHooks(
12087
+ getCompiler().__internal__get_compilation()
12088
+ ).createScript;
12089
+ },
12090
+ function(queried) {
12091
+ return function(data) {
12092
+ return queried.call(data.code, Chunk.__from_binding(data.chunk));
12093
+ };
12094
+ }
12095
+ ),
12096
+ registerRuntimePluginLinkPreloadTaps: createTap(
12097
+ binding.RegisterJsTapKind.RuntimePluginLinkPreload,
12098
+ function() {
12099
+ return RuntimePlugin.getCompilationHooks(
12100
+ getCompiler().__internal__get_compilation()
12101
+ ).linkPreload;
12102
+ },
12103
+ function(queried) {
12104
+ return function(data) {
12105
+ return queried.call(data.code, Chunk.__from_binding(data.chunk));
12106
+ };
12107
+ }
12108
+ ),
12109
+ registerRuntimePluginLinkPrefetchTaps: createTap(
12110
+ binding.RegisterJsTapKind.RuntimePluginLinkPrefetch,
12111
+ function() {
12112
+ return RuntimePlugin.getCompilationHooks(
12113
+ getCompiler().__internal__get_compilation()
12114
+ ).linkPrefetch;
12115
+ },
12116
+ function(queried) {
12117
+ return function(data) {
12118
+ return queried.call(data.code, Chunk.__from_binding(data.chunk));
12119
+ };
12120
+ }
12121
+ )
12122
+ };
12123
+ };
12040
12124
 
12041
12125
  // src/builtin-plugin/SideEffectsFlagPlugin.ts
12042
- var import_binding58 = require("@rspack/binding");
12126
+ var import_binding57 = require("@rspack/binding");
12043
12127
  var SideEffectsFlagPlugin = create2(
12044
- import_binding58.BuiltinPluginName.SideEffectsFlagPlugin,
12128
+ import_binding57.BuiltinPluginName.SideEffectsFlagPlugin,
12045
12129
  () => {
12046
12130
  },
12047
12131
  "compilation"
12048
12132
  );
12049
12133
 
12050
12134
  // src/builtin-plugin/SizeLimitsPlugin.ts
12051
- var import_binding59 = require("@rspack/binding");
12135
+ var import_binding58 = require("@rspack/binding");
12052
12136
  var SizeLimitsPlugin = create2(
12053
- import_binding59.BuiltinPluginName.SizeLimitsPlugin,
12137
+ import_binding58.BuiltinPluginName.SizeLimitsPlugin,
12054
12138
  (options) => {
12055
12139
  const hints = options.hints === false ? void 0 : options.hints;
12056
12140
  return { ...options, hints };
@@ -12058,16 +12142,16 @@ var SizeLimitsPlugin = create2(
12058
12142
  );
12059
12143
 
12060
12144
  // src/builtin-plugin/SourceMapDevToolPlugin.ts
12061
- var import_binding60 = require("@rspack/binding");
12145
+ var import_binding59 = require("@rspack/binding");
12062
12146
  var SourceMapDevToolPlugin = create2(
12063
- import_binding60.BuiltinPluginName.SourceMapDevToolPlugin,
12147
+ import_binding59.BuiltinPluginName.SourceMapDevToolPlugin,
12064
12148
  (options) => options,
12065
12149
  "compilation"
12066
12150
  );
12067
12151
 
12068
12152
  // src/builtin-plugin/SplitChunksPlugin.ts
12069
12153
  var import_node_assert5 = __toESM(require("assert"));
12070
- var import_binding61 = require("@rspack/binding");
12154
+ var import_binding60 = require("@rspack/binding");
12071
12155
 
12072
12156
  // src/util/SplitChunkSize.ts
12073
12157
  var JsSplitChunkSizes = class {
@@ -12090,7 +12174,7 @@ var SplitChunksPlugin = class extends RspackBuiltinPlugin {
12090
12174
  constructor(options) {
12091
12175
  super();
12092
12176
  this.options = options;
12093
- this.name = import_binding61.BuiltinPluginName.SplitChunksPlugin;
12177
+ this.name = import_binding60.BuiltinPluginName.SplitChunksPlugin;
12094
12178
  this.affectedHooks = "thisCompilation";
12095
12179
  }
12096
12180
  raw(compiler) {
@@ -12189,9 +12273,9 @@ function toRawSplitChunksOptions(sc, compiler) {
12189
12273
  }
12190
12274
 
12191
12275
  // src/builtin-plugin/LightningCssMinimizerRspackPlugin.ts
12192
- var import_binding62 = require("@rspack/binding");
12276
+ var import_binding61 = require("@rspack/binding");
12193
12277
  var LightningCssMinimizerRspackPlugin = create2(
12194
- import_binding62.BuiltinPluginName.LightningCssMinimizerRspackPlugin,
12278
+ import_binding61.BuiltinPluginName.LightningCssMinimizerRspackPlugin,
12195
12279
  (options) => {
12196
12280
  var _a, _b, _c;
12197
12281
  const { include, exclude, draft, nonStandard, pseudoClasses, drafts } = (options == null ? void 0 : options.minimizerOptions) ?? {};
@@ -12219,16 +12303,16 @@ var LightningCssMinimizerRspackPlugin = create2(
12219
12303
  );
12220
12304
 
12221
12305
  // src/builtin-plugin/RemoveDuplicateModulesPlugin.ts
12222
- var import_binding63 = require("@rspack/binding");
12306
+ var import_binding62 = require("@rspack/binding");
12223
12307
  var RemoveDuplicateModulesPlugin = create2(
12224
- import_binding63.BuiltinPluginName.RemoveDuplicateModulesPlugin,
12308
+ import_binding62.BuiltinPluginName.RemoveDuplicateModulesPlugin,
12225
12309
  () => {
12226
12310
  return {};
12227
12311
  }
12228
12312
  );
12229
12313
 
12230
12314
  // src/builtin-plugin/SwcJsMinimizerPlugin.ts
12231
- var import_binding64 = require("@rspack/binding");
12315
+ var import_binding63 = require("@rspack/binding");
12232
12316
  function isObject2(value) {
12233
12317
  const type = typeof value;
12234
12318
  return value != null && (type === "object" || type === "function");
@@ -12271,7 +12355,7 @@ function getRawExtractCommentsOptions(extractComments) {
12271
12355
  return void 0;
12272
12356
  }
12273
12357
  var SwcJsMinimizerRspackPlugin = create2(
12274
- import_binding64.BuiltinPluginName.SwcJsMinimizerRspackPlugin,
12358
+ import_binding63.BuiltinPluginName.SwcJsMinimizerRspackPlugin,
12275
12359
  (options) => {
12276
12360
  var _a, _b, _c, _d, _e;
12277
12361
  let compress = ((_a = options == null ? void 0 : options.minimizerOptions) == null ? void 0 : _a.compress) ?? true;
@@ -12309,20 +12393,20 @@ var SwcJsMinimizerRspackPlugin = create2(
12309
12393
  );
12310
12394
 
12311
12395
  // src/builtin-plugin/WarnCaseSensitiveModulesPlugin.ts
12312
- var import_binding65 = require("@rspack/binding");
12396
+ var import_binding64 = require("@rspack/binding");
12313
12397
  var WarnCaseSensitiveModulesPlugin = create2(
12314
- import_binding65.BuiltinPluginName.WarnCaseSensitiveModulesPlugin,
12398
+ import_binding64.BuiltinPluginName.WarnCaseSensitiveModulesPlugin,
12315
12399
  () => {
12316
12400
  },
12317
12401
  "compilation"
12318
12402
  );
12319
12403
 
12320
12404
  // src/builtin-plugin/WebWorkerTemplatePlugin.ts
12321
- var import_binding66 = require("@rspack/binding");
12405
+ var import_binding65 = require("@rspack/binding");
12322
12406
  var WebWorkerTemplatePlugin = class extends RspackBuiltinPlugin {
12323
12407
  constructor() {
12324
12408
  super(...arguments);
12325
- this.name = import_binding66.BuiltinPluginName.WebWorkerTemplatePlugin;
12409
+ this.name = import_binding65.BuiltinPluginName.WebWorkerTemplatePlugin;
12326
12410
  }
12327
12411
  raw(compiler) {
12328
12412
  compiler.options.output.chunkLoading = "import-scripts";
@@ -12331,7 +12415,7 @@ var WebWorkerTemplatePlugin = class extends RspackBuiltinPlugin {
12331
12415
  };
12332
12416
 
12333
12417
  // src/builtin-plugin/WorkerPlugin.ts
12334
- var import_binding67 = require("@rspack/binding");
12418
+ var import_binding66 = require("@rspack/binding");
12335
12419
  var WorkerPlugin = class extends RspackBuiltinPlugin {
12336
12420
  constructor(chunkLoading2, wasmLoading2, module2, workerPublicPath2) {
12337
12421
  super();
@@ -12339,7 +12423,7 @@ var WorkerPlugin = class extends RspackBuiltinPlugin {
12339
12423
  this.wasmLoading = wasmLoading2;
12340
12424
  this.module = module2;
12341
12425
  this.workerPublicPath = workerPublicPath2;
12342
- this.name = import_binding67.BuiltinPluginName.WorkerPlugin;
12426
+ this.name = import_binding66.BuiltinPluginName.WorkerPlugin;
12343
12427
  }
12344
12428
  raw(compiler) {
12345
12429
  if (this.chunkLoading) {
@@ -12353,25 +12437,25 @@ var WorkerPlugin = class extends RspackBuiltinPlugin {
12353
12437
  };
12354
12438
 
12355
12439
  // src/builtin-plugin/FetchCompileAsyncWasmPlugin.ts
12356
- var import_binding68 = require("@rspack/binding");
12440
+ var import_binding67 = require("@rspack/binding");
12357
12441
  var FetchCompileAsyncWasmPlugin = create2(
12358
- import_binding68.BuiltinPluginName.FetchCompileAsyncWasmPlugin,
12442
+ import_binding67.BuiltinPluginName.FetchCompileAsyncWasmPlugin,
12359
12443
  () => {
12360
12444
  },
12361
12445
  "thisCompilation"
12362
12446
  );
12363
12447
 
12364
12448
  // src/builtin-plugin/NoEmitOnErrorsPlugin.ts
12365
- var import_binding69 = require("@rspack/binding");
12449
+ var import_binding68 = require("@rspack/binding");
12366
12450
  var NoEmitOnErrorsPlugin = create2(
12367
- import_binding69.BuiltinPluginName.NoEmitOnErrorsPlugin,
12451
+ import_binding68.BuiltinPluginName.NoEmitOnErrorsPlugin,
12368
12452
  () => void 0
12369
12453
  );
12370
12454
 
12371
12455
  // src/builtin-plugin/ContextReplacementPlugin.ts
12372
- var import_binding70 = require("@rspack/binding");
12456
+ var import_binding69 = require("@rspack/binding");
12373
12457
  var ContextReplacementPlugin = create2(
12374
- import_binding70.BuiltinPluginName.ContextReplacementPlugin,
12458
+ import_binding69.BuiltinPluginName.ContextReplacementPlugin,
12375
12459
  (resourceRegExp, newContentResource, newContentRecursive, newContentRegExp) => {
12376
12460
  const rawOptions = {
12377
12461
  resourceRegExp
@@ -12401,9 +12485,9 @@ var ContextReplacementPlugin = create2(
12401
12485
  );
12402
12486
 
12403
12487
  // src/builtin-plugin/LibManifestPlugin.ts
12404
- var import_binding71 = require("@rspack/binding");
12488
+ var import_binding70 = require("@rspack/binding");
12405
12489
  var LibManifestPlugin = create2(
12406
- import_binding71.BuiltinPluginName.LibManifestPlugin,
12490
+ import_binding70.BuiltinPluginName.LibManifestPlugin,
12407
12491
  (options) => {
12408
12492
  const { context: context2, entryOnly, format: format3, name: name2, path: path11, type } = options;
12409
12493
  return {
@@ -12418,9 +12502,9 @@ var LibManifestPlugin = create2(
12418
12502
  );
12419
12503
 
12420
12504
  // src/builtin-plugin/DllEntryPlugin.ts
12421
- var import_binding72 = require("@rspack/binding");
12505
+ var import_binding71 = require("@rspack/binding");
12422
12506
  var DllEntryPlugin = create2(
12423
- import_binding72.BuiltinPluginName.DllEntryPlugin,
12507
+ import_binding71.BuiltinPluginName.DllEntryPlugin,
12424
12508
  (context2, entries, options) => {
12425
12509
  return {
12426
12510
  context: context2,
@@ -12431,19 +12515,19 @@ var DllEntryPlugin = create2(
12431
12515
  );
12432
12516
 
12433
12517
  // src/builtin-plugin/DllReferenceAgencyPlugin.ts
12434
- var import_binding73 = require("@rspack/binding");
12518
+ var import_binding72 = require("@rspack/binding");
12435
12519
  var DllReferenceAgencyPlugin = create2(
12436
- import_binding73.BuiltinPluginName.DllReferenceAgencyPlugin,
12520
+ import_binding72.BuiltinPluginName.DllReferenceAgencyPlugin,
12437
12521
  (options) => options
12438
12522
  );
12439
12523
 
12440
12524
  // src/ContextModuleFactory.ts
12441
- var liteTapable5 = __toESM(require("@rspack/lite-tapable"));
12525
+ var liteTapable6 = __toESM(require("@rspack/lite-tapable"));
12442
12526
  var ContextModuleFactory = class {
12443
12527
  constructor() {
12444
12528
  this.hooks = {
12445
- beforeResolve: new liteTapable5.AsyncSeriesWaterfallHook(["resolveData"]),
12446
- afterResolve: new liteTapable5.AsyncSeriesWaterfallHook(["resolveData"])
12529
+ beforeResolve: new liteTapable6.AsyncSeriesWaterfallHook(["resolveData"]),
12530
+ afterResolve: new liteTapable6.AsyncSeriesWaterfallHook(["resolveData"])
12447
12531
  };
12448
12532
  }
12449
12533
  };
@@ -12717,18 +12801,18 @@ var ThreadsafeIntermediateNodeFS = class extends ThreadsafeOutputNodeFS {
12717
12801
  };
12718
12802
 
12719
12803
  // src/NormalModuleFactory.ts
12720
- var liteTapable6 = __toESM(require("@rspack/lite-tapable"));
12804
+ var liteTapable7 = __toESM(require("@rspack/lite-tapable"));
12721
12805
  var NormalModuleFactory = class {
12722
12806
  constructor() {
12723
12807
  this.hooks = {
12724
- resolveForScheme: new liteTapable6.HookMap(
12725
- () => new liteTapable6.AsyncSeriesBailHook(["resourceData"])
12808
+ resolveForScheme: new liteTapable7.HookMap(
12809
+ () => new liteTapable7.AsyncSeriesBailHook(["resourceData"])
12726
12810
  ),
12727
- beforeResolve: new liteTapable6.AsyncSeriesBailHook(["resolveData"]),
12728
- factorize: new liteTapable6.AsyncSeriesBailHook(["resolveData"]),
12729
- resolve: new liteTapable6.AsyncSeriesBailHook(["resolveData"]),
12730
- afterResolve: new liteTapable6.AsyncSeriesBailHook(["resolveData"]),
12731
- createModule: new liteTapable6.AsyncSeriesBailHook([
12811
+ beforeResolve: new liteTapable7.AsyncSeriesBailHook(["resolveData"]),
12812
+ factorize: new liteTapable7.AsyncSeriesBailHook(["resolveData"]),
12813
+ resolve: new liteTapable7.AsyncSeriesBailHook(["resolveData"]),
12814
+ afterResolve: new liteTapable7.AsyncSeriesBailHook(["resolveData"]),
12815
+ createModule: new liteTapable7.AsyncSeriesBailHook([
12732
12816
  "createData",
12733
12817
  "resolveData"
12734
12818
  ])
@@ -12737,23 +12821,23 @@ var NormalModuleFactory = class {
12737
12821
  };
12738
12822
 
12739
12823
  // src/ResolverFactory.ts
12740
- var binding = __toESM(require("@rspack/binding"));
12824
+ var binding2 = __toESM(require("@rspack/binding"));
12741
12825
  var ResolverFactory = class {
12742
12826
  #binding;
12743
12827
  static __to_binding(resolver_factory) {
12744
12828
  return resolver_factory.#binding;
12745
12829
  }
12746
12830
  constructor(pnp) {
12747
- this.#binding = new binding.JsResolverFactory(pnp);
12831
+ this.#binding = new binding2.JsResolverFactory(pnp);
12748
12832
  }
12749
12833
  get(type, resolveOptions2) {
12750
12834
  const { dependencyCategory, resolveToContext, ...resolve2 } = resolveOptions2 || {};
12751
- const binding8 = this.#binding.get(type, {
12835
+ const binding9 = this.#binding.get(type, {
12752
12836
  ...getRawResolve(resolve2),
12753
12837
  dependencyCategory,
12754
12838
  resolveToContext
12755
12839
  });
12756
- return new Resolver(binding8);
12840
+ return new Resolver(binding9);
12757
12841
  }
12758
12842
  };
12759
12843
 
@@ -13092,19 +13176,19 @@ var BINDING_VERSION = require("@rspack/binding/package.json").version;
13092
13176
  var CORE_VERSION = require("../package.json").version;
13093
13177
  var getAddonPlatformArchAbi = () => {
13094
13178
  const { platform, arch } = process;
13095
- let binding8 = "";
13096
- binding8 += platform;
13179
+ let binding9 = "";
13180
+ binding9 += platform;
13097
13181
  const abi = NodePlatformArchToAbi[platform][arch];
13098
13182
  if (abi === void 0) return new Error(`unsupported cpu arch: ${arch}`);
13099
- binding8 += `-${arch}`;
13183
+ binding9 += `-${arch}`;
13100
13184
  if (typeof abi === "string") {
13101
- binding8 += abi.length ? `-${abi}` : "";
13185
+ binding9 += abi.length ? `-${abi}` : "";
13102
13186
  } else if (typeof abi === "object") {
13103
- binding8 += `-${abi[isMusl() ? "musl" : "gnu"]}`;
13187
+ binding9 += `-${abi[isMusl() ? "musl" : "gnu"]}`;
13104
13188
  } else {
13105
13189
  return new Error(`unsupported abi: ${abi}`);
13106
13190
  }
13107
- return binding8;
13191
+ return binding9;
13108
13192
  };
13109
13193
  var result;
13110
13194
  var checkVersion = () => {
@@ -13151,11 +13235,11 @@ Rspack requires these versions to be the same or you may have installed the wron
13151
13235
  };
13152
13236
 
13153
13237
  // src/builtin-plugin/html-plugin/taps.ts
13154
- var binding2 = __toESM(require("@rspack/binding"));
13238
+ var binding3 = __toESM(require("@rspack/binding"));
13155
13239
  var createHtmlPluginHooksRegisters = (getCompiler, createTap, createMapTap) => {
13156
13240
  return {
13157
13241
  registerHtmlPluginBeforeAssetTagGenerationTaps: createTap(
13158
- binding2.RegisterJsTapKind.HtmlPluginBeforeAssetTagGeneration,
13242
+ binding3.RegisterJsTapKind.HtmlPluginBeforeAssetTagGeneration,
13159
13243
  function() {
13160
13244
  return HtmlRspackPlugin.getCompilationHooks(
13161
13245
  getCompiler().__internal__get_compilation()
@@ -13175,7 +13259,7 @@ var createHtmlPluginHooksRegisters = (getCompiler, createTap, createMapTap) => {
13175
13259
  }
13176
13260
  ),
13177
13261
  registerHtmlPluginAlterAssetTagsTaps: createTap(
13178
- binding2.RegisterJsTapKind.HtmlPluginAlterAssetTags,
13262
+ binding3.RegisterJsTapKind.HtmlPluginAlterAssetTags,
13179
13263
  function() {
13180
13264
  return HtmlRspackPlugin.getCompilationHooks(
13181
13265
  getCompiler().__internal__get_compilation()
@@ -13188,7 +13272,7 @@ var createHtmlPluginHooksRegisters = (getCompiler, createTap, createMapTap) => {
13188
13272
  }
13189
13273
  ),
13190
13274
  registerHtmlPluginAlterAssetTagGroupsTaps: createTap(
13191
- binding2.RegisterJsTapKind.HtmlPluginAlterAssetTagGroups,
13275
+ binding3.RegisterJsTapKind.HtmlPluginAlterAssetTagGroups,
13192
13276
  function() {
13193
13277
  return HtmlRspackPlugin.getCompilationHooks(
13194
13278
  getCompiler().__internal__get_compilation()
@@ -13208,7 +13292,7 @@ var createHtmlPluginHooksRegisters = (getCompiler, createTap, createMapTap) => {
13208
13292
  }
13209
13293
  ),
13210
13294
  registerHtmlPluginAfterTemplateExecutionTaps: createTap(
13211
- binding2.RegisterJsTapKind.HtmlPluginAfterTemplateExecution,
13295
+ binding3.RegisterJsTapKind.HtmlPluginAfterTemplateExecution,
13212
13296
  function() {
13213
13297
  return HtmlRspackPlugin.getCompilationHooks(
13214
13298
  getCompiler().__internal__get_compilation()
@@ -13228,7 +13312,7 @@ var createHtmlPluginHooksRegisters = (getCompiler, createTap, createMapTap) => {
13228
13312
  }
13229
13313
  ),
13230
13314
  registerHtmlPluginBeforeEmitTaps: createTap(
13231
- binding2.RegisterJsTapKind.HtmlPluginBeforeEmit,
13315
+ binding3.RegisterJsTapKind.HtmlPluginBeforeEmit,
13232
13316
  function() {
13233
13317
  return HtmlRspackPlugin.getCompilationHooks(
13234
13318
  getCompiler().__internal__get_compilation()
@@ -13248,7 +13332,7 @@ var createHtmlPluginHooksRegisters = (getCompiler, createTap, createMapTap) => {
13248
13332
  }
13249
13333
  ),
13250
13334
  registerHtmlPluginAfterEmitTaps: createTap(
13251
- binding2.RegisterJsTapKind.HtmlPluginAfterEmit,
13335
+ binding3.RegisterJsTapKind.HtmlPluginAfterEmit,
13252
13336
  function() {
13253
13337
  return HtmlRspackPlugin.getCompilationHooks(
13254
13338
  getCompiler().__internal__get_compilation()
@@ -13271,7 +13355,7 @@ var createHtmlPluginHooksRegisters = (getCompiler, createTap, createMapTap) => {
13271
13355
  };
13272
13356
 
13273
13357
  // src/taps/compilation.ts
13274
- var binding3 = __toESM(require("@rspack/binding"));
13358
+ var binding4 = __toESM(require("@rspack/binding"));
13275
13359
 
13276
13360
  // src/RuntimeGlobals.ts
13277
13361
  var REVERSE_RUNTIME_GLOBALS = /* @__PURE__ */ new Map();
@@ -13620,7 +13704,7 @@ for (const entry2 of Object.entries(RuntimeGlobals)) {
13620
13704
  var createCompilationHooksRegisters = (getCompiler, createTap, createMapTap) => {
13621
13705
  return {
13622
13706
  registerCompilationAdditionalTreeRuntimeRequirementsTaps: createTap(
13623
- binding3.RegisterJsTapKind.CompilationAdditionalTreeRuntimeRequirements,
13707
+ binding4.RegisterJsTapKind.CompilationAdditionalTreeRuntimeRequirements,
13624
13708
  function() {
13625
13709
  return getCompiler().__internal__get_compilation().hooks.additionalTreeRuntimeRequirements;
13626
13710
  },
@@ -13638,7 +13722,7 @@ var createCompilationHooksRegisters = (getCompiler, createTap, createMapTap) =>
13638
13722
  }
13639
13723
  ),
13640
13724
  registerCompilationRuntimeRequirementInTreeTaps: createMapTap(
13641
- binding3.RegisterJsTapKind.CompilationRuntimeRequirementInTree,
13725
+ binding4.RegisterJsTapKind.CompilationRuntimeRequirementInTree,
13642
13726
  function() {
13643
13727
  return getCompiler().__internal__get_compilation().hooks.runtimeRequirementInTree;
13644
13728
  },
@@ -13659,7 +13743,7 @@ var createCompilationHooksRegisters = (getCompiler, createTap, createMapTap) =>
13659
13743
  }
13660
13744
  ),
13661
13745
  registerCompilationRuntimeModuleTaps: createTap(
13662
- binding3.RegisterJsTapKind.CompilationRuntimeModule,
13746
+ binding4.RegisterJsTapKind.CompilationRuntimeModule,
13663
13747
  function() {
13664
13748
  return getCompiler().__internal__get_compilation().hooks.runtimeModule;
13665
13749
  },
@@ -13677,7 +13761,7 @@ var createCompilationHooksRegisters = (getCompiler, createTap, createMapTap) =>
13677
13761
  }
13678
13762
  ),
13679
13763
  registerCompilationBuildModuleTaps: createTap(
13680
- binding3.RegisterJsTapKind.CompilationBuildModule,
13764
+ binding4.RegisterJsTapKind.CompilationBuildModule,
13681
13765
  function() {
13682
13766
  return getCompiler().__internal__get_compilation().hooks.buildModule;
13683
13767
  },
@@ -13688,7 +13772,7 @@ var createCompilationHooksRegisters = (getCompiler, createTap, createMapTap) =>
13688
13772
  }
13689
13773
  ),
13690
13774
  registerCompilationStillValidModuleTaps: createTap(
13691
- binding3.RegisterJsTapKind.CompilationStillValidModule,
13775
+ binding4.RegisterJsTapKind.CompilationStillValidModule,
13692
13776
  function() {
13693
13777
  return getCompiler().__internal__get_compilation().hooks.stillValidModule;
13694
13778
  },
@@ -13699,7 +13783,7 @@ var createCompilationHooksRegisters = (getCompiler, createTap, createMapTap) =>
13699
13783
  }
13700
13784
  ),
13701
13785
  registerCompilationSucceedModuleTaps: createTap(
13702
- binding3.RegisterJsTapKind.CompilationSucceedModule,
13786
+ binding4.RegisterJsTapKind.CompilationSucceedModule,
13703
13787
  function() {
13704
13788
  return getCompiler().__internal__get_compilation().hooks.succeedModule;
13705
13789
  },
@@ -13710,7 +13794,7 @@ var createCompilationHooksRegisters = (getCompiler, createTap, createMapTap) =>
13710
13794
  }
13711
13795
  ),
13712
13796
  registerCompilationExecuteModuleTaps: createTap(
13713
- binding3.RegisterJsTapKind.CompilationExecuteModule,
13797
+ binding4.RegisterJsTapKind.CompilationExecuteModule,
13714
13798
  function() {
13715
13799
  return getCompiler().__internal__get_compilation().hooks.executeModule;
13716
13800
  },
@@ -13778,7 +13862,7 @@ var createCompilationHooksRegisters = (getCompiler, createTap, createMapTap) =>
13778
13862
  }
13779
13863
  ),
13780
13864
  registerCompilationFinishModulesTaps: createTap(
13781
- binding3.RegisterJsTapKind.CompilationFinishModules,
13865
+ binding4.RegisterJsTapKind.CompilationFinishModules,
13782
13866
  function() {
13783
13867
  return getCompiler().__internal__get_compilation().hooks.finishModules;
13784
13868
  },
@@ -13791,7 +13875,7 @@ var createCompilationHooksRegisters = (getCompiler, createTap, createMapTap) =>
13791
13875
  }
13792
13876
  ),
13793
13877
  registerCompilationOptimizeModulesTaps: createTap(
13794
- binding3.RegisterJsTapKind.CompilationOptimizeModules,
13878
+ binding4.RegisterJsTapKind.CompilationOptimizeModules,
13795
13879
  function() {
13796
13880
  return getCompiler().__internal__get_compilation().hooks.optimizeModules;
13797
13881
  },
@@ -13804,7 +13888,7 @@ var createCompilationHooksRegisters = (getCompiler, createTap, createMapTap) =>
13804
13888
  }
13805
13889
  ),
13806
13890
  registerCompilationAfterOptimizeModulesTaps: createTap(
13807
- binding3.RegisterJsTapKind.CompilationAfterOptimizeModules,
13891
+ binding4.RegisterJsTapKind.CompilationAfterOptimizeModules,
13808
13892
  function() {
13809
13893
  return getCompiler().__internal__get_compilation().hooks.afterOptimizeModules;
13810
13894
  },
@@ -13817,7 +13901,7 @@ var createCompilationHooksRegisters = (getCompiler, createTap, createMapTap) =>
13817
13901
  }
13818
13902
  ),
13819
13903
  registerCompilationOptimizeTreeTaps: createTap(
13820
- binding3.RegisterJsTapKind.CompilationOptimizeTree,
13904
+ binding4.RegisterJsTapKind.CompilationOptimizeTree,
13821
13905
  function() {
13822
13906
  return getCompiler().__internal__get_compilation().hooks.optimizeTree;
13823
13907
  },
@@ -13831,7 +13915,7 @@ var createCompilationHooksRegisters = (getCompiler, createTap, createMapTap) =>
13831
13915
  }
13832
13916
  ),
13833
13917
  registerCompilationOptimizeChunkModulesTaps: createTap(
13834
- binding3.RegisterJsTapKind.CompilationOptimizeChunkModules,
13918
+ binding4.RegisterJsTapKind.CompilationOptimizeChunkModules,
13835
13919
  function() {
13836
13920
  return getCompiler().__internal__get_compilation().hooks.optimizeChunkModules;
13837
13921
  },
@@ -13845,7 +13929,7 @@ var createCompilationHooksRegisters = (getCompiler, createTap, createMapTap) =>
13845
13929
  }
13846
13930
  ),
13847
13931
  registerCompilationChunkHashTaps: createTap(
13848
- binding3.RegisterJsTapKind.CompilationChunkHash,
13932
+ binding4.RegisterJsTapKind.CompilationChunkHash,
13849
13933
  function() {
13850
13934
  return getCompiler().__internal__get_compilation().hooks.chunkHash;
13851
13935
  },
@@ -13864,7 +13948,7 @@ var createCompilationHooksRegisters = (getCompiler, createTap, createMapTap) =>
13864
13948
  }
13865
13949
  ),
13866
13950
  registerCompilationChunkAssetTaps: createTap(
13867
- binding3.RegisterJsTapKind.CompilationChunkAsset,
13951
+ binding4.RegisterJsTapKind.CompilationChunkAsset,
13868
13952
  function() {
13869
13953
  return getCompiler().__internal__get_compilation().hooks.chunkAsset;
13870
13954
  },
@@ -13875,7 +13959,7 @@ var createCompilationHooksRegisters = (getCompiler, createTap, createMapTap) =>
13875
13959
  }
13876
13960
  ),
13877
13961
  registerCompilationProcessAssetsTaps: createTap(
13878
- binding3.RegisterJsTapKind.CompilationProcessAssets,
13962
+ binding4.RegisterJsTapKind.CompilationProcessAssets,
13879
13963
  function() {
13880
13964
  return getCompiler().__internal__get_compilation().hooks.processAssets;
13881
13965
  },
@@ -13888,7 +13972,7 @@ var createCompilationHooksRegisters = (getCompiler, createTap, createMapTap) =>
13888
13972
  }
13889
13973
  ),
13890
13974
  registerCompilationAfterProcessAssetsTaps: createTap(
13891
- binding3.RegisterJsTapKind.CompilationAfterProcessAssets,
13975
+ binding4.RegisterJsTapKind.CompilationAfterProcessAssets,
13892
13976
  function() {
13893
13977
  return getCompiler().__internal__get_compilation().hooks.afterProcessAssets;
13894
13978
  },
@@ -13901,7 +13985,7 @@ var createCompilationHooksRegisters = (getCompiler, createTap, createMapTap) =>
13901
13985
  }
13902
13986
  ),
13903
13987
  registerCompilationSealTaps: createTap(
13904
- binding3.RegisterJsTapKind.CompilationSeal,
13988
+ binding4.RegisterJsTapKind.CompilationSeal,
13905
13989
  function() {
13906
13990
  return getCompiler().__internal__get_compilation().hooks.seal;
13907
13991
  },
@@ -13912,7 +13996,7 @@ var createCompilationHooksRegisters = (getCompiler, createTap, createMapTap) =>
13912
13996
  }
13913
13997
  ),
13914
13998
  registerCompilationAfterSealTaps: createTap(
13915
- binding3.RegisterJsTapKind.CompilationAfterSeal,
13999
+ binding4.RegisterJsTapKind.CompilationAfterSeal,
13916
14000
  function() {
13917
14001
  return getCompiler().__internal__get_compilation().hooks.afterSeal;
13918
14002
  },
@@ -13926,11 +14010,11 @@ var createCompilationHooksRegisters = (getCompiler, createTap, createMapTap) =>
13926
14010
  };
13927
14011
 
13928
14012
  // src/taps/compiler.ts
13929
- var binding4 = __toESM(require("@rspack/binding"));
14013
+ var binding5 = __toESM(require("@rspack/binding"));
13930
14014
  var createCompilerHooksRegisters = (getCompiler, createTap, createMapTap) => {
13931
14015
  return {
13932
14016
  registerCompilerThisCompilationTaps: createTap(
13933
- binding4.RegisterJsTapKind.CompilerThisCompilation,
14017
+ binding5.RegisterJsTapKind.CompilerThisCompilation,
13934
14018
  function() {
13935
14019
  return getCompiler().hooks.thisCompilation;
13936
14020
  },
@@ -13945,7 +14029,7 @@ var createCompilerHooksRegisters = (getCompiler, createTap, createMapTap) => {
13945
14029
  }
13946
14030
  ),
13947
14031
  registerCompilerCompilationTaps: createTap(
13948
- binding4.RegisterJsTapKind.CompilerCompilation,
14032
+ binding5.RegisterJsTapKind.CompilerCompilation,
13949
14033
  function() {
13950
14034
  return getCompiler().hooks.compilation;
13951
14035
  },
@@ -13959,7 +14043,7 @@ var createCompilerHooksRegisters = (getCompiler, createTap, createMapTap) => {
13959
14043
  }
13960
14044
  ),
13961
14045
  registerCompilerMakeTaps: createTap(
13962
- binding4.RegisterJsTapKind.CompilerMake,
14046
+ binding5.RegisterJsTapKind.CompilerMake,
13963
14047
  function() {
13964
14048
  return getCompiler().hooks.make;
13965
14049
  },
@@ -13972,7 +14056,7 @@ var createCompilerHooksRegisters = (getCompiler, createTap, createMapTap) => {
13972
14056
  }
13973
14057
  ),
13974
14058
  registerCompilerFinishMakeTaps: createTap(
13975
- binding4.RegisterJsTapKind.CompilerFinishMake,
14059
+ binding5.RegisterJsTapKind.CompilerFinishMake,
13976
14060
  function() {
13977
14061
  return getCompiler().hooks.finishMake;
13978
14062
  },
@@ -13985,7 +14069,7 @@ var createCompilerHooksRegisters = (getCompiler, createTap, createMapTap) => {
13985
14069
  }
13986
14070
  ),
13987
14071
  registerCompilerShouldEmitTaps: createTap(
13988
- binding4.RegisterJsTapKind.CompilerShouldEmit,
14072
+ binding5.RegisterJsTapKind.CompilerShouldEmit,
13989
14073
  function() {
13990
14074
  return getCompiler().hooks.shouldEmit;
13991
14075
  },
@@ -13996,7 +14080,7 @@ var createCompilerHooksRegisters = (getCompiler, createTap, createMapTap) => {
13996
14080
  }
13997
14081
  ),
13998
14082
  registerCompilerEmitTaps: createTap(
13999
- binding4.RegisterJsTapKind.CompilerEmit,
14083
+ binding5.RegisterJsTapKind.CompilerEmit,
14000
14084
  function() {
14001
14085
  return getCompiler().hooks.emit;
14002
14086
  },
@@ -14009,7 +14093,7 @@ var createCompilerHooksRegisters = (getCompiler, createTap, createMapTap) => {
14009
14093
  }
14010
14094
  ),
14011
14095
  registerCompilerAfterEmitTaps: createTap(
14012
- binding4.RegisterJsTapKind.CompilerAfterEmit,
14096
+ binding5.RegisterJsTapKind.CompilerAfterEmit,
14013
14097
  function() {
14014
14098
  return getCompiler().hooks.afterEmit;
14015
14099
  },
@@ -14022,7 +14106,7 @@ var createCompilerHooksRegisters = (getCompiler, createTap, createMapTap) => {
14022
14106
  }
14023
14107
  ),
14024
14108
  registerCompilerAssetEmittedTaps: createTap(
14025
- binding4.RegisterJsTapKind.CompilerAssetEmitted,
14109
+ binding5.RegisterJsTapKind.CompilerAssetEmitted,
14026
14110
  function() {
14027
14111
  return getCompiler().hooks.assetEmitted;
14028
14112
  },
@@ -14052,11 +14136,11 @@ var createCompilerHooksRegisters = (getCompiler, createTap, createMapTap) => {
14052
14136
  };
14053
14137
 
14054
14138
  // src/taps/contextModuleFactory.ts
14055
- var binding5 = __toESM(require("@rspack/binding"));
14139
+ var binding6 = __toESM(require("@rspack/binding"));
14056
14140
  var createContextModuleFactoryHooksRegisters = (getCompiler, createTap, createMapTap) => {
14057
14141
  return {
14058
14142
  registerContextModuleFactoryBeforeResolveTaps: createTap(
14059
- binding5.RegisterJsTapKind.ContextModuleFactoryBeforeResolve,
14143
+ binding6.RegisterJsTapKind.ContextModuleFactoryBeforeResolve,
14060
14144
  function() {
14061
14145
  return getCompiler().__internal__get_compilation_params().contextModuleFactory.hooks.beforeResolve;
14062
14146
  },
@@ -14069,7 +14153,7 @@ var createContextModuleFactoryHooksRegisters = (getCompiler, createTap, createMa
14069
14153
  }
14070
14154
  ),
14071
14155
  registerContextModuleFactoryAfterResolveTaps: createTap(
14072
- binding5.RegisterJsTapKind.ContextModuleFactoryAfterResolve,
14156
+ binding6.RegisterJsTapKind.ContextModuleFactoryAfterResolve,
14073
14157
  function() {
14074
14158
  return getCompiler().__internal__get_compilation_params().contextModuleFactory.hooks.afterResolve;
14075
14159
  },
@@ -14085,11 +14169,11 @@ var createContextModuleFactoryHooksRegisters = (getCompiler, createTap, createMa
14085
14169
  };
14086
14170
 
14087
14171
  // src/taps/javascriptModules.ts
14088
- var binding6 = __toESM(require("@rspack/binding"));
14172
+ var binding7 = __toESM(require("@rspack/binding"));
14089
14173
  var createJavaScriptModulesHooksRegisters = (getCompiler, createTap, createMapTap) => {
14090
14174
  return {
14091
14175
  registerJavascriptModulesChunkHashTaps: createTap(
14092
- binding6.RegisterJsTapKind.JavascriptModulesChunkHash,
14176
+ binding7.RegisterJsTapKind.JavascriptModulesChunkHash,
14093
14177
  function() {
14094
14178
  return JavascriptModulesPlugin.getCompilationHooks(
14095
14179
  getCompiler().__internal__get_compilation()
@@ -14113,11 +14197,11 @@ var createJavaScriptModulesHooksRegisters = (getCompiler, createTap, createMapTa
14113
14197
  };
14114
14198
 
14115
14199
  // src/taps/normalModuleFactory.ts
14116
- var binding7 = __toESM(require("@rspack/binding"));
14200
+ var binding8 = __toESM(require("@rspack/binding"));
14117
14201
  var createNormalModuleFactoryHooksRegisters = (getCompiler, createTap, createMapTap) => {
14118
14202
  return {
14119
14203
  registerNormalModuleFactoryBeforeResolveTaps: createTap(
14120
- binding7.RegisterJsTapKind.NormalModuleFactoryBeforeResolve,
14204
+ binding8.RegisterJsTapKind.NormalModuleFactoryBeforeResolve,
14121
14205
  function() {
14122
14206
  return getCompiler().__internal__get_compilation_params().normalModuleFactory.hooks.beforeResolve;
14123
14207
  },
@@ -14141,7 +14225,7 @@ var createNormalModuleFactoryHooksRegisters = (getCompiler, createTap, createMap
14141
14225
  }
14142
14226
  ),
14143
14227
  registerNormalModuleFactoryFactorizeTaps: createTap(
14144
- binding7.RegisterJsTapKind.NormalModuleFactoryFactorize,
14228
+ binding8.RegisterJsTapKind.NormalModuleFactoryFactorize,
14145
14229
  function() {
14146
14230
  return getCompiler().__internal__get_compilation_params().normalModuleFactory.hooks.factorize;
14147
14231
  },
@@ -14165,7 +14249,7 @@ var createNormalModuleFactoryHooksRegisters = (getCompiler, createTap, createMap
14165
14249
  }
14166
14250
  ),
14167
14251
  registerNormalModuleFactoryResolveTaps: createTap(
14168
- binding7.RegisterJsTapKind.NormalModuleFactoryResolve,
14252
+ binding8.RegisterJsTapKind.NormalModuleFactoryResolve,
14169
14253
  function() {
14170
14254
  return getCompiler().__internal__get_compilation_params().normalModuleFactory.hooks.resolve;
14171
14255
  },
@@ -14189,7 +14273,7 @@ var createNormalModuleFactoryHooksRegisters = (getCompiler, createTap, createMap
14189
14273
  }
14190
14274
  ),
14191
14275
  registerNormalModuleFactoryResolveForSchemeTaps: createMapTap(
14192
- binding7.RegisterJsTapKind.NormalModuleFactoryResolveForScheme,
14276
+ binding8.RegisterJsTapKind.NormalModuleFactoryResolveForScheme,
14193
14277
  function() {
14194
14278
  return getCompiler().__internal__get_compilation_params().normalModuleFactory.hooks.resolveForScheme;
14195
14279
  },
@@ -14201,7 +14285,7 @@ var createNormalModuleFactoryHooksRegisters = (getCompiler, createTap, createMap
14201
14285
  }
14202
14286
  ),
14203
14287
  registerNormalModuleFactoryAfterResolveTaps: createTap(
14204
- binding7.RegisterJsTapKind.NormalModuleFactoryAfterResolve,
14288
+ binding8.RegisterJsTapKind.NormalModuleFactoryAfterResolve,
14205
14289
  function() {
14206
14290
  return getCompiler().__internal__get_compilation_params().normalModuleFactory.hooks.afterResolve;
14207
14291
  },
@@ -14224,7 +14308,7 @@ var createNormalModuleFactoryHooksRegisters = (getCompiler, createTap, createMap
14224
14308
  }
14225
14309
  ),
14226
14310
  registerNormalModuleFactoryCreateModuleTaps: createTap(
14227
- binding7.RegisterJsTapKind.NormalModuleFactoryCreateModule,
14311
+ binding8.RegisterJsTapKind.NormalModuleFactoryCreateModule,
14228
14312
  function() {
14229
14313
  return getCompiler().__internal__get_compilation_params().normalModuleFactory.hooks.createModule;
14230
14314
  },
@@ -14260,47 +14344,47 @@ var Compiler = class _Compiler {
14260
14344
  this.#moduleExecutionResultsMap = /* @__PURE__ */ new Map();
14261
14345
  this.#ruleSet = new RuleSetCompiler();
14262
14346
  this.hooks = {
14263
- initialize: new liteTapable7.SyncHook([]),
14264
- shouldEmit: new liteTapable7.SyncBailHook(["compilation"]),
14265
- done: new liteTapable7.AsyncSeriesHook(["stats"]),
14266
- afterDone: new liteTapable7.SyncHook(["stats"]),
14267
- beforeRun: new liteTapable7.AsyncSeriesHook(["compiler"]),
14268
- run: new liteTapable7.AsyncSeriesHook(["compiler"]),
14269
- emit: new liteTapable7.AsyncSeriesHook(["compilation"]),
14270
- assetEmitted: new liteTapable7.AsyncSeriesHook(["file", "info"]),
14271
- afterEmit: new liteTapable7.AsyncSeriesHook(["compilation"]),
14272
- thisCompilation: new liteTapable7.SyncHook(["compilation", "params"]),
14273
- compilation: new liteTapable7.SyncHook([
14347
+ initialize: new liteTapable8.SyncHook([]),
14348
+ shouldEmit: new liteTapable8.SyncBailHook(["compilation"]),
14349
+ done: new liteTapable8.AsyncSeriesHook(["stats"]),
14350
+ afterDone: new liteTapable8.SyncHook(["stats"]),
14351
+ beforeRun: new liteTapable8.AsyncSeriesHook(["compiler"]),
14352
+ run: new liteTapable8.AsyncSeriesHook(["compiler"]),
14353
+ emit: new liteTapable8.AsyncSeriesHook(["compilation"]),
14354
+ assetEmitted: new liteTapable8.AsyncSeriesHook(["file", "info"]),
14355
+ afterEmit: new liteTapable8.AsyncSeriesHook(["compilation"]),
14356
+ thisCompilation: new liteTapable8.SyncHook(["compilation", "params"]),
14357
+ compilation: new liteTapable8.SyncHook([
14274
14358
  "compilation",
14275
14359
  "params"
14276
14360
  ]),
14277
- invalid: new liteTapable7.SyncHook(["filename", "changeTime"]),
14278
- compile: new liteTapable7.SyncHook(["params"]),
14279
- infrastructureLog: new liteTapable7.SyncBailHook([
14361
+ invalid: new liteTapable8.SyncHook(["filename", "changeTime"]),
14362
+ compile: new liteTapable8.SyncHook(["params"]),
14363
+ infrastructureLog: new liteTapable8.SyncBailHook([
14280
14364
  "origin",
14281
14365
  "type",
14282
14366
  "args"
14283
14367
  ]),
14284
- failed: new liteTapable7.SyncHook(["error"]),
14285
- shutdown: new liteTapable7.AsyncSeriesHook([]),
14286
- normalModuleFactory: new liteTapable7.SyncHook([
14368
+ failed: new liteTapable8.SyncHook(["error"]),
14369
+ shutdown: new liteTapable8.AsyncSeriesHook([]),
14370
+ normalModuleFactory: new liteTapable8.SyncHook([
14287
14371
  "normalModuleFactory"
14288
14372
  ]),
14289
- contextModuleFactory: new liteTapable7.SyncHook([
14373
+ contextModuleFactory: new liteTapable8.SyncHook([
14290
14374
  "contextModuleFactory"
14291
14375
  ]),
14292
- watchRun: new liteTapable7.AsyncSeriesHook(["compiler"]),
14293
- watchClose: new liteTapable7.SyncHook([]),
14294
- environment: new liteTapable7.SyncHook([]),
14295
- afterEnvironment: new liteTapable7.SyncHook([]),
14296
- afterPlugins: new liteTapable7.SyncHook(["compiler"]),
14297
- afterResolvers: new liteTapable7.SyncHook(["compiler"]),
14298
- make: new liteTapable7.AsyncParallelHook(["compilation"]),
14299
- beforeCompile: new liteTapable7.AsyncSeriesHook(["params"]),
14300
- afterCompile: new liteTapable7.AsyncSeriesHook(["compilation"]),
14301
- finishMake: new liteTapable7.AsyncSeriesHook(["compilation"]),
14302
- entryOption: new liteTapable7.SyncBailHook(["context", "entry"]),
14303
- additionalPass: new liteTapable7.AsyncSeriesHook([])
14376
+ watchRun: new liteTapable8.AsyncSeriesHook(["compiler"]),
14377
+ watchClose: new liteTapable8.SyncHook([]),
14378
+ environment: new liteTapable8.SyncHook([]),
14379
+ afterEnvironment: new liteTapable8.SyncHook([]),
14380
+ afterPlugins: new liteTapable8.SyncHook(["compiler"]),
14381
+ afterResolvers: new liteTapable8.SyncHook(["compiler"]),
14382
+ make: new liteTapable8.AsyncParallelHook(["compilation"]),
14383
+ beforeCompile: new liteTapable8.AsyncSeriesHook(["params"]),
14384
+ afterCompile: new liteTapable8.AsyncSeriesHook(["compilation"]),
14385
+ finishMake: new liteTapable8.AsyncSeriesHook(["compilation"]),
14386
+ entryOption: new liteTapable8.SyncBailHook(["context", "entry"]),
14387
+ additionalPass: new liteTapable8.AsyncSeriesHook([])
14304
14388
  };
14305
14389
  this.webpack = rspack;
14306
14390
  this.rspack = rspack;
@@ -14815,7 +14899,8 @@ var Compiler = class _Compiler {
14815
14899
  createTap,
14816
14900
  createMapTap
14817
14901
  ),
14818
- ...createHtmlPluginHooksRegisters(getCompiler, createTap, createMapTap)
14902
+ ...createHtmlPluginHooksRegisters(getCompiler, createTap, createMapTap),
14903
+ ...createRuntimePluginHooksRegisters(getCompiler, createTap, createMapTap)
14819
14904
  };
14820
14905
  }
14821
14906
  #updateNonSkippableRegisters() {
@@ -14864,9 +14949,9 @@ var Compiler = class _Compiler {
14864
14949
  const hook = getHook();
14865
14950
  if (!hook.isUsed()) return [];
14866
14951
  const breakpoints = [
14867
- liteTapable7.minStage,
14952
+ liteTapable8.minStage,
14868
14953
  ...stages,
14869
- liteTapable7.maxStage
14954
+ liteTapable8.maxStage
14870
14955
  ];
14871
14956
  const jsTaps = [];
14872
14957
  for (let i = 0; i < breakpoints.length - 1; i++) {
@@ -14877,7 +14962,7 @@ var Compiler = class _Compiler {
14877
14962
  if (!queried.isUsed()) continue;
14878
14963
  jsTaps.push({
14879
14964
  function: createTap(queried),
14880
- stage: liteTapable7.safeStage(from + 1)
14965
+ stage: liteTapable8.safeStage(from + 1)
14881
14966
  });
14882
14967
  }
14883
14968
  compiler.#decorateJsTaps(jsTaps);
@@ -14898,9 +14983,9 @@ var Compiler = class _Compiler {
14898
14983
  const map = getHookMap();
14899
14984
  if (!map.isUsed()) return [];
14900
14985
  const breakpoints = [
14901
- liteTapable7.minStage,
14986
+ liteTapable8.minStage,
14902
14987
  ...stages,
14903
- liteTapable7.maxStage
14988
+ liteTapable8.maxStage
14904
14989
  ];
14905
14990
  const jsTaps = [];
14906
14991
  for (let i = 0; i < breakpoints.length - 1; i++) {
@@ -14911,7 +14996,7 @@ var Compiler = class _Compiler {
14911
14996
  if (!queried.isUsed()) continue;
14912
14997
  jsTaps.push({
14913
14998
  function: createTap(queried),
14914
- stage: liteTapable7.safeStage(from + 1)
14999
+ stage: liteTapable8.safeStage(from + 1)
14915
15000
  });
14916
15001
  }
14917
15002
  compiler.#decorateJsTaps(jsTaps);
@@ -14959,7 +15044,7 @@ var Compiler = class _Compiler {
14959
15044
  };
14960
15045
 
14961
15046
  // src/MultiCompiler.ts
14962
- var liteTapable8 = __toESM(require("@rspack/lite-tapable"));
15047
+ var liteTapable9 = __toESM(require("@rspack/lite-tapable"));
14963
15048
 
14964
15049
  // src/MultiStats.ts
14965
15050
  var MultiStats = class {
@@ -15212,16 +15297,16 @@ var MultiCompiler = class {
15212
15297
  normalizedCompilers = compilers;
15213
15298
  }
15214
15299
  this.hooks = {
15215
- done: new liteTapable8.SyncHook(["stats"]),
15216
- invalid: new liteTapable8.MultiHook(
15300
+ done: new liteTapable9.SyncHook(["stats"]),
15301
+ invalid: new liteTapable9.MultiHook(
15217
15302
  normalizedCompilers.map((c) => c.hooks.invalid)
15218
15303
  ),
15219
- run: new liteTapable8.MultiHook(normalizedCompilers.map((c) => c.hooks.run)),
15220
- watchClose: new liteTapable8.SyncHook([]),
15221
- watchRun: new liteTapable8.MultiHook(
15304
+ run: new liteTapable9.MultiHook(normalizedCompilers.map((c) => c.hooks.run)),
15305
+ watchClose: new liteTapable9.SyncHook([]),
15306
+ watchRun: new liteTapable9.MultiHook(
15222
15307
  normalizedCompilers.map((c) => c.hooks.watchRun)
15223
15308
  ),
15224
- infrastructureLog: new liteTapable8.MultiHook(
15309
+ infrastructureLog: new liteTapable9.MultiHook(
15225
15310
  normalizedCompilers.map((c) => c.hooks.infrastructureLog)
15226
15311
  )
15227
15312
  };
@@ -18842,9 +18927,9 @@ var matchObject = (obj, str) => {
18842
18927
  var import_zod5 = __toESM(require("../compiled/zod/index.js"));
18843
18928
 
18844
18929
  // src/builtin-plugin/FlagAllModulesAsUsedPlugin.ts
18845
- var import_binding74 = require("@rspack/binding");
18930
+ var import_binding73 = require("@rspack/binding");
18846
18931
  var FlagAllModulesAsUsedPlugin = create2(
18847
- import_binding74.BuiltinPluginName.FlagAllModulesAsUsedPlugin,
18932
+ import_binding73.BuiltinPluginName.FlagAllModulesAsUsedPlugin,
18848
18933
  (explanation) => {
18849
18934
  return {
18850
18935
  explanation
@@ -19733,9 +19818,9 @@ var NodeTemplatePlugin = class {
19733
19818
  };
19734
19819
 
19735
19820
  // src/container/ModuleFederationRuntimePlugin.ts
19736
- var import_binding75 = require("@rspack/binding");
19821
+ var import_binding74 = require("@rspack/binding");
19737
19822
  var ModuleFederationRuntimePlugin = create2(
19738
- import_binding75.BuiltinPluginName.ModuleFederationRuntimePlugin,
19823
+ import_binding74.BuiltinPluginName.ModuleFederationRuntimePlugin,
19739
19824
  () => {
19740
19825
  }
19741
19826
  );
@@ -19931,10 +20016,10 @@ function getDefaultEntryRuntime(paths, options, compiler) {
19931
20016
  }
19932
20017
 
19933
20018
  // src/sharing/ConsumeSharedPlugin.ts
19934
- var import_binding77 = require("@rspack/binding");
20019
+ var import_binding76 = require("@rspack/binding");
19935
20020
 
19936
20021
  // src/sharing/ShareRuntimePlugin.ts
19937
- var import_binding76 = require("@rspack/binding");
20022
+ var import_binding75 = require("@rspack/binding");
19938
20023
  var compilerSet = /* @__PURE__ */ new WeakSet();
19939
20024
  function isSingleton(compiler) {
19940
20025
  return compilerSet.has(compiler);
@@ -19946,7 +20031,7 @@ var ShareRuntimePlugin = class extends RspackBuiltinPlugin {
19946
20031
  constructor(enhanced = false) {
19947
20032
  super();
19948
20033
  this.enhanced = enhanced;
19949
- this.name = import_binding76.BuiltinPluginName.ShareRuntimePlugin;
20034
+ this.name = import_binding75.BuiltinPluginName.ShareRuntimePlugin;
19950
20035
  }
19951
20036
  raw(compiler) {
19952
20037
  if (isSingleton(compiler)) return;
@@ -19965,7 +20050,7 @@ function isRequiredVersion(str) {
19965
20050
  var ConsumeSharedPlugin = class extends RspackBuiltinPlugin {
19966
20051
  constructor(options) {
19967
20052
  super();
19968
- this.name = import_binding77.BuiltinPluginName.ConsumeSharedPlugin;
20053
+ this.name = import_binding76.BuiltinPluginName.ConsumeSharedPlugin;
19969
20054
  this._options = {
19970
20055
  consumes: parseOptions(
19971
20056
  options.consumes,
@@ -20028,11 +20113,11 @@ var ConsumeSharedPlugin = class extends RspackBuiltinPlugin {
20028
20113
  };
20029
20114
 
20030
20115
  // src/sharing/ProvideSharedPlugin.ts
20031
- var import_binding78 = require("@rspack/binding");
20116
+ var import_binding77 = require("@rspack/binding");
20032
20117
  var ProvideSharedPlugin = class extends RspackBuiltinPlugin {
20033
20118
  constructor(options) {
20034
20119
  super();
20035
- this.name = import_binding78.BuiltinPluginName.ProvideSharedPlugin;
20120
+ this.name = import_binding77.BuiltinPluginName.ProvideSharedPlugin;
20036
20121
  this._provides = parseOptions(
20037
20122
  options.provides,
20038
20123
  (item) => {
@@ -20137,11 +20222,11 @@ var SharePlugin = class {
20137
20222
  };
20138
20223
 
20139
20224
  // src/container/ContainerPlugin.ts
20140
- var import_binding79 = require("@rspack/binding");
20225
+ var import_binding78 = require("@rspack/binding");
20141
20226
  var ContainerPlugin = class extends RspackBuiltinPlugin {
20142
20227
  constructor(options) {
20143
20228
  super();
20144
- this.name = import_binding79.BuiltinPluginName.ContainerPlugin;
20229
+ this.name = import_binding78.BuiltinPluginName.ContainerPlugin;
20145
20230
  this._options = {
20146
20231
  name: options.name,
20147
20232
  shareScope: options.shareScope || "default",
@@ -20185,11 +20270,11 @@ var ContainerPlugin = class extends RspackBuiltinPlugin {
20185
20270
  };
20186
20271
 
20187
20272
  // src/container/ContainerReferencePlugin.ts
20188
- var import_binding80 = require("@rspack/binding");
20273
+ var import_binding79 = require("@rspack/binding");
20189
20274
  var ContainerReferencePlugin = class extends RspackBuiltinPlugin {
20190
20275
  constructor(options) {
20191
20276
  super();
20192
- this.name = import_binding80.BuiltinPluginName.ContainerReferencePlugin;
20277
+ this.name = import_binding79.BuiltinPluginName.ContainerReferencePlugin;
20193
20278
  this._options = {
20194
20279
  remoteType: options.remoteType,
20195
20280
  remotes: parseOptions(
@@ -20274,7 +20359,7 @@ var ModuleFederationPluginV1 = class {
20274
20359
  };
20275
20360
 
20276
20361
  // src/exports.ts
20277
- var import_binding81 = require("@rspack/binding");
20362
+ var import_binding80 = require("@rspack/binding");
20278
20363
  var rspackVersion = import_package.version;
20279
20364
  var version = import_package.webpackVersion;
20280
20365
  var WebpackError2 = Error;
@@ -20321,7 +20406,7 @@ var sharing = {
20321
20406
  var experiments2 = {
20322
20407
  globalTrace: {
20323
20408
  async register(filter, layer2, output2) {
20324
- (0, import_binding81.registerGlobalTrace)(filter, layer2, output2);
20409
+ (0, import_binding80.registerGlobalTrace)(filter, layer2, output2);
20325
20410
  if (layer2 === "otel") {
20326
20411
  try {
20327
20412
  const { initOpenTelemetry } = await import("@rspack/tracing");
@@ -20335,7 +20420,7 @@ var experiments2 = {
20335
20420
  }
20336
20421
  },
20337
20422
  async cleanup() {
20338
- (0, import_binding81.cleanupGlobalTrace)();
20423
+ (0, import_binding80.cleanupGlobalTrace)();
20339
20424
  try {
20340
20425
  const { shutdownOpenTelemetry } = await import("@rspack/tracing");
20341
20426
  await shutdownOpenTelemetry();
@@ -20488,6 +20573,7 @@ module.exports = rspack;
20488
20573
  RspackOptionsApply,
20489
20574
  RuntimeGlobals,
20490
20575
  RuntimeModule,
20576
+ RuntimePlugin,
20491
20577
  SourceMapDevToolPlugin,
20492
20578
  Stats,
20493
20579
  SwcJsMinimizerRspackPlugin,