@rspack/core 1.3.11 → 1.3.13
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/README.md +2 -2
- package/compiled/browserslist-load-config/index.d.ts +10 -0
- package/compiled/browserslist-load-config/index.js +266 -0
- package/compiled/browserslist-load-config/license +21 -0
- package/compiled/browserslist-load-config/package.json +1 -0
- package/compiled/watchpack/index.js +61 -19
- package/compiled/watchpack/package.json +1 -1
- package/compiled/webpack-sources/index.js +1539 -339
- package/compiled/webpack-sources/package.json +1 -1
- package/compiled/webpack-sources/types.d.ts +320 -0
- package/compiled/zod/dist/types/index.d.ts +3 -0
- package/compiled/zod/{lib → dist/types/v3}/ZodError.d.ts +7 -7
- package/compiled/zod/{lib → dist/types/v3}/errors.d.ts +2 -2
- package/compiled/zod/dist/types/v3/external.d.ts +6 -0
- package/compiled/zod/{lib → dist/types/v3}/helpers/errorUtil.d.ts +1 -1
- package/compiled/zod/{lib → dist/types/v3}/helpers/parseUtil.d.ts +4 -4
- package/compiled/zod/{lib → dist/types/v3}/helpers/partialUtil.d.ts +1 -1
- package/compiled/zod/{lib → dist/types/v3}/helpers/util.d.ts +12 -9
- package/compiled/zod/dist/types/v3/index.d.ts +4 -0
- package/compiled/zod/{lib → dist/types/v3}/locales/en.d.ts +1 -1
- package/compiled/zod/{lib/__tests__ → dist/types/v3/tests}/Mocker.d.ts +6 -6
- package/compiled/zod/{lib → dist/types/v3}/types.d.ts +118 -149
- package/compiled/zod/dist/types/v4/classic/checks.d.ts +1 -0
- package/compiled/zod/dist/types/v4/classic/coerce.d.ts +17 -0
- package/compiled/zod/dist/types/v4/classic/compat.d.ts +48 -0
- package/compiled/zod/dist/types/v4/classic/errors.d.ts +30 -0
- package/compiled/zod/dist/types/v4/classic/external.d.ts +8 -0
- package/compiled/zod/dist/types/v4/classic/index.d.ts +4 -0
- package/compiled/zod/dist/types/v4/classic/iso.d.ts +22 -0
- package/compiled/zod/dist/types/v4/classic/parse.d.ts +23 -0
- package/compiled/zod/dist/types/v4/classic/schemas.d.ts +661 -0
- package/compiled/zod/dist/types/v4/core/api.d.ts +273 -0
- package/compiled/zod/dist/types/v4/core/checks.d.ts +277 -0
- package/compiled/zod/dist/types/v4/core/config.d.ts +9 -0
- package/compiled/zod/dist/types/v4/core/core.d.ts +43 -0
- package/compiled/zod/dist/types/v4/core/doc.d.ts +14 -0
- package/compiled/zod/dist/types/v4/core/errors.d.ts +205 -0
- package/compiled/zod/dist/types/v4/core/function.d.ts +47 -0
- package/compiled/zod/dist/types/v4/core/index.d.ts +15 -0
- package/compiled/zod/dist/types/v4/core/json-schema.d.ts +100 -0
- package/compiled/zod/dist/types/v4/core/parse.d.ts +25 -0
- package/compiled/zod/dist/types/v4/core/regexes.d.ts +63 -0
- package/compiled/zod/dist/types/v4/core/registries.d.ts +32 -0
- package/compiled/zod/dist/types/v4/core/schemas.d.ts +983 -0
- package/compiled/zod/dist/types/v4/core/standard-schema.d.ts +55 -0
- package/compiled/zod/dist/types/v4/core/to-json-schema.d.ts +84 -0
- package/compiled/zod/dist/types/v4/core/util.d.ts +186 -0
- package/compiled/zod/dist/types/v4/core/versions.d.ts +5 -0
- package/compiled/zod/dist/types/v4/core/zsf.d.ts +91 -0
- package/compiled/zod/dist/types/v4/index.d.ts +3 -0
- package/compiled/zod/dist/types/v4/locales/ar.d.ts +7 -0
- package/compiled/zod/dist/types/v4/locales/az.d.ts +7 -0
- package/compiled/zod/dist/types/v4/locales/be.d.ts +7 -0
- package/compiled/zod/dist/types/v4/locales/ca.d.ts +7 -0
- package/compiled/zod/dist/types/v4/locales/cs.d.ts +7 -0
- package/compiled/zod/dist/types/v4/locales/de.d.ts +7 -0
- package/compiled/zod/dist/types/v4/locales/en.d.ts +7 -0
- package/compiled/zod/dist/types/v4/locales/es.d.ts +7 -0
- package/compiled/zod/dist/types/v4/locales/fa.d.ts +7 -0
- package/compiled/zod/dist/types/v4/locales/fi.d.ts +7 -0
- package/compiled/zod/dist/types/v4/locales/fr.d.ts +7 -0
- package/compiled/zod/dist/types/v4/locales/frCA.d.ts +7 -0
- package/compiled/zod/dist/types/v4/locales/he.d.ts +7 -0
- package/compiled/zod/dist/types/v4/locales/hu.d.ts +7 -0
- package/compiled/zod/dist/types/v4/locales/id.d.ts +7 -0
- package/compiled/zod/dist/types/v4/locales/index.d.ts +34 -0
- package/compiled/zod/dist/types/v4/locales/it.d.ts +7 -0
- package/compiled/zod/dist/types/v4/locales/ja.d.ts +7 -0
- package/compiled/zod/dist/types/v4/locales/ko.d.ts +7 -0
- package/compiled/zod/dist/types/v4/locales/mk.d.ts +7 -0
- package/compiled/zod/dist/types/v4/locales/ms.d.ts +7 -0
- package/compiled/zod/dist/types/v4/locales/no.d.ts +7 -0
- package/compiled/zod/dist/types/v4/locales/ota.d.ts +7 -0
- package/compiled/zod/dist/types/v4/locales/pl.d.ts +7 -0
- package/compiled/zod/dist/types/v4/locales/pt.d.ts +7 -0
- package/compiled/zod/dist/types/v4/locales/ru.d.ts +7 -0
- package/compiled/zod/dist/types/v4/locales/sl.d.ts +7 -0
- package/compiled/zod/dist/types/v4/locales/ta.d.ts +7 -0
- package/compiled/zod/dist/types/v4/locales/th.d.ts +7 -0
- package/compiled/zod/dist/types/v4/locales/tr.d.ts +7 -0
- package/compiled/zod/dist/types/v4/locales/ua.d.ts +7 -0
- package/compiled/zod/dist/types/v4/locales/ur.d.ts +7 -0
- package/compiled/zod/dist/types/v4/locales/vi.d.ts +7 -0
- package/compiled/zod/dist/types/v4/locales/zh-CN.d.ts +7 -0
- package/compiled/zod/dist/types/v4/locales/zh-tw.d.ts +7 -0
- package/compiled/zod/dist/types/v4/mini/checks.d.ts +1 -0
- package/compiled/zod/dist/types/v4/mini/coerce.d.ts +7 -0
- package/compiled/zod/dist/types/v4/mini/external.d.ts +7 -0
- package/compiled/zod/dist/types/v4/mini/index.d.ts +3 -0
- package/compiled/zod/dist/types/v4/mini/iso.d.ts +22 -0
- package/compiled/zod/dist/types/v4/mini/parse.d.ts +1 -0
- package/compiled/zod/dist/types/v4/mini/schemas.d.ts +407 -0
- package/compiled/zod/index.js +555 -602
- package/compiled/zod/license +1 -1
- package/compiled/zod/package.json +1 -1
- package/compiled/zod/v3/index.d.ts +1 -0
- package/compiled/zod/v4/core/index.d.ts +1 -0
- package/compiled/zod/v4/index.d.ts +1 -0
- package/compiled/zod/v4/locales/en.d.ts +2 -0
- package/compiled/zod/v4/locales/index.d.ts +1 -0
- package/compiled/zod/v4-mini/index.d.ts +1 -0
- package/dist/Compilation.d.ts +2 -2
- package/dist/Compiler.d.ts +1 -1
- package/dist/builtin-plugin/CopyRspackPlugin.d.ts +2 -3
- package/dist/builtin-plugin/RstestPlugin.d.ts +11 -0
- package/dist/builtin-plugin/index.d.ts +1 -0
- package/dist/config/browserslistTargetHandler.d.ts +0 -6
- package/dist/exports.d.ts +2 -0
- package/dist/index.d.ts +0 -1
- package/dist/index.js +187 -254
- package/dist/node/NodeWatchFileSystem.d.ts +2 -2
- package/dist/stats/statsFactoryUtils.d.ts +24 -0
- package/dist/trace/index.d.ts +5 -0
- package/module.d.ts +53 -21
- package/package.json +12 -14
- package/compiled/browserslist/index.d.ts +0 -1
- package/compiled/browserslist/index.js +0 -2123
- package/compiled/browserslist/license +0 -20
- package/compiled/browserslist/package.json +0 -1
- package/compiled/webpack-sources/index.d.ts +0 -130
- package/compiled/zod/index.d.ts +0 -2
- package/compiled/zod/lib/external.d.ts +0 -6
- package/compiled/zod/lib/index.d.ts +0 -4
- package/dist/setupEnv.d.ts +0 -1
- /package/compiled/zod/{lib → dist/types/v3}/benchmarks/datetime.d.ts +0 -0
- /package/compiled/zod/{lib → dist/types/v3}/benchmarks/discriminatedUnion.d.ts +0 -0
- /package/compiled/zod/{lib → dist/types/v3}/benchmarks/index.d.ts +0 -0
- /package/compiled/zod/{lib → dist/types/v3}/benchmarks/ipv4.d.ts +0 -0
- /package/compiled/zod/{lib → dist/types/v3}/benchmarks/object.d.ts +0 -0
- /package/compiled/zod/{lib → dist/types/v3}/benchmarks/primitives.d.ts +0 -0
- /package/compiled/zod/{lib → dist/types/v3}/benchmarks/realworld.d.ts +0 -0
- /package/compiled/zod/{lib → dist/types/v3}/benchmarks/string.d.ts +0 -0
- /package/compiled/zod/{lib → dist/types/v3}/benchmarks/union.d.ts +0 -0
- /package/compiled/zod/{lib → dist/types/v3}/helpers/enumUtil.d.ts +0 -0
- /package/compiled/zod/{lib → dist/types/v3}/helpers/typeAliases.d.ts +0 -0
- /package/compiled/zod/{lib → dist/types/v3}/standard-schema.d.ts +0 -0
package/dist/index.js
CHANGED
@@ -207,8 +207,11 @@ var __webpack_modules__ = {
|
|
207
207
|
}
|
208
208
|
};
|
209
209
|
},
|
210
|
-
browserslist: function(module) {
|
211
|
-
module.exports = require("../compiled/browserslist/index.js");
|
210
|
+
"browserslist-load-config": function(module) {
|
211
|
+
module.exports = require("../compiled/browserslist-load-config/index.js");
|
212
|
+
},
|
213
|
+
watchpack: function(module) {
|
214
|
+
module.exports = require("../compiled/watchpack/index.js");
|
212
215
|
},
|
213
216
|
"webpack-sources": function(module) {
|
214
217
|
module.exports = require("../compiled/webpack-sources/index.js");
|
@@ -222,9 +225,6 @@ var __webpack_modules__ = {
|
|
222
225
|
"@rspack/binding": function(module) {
|
223
226
|
module.exports = require("@rspack/binding");
|
224
227
|
},
|
225
|
-
"node:child_process": function(module) {
|
226
|
-
module.exports = require("node:child_process");
|
227
|
-
},
|
228
228
|
"node:http": function(module) {
|
229
229
|
module.exports = require("node:http");
|
230
230
|
},
|
@@ -237,6 +237,12 @@ var __webpack_modules__ = {
|
|
237
237
|
"node:url": function(module) {
|
238
238
|
module.exports = require("node:url");
|
239
239
|
},
|
240
|
+
"node:vm": function(module) {
|
241
|
+
module.exports = require("node:vm");
|
242
|
+
},
|
243
|
+
"node:zlib": function(module) {
|
244
|
+
module.exports = require("node:zlib");
|
245
|
+
},
|
240
246
|
process: function(module) {
|
241
247
|
module.exports = require("process");
|
242
248
|
},
|
@@ -280,6 +286,7 @@ var __webpack_exports__ = {};
|
|
280
286
|
for(var __webpack_i__ in (()=>{
|
281
287
|
let createMd4, createXxhash64, service_pool, bindingVersionCheck_result, loadLoader_url;
|
282
288
|
__webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, {
|
289
|
+
RstestPlugin: ()=>RstestPlugin,
|
283
290
|
RuntimePlugin: ()=>RuntimePlugin,
|
284
291
|
LoaderOptionsPlugin: ()=>LoaderOptionsPlugin,
|
285
292
|
Compiler: ()=>Compiler,
|
@@ -351,7 +358,6 @@ for(var __webpack_i__ in (()=>{
|
|
351
358
|
});
|
352
359
|
var RequestType, _computedKey, Compilation_computedKey, _computedKey1, _computedKey2, ArrayQueue_computedKey, browserslistTargetHandler_namespaceObject = {};
|
353
360
|
__webpack_require__.r(browserslistTargetHandler_namespaceObject), __webpack_require__.d(browserslistTargetHandler_namespaceObject, {
|
354
|
-
load: ()=>load,
|
355
361
|
resolve: ()=>browserslistTargetHandler_resolve
|
356
362
|
});
|
357
363
|
var ModuleFilenameHelpers_namespaceObject = {};
|
@@ -401,6 +407,7 @@ for(var __webpack_i__ in (()=>{
|
|
401
407
|
ProgressPlugin: ()=>ProgressPlugin,
|
402
408
|
ProvidePlugin: ()=>ProvidePlugin,
|
403
409
|
RspackOptionsApply: ()=>RspackOptionsApply,
|
410
|
+
RstestPlugin: ()=>RstestPlugin,
|
404
411
|
RuntimeGlobals: ()=>RuntimeGlobals,
|
405
412
|
RuntimeModule: ()=>RuntimeModule,
|
406
413
|
RuntimePlugin: ()=>RuntimePlugin,
|
@@ -429,8 +436,6 @@ for(var __webpack_i__ in (()=>{
|
|
429
436
|
web: ()=>web,
|
430
437
|
webworker: ()=>webworker
|
431
438
|
});
|
432
|
-
var external_node_os_ = __webpack_require__("node:os");
|
433
|
-
"darwin" === __webpack_require__.n(external_node_os_)().platform() && void 0 === process.env.WATCHPACK_WATCHER_LIMIT && (process.env.WATCHPACK_WATCHER_LIMIT = "20");
|
434
439
|
var binding_ = __webpack_require__("@rspack/binding"), binding_default = __webpack_require__.n(binding_);
|
435
440
|
let lite_tapable_namespaceObject = require("@rspack/lite-tapable"), CHUNK_GROUP_MAPPINGS = new WeakMap();
|
436
441
|
class ChunkGroup {
|
@@ -729,53 +734,6 @@ for(var __webpack_i__ in (()=>{
|
|
729
734
|
return this.#inner.getOutgoingConnectionsInOrder(module);
|
730
735
|
}
|
731
736
|
}
|
732
|
-
function isNil(value) {
|
733
|
-
return null == value;
|
734
|
-
}
|
735
|
-
let toBuffer = (bufLike)=>{
|
736
|
-
if (Buffer.isBuffer(bufLike)) return bufLike;
|
737
|
-
if ("string" == typeof bufLike) return Buffer.from(bufLike);
|
738
|
-
if (bufLike instanceof Uint8Array) return Buffer.from(bufLike.buffer);
|
739
|
-
throw Error("Buffer, Uint8Array or string expected");
|
740
|
-
}, toObject = (input)=>{
|
741
|
-
let s;
|
742
|
-
if (Buffer.isBuffer(input)) s = input.toString("utf8");
|
743
|
-
else if (input && "object" == typeof input) return input;
|
744
|
-
else if ("string" == typeof input) s = input;
|
745
|
-
else throw Error("Buffer or string or object expected");
|
746
|
-
return JSON.parse(s);
|
747
|
-
};
|
748
|
-
function serializeObject(map) {
|
749
|
-
if (!isNil(map)) return "string" == typeof map ? map ? toBuffer(map) : void 0 : toBuffer(JSON.stringify(map));
|
750
|
-
}
|
751
|
-
function concatErrorMsgAndStack(err) {
|
752
|
-
return "string" == typeof err ? Error(err) : (!("hideStack" in err && err.hideStack) && "stack" in err ? err.message = err.stack || err.toString() : err.message = err.toString(), err.stack = err.stack || void 0, "loc" in err && (err.loc = JSON.stringify(err.loc)), err);
|
753
|
-
}
|
754
|
-
function stringifyLoaderObject(o) {
|
755
|
-
return o.path + o.query + o.fragment;
|
756
|
-
}
|
757
|
-
let unsupported = (name, issue)=>{
|
758
|
-
let s = `${name} is not supported by rspack.`;
|
759
|
-
throw issue && (s += ` Please refer to issue ${issue} for more information.`), Error(s);
|
760
|
-
};
|
761
|
-
class JsRspackDiagnostic {
|
762
|
-
static __to_binding(error, severity) {
|
763
|
-
return {
|
764
|
-
error: concatErrorMsgAndStack(error),
|
765
|
-
severity
|
766
|
-
};
|
767
|
-
}
|
768
|
-
}
|
769
|
-
class NonErrorEmittedError extends Error {
|
770
|
-
constructor(error){
|
771
|
-
super(), this.name = "NonErrorEmittedError", this.message = `(Emitted value instead of an instance of Error) ${error}`;
|
772
|
-
}
|
773
|
-
}
|
774
|
-
class DeadlockRiskError extends Error {
|
775
|
-
constructor(message){
|
776
|
-
super(message), this.name = "DeadlockRiskError", this.stack = "";
|
777
|
-
}
|
778
|
-
}
|
779
737
|
class RuntimeModule {
|
780
738
|
static STAGE_NORMAL = 0;
|
781
739
|
static STAGE_BASIC = 5;
|
@@ -823,6 +781,16 @@ for(var __webpack_i__ in (()=>{
|
|
823
781
|
throw Error(`Should implement "generate" method of runtime module "${this.name}"`);
|
824
782
|
}
|
825
783
|
}
|
784
|
+
class NonErrorEmittedError extends Error {
|
785
|
+
constructor(error){
|
786
|
+
super(), this.name = "NonErrorEmittedError", this.message = `(Emitted value instead of an instance of Error) ${error}`;
|
787
|
+
}
|
788
|
+
}
|
789
|
+
class DeadlockRiskError extends Error {
|
790
|
+
constructor(message){
|
791
|
+
super(message), this.name = "DeadlockRiskError", this.stack = "";
|
792
|
+
}
|
793
|
+
}
|
826
794
|
class Stats {
|
827
795
|
#inner;
|
828
796
|
#compilation;
|
@@ -1508,6 +1476,9 @@ for(var __webpack_i__ in (()=>{
|
|
1508
1476
|
};
|
1509
1477
|
}
|
1510
1478
|
}
|
1479
|
+
function isNil(value) {
|
1480
|
+
return null == value;
|
1481
|
+
}
|
1511
1482
|
Object.defineProperty(binding_.Chunks.prototype, "values", {
|
1512
1483
|
enumerable: !0,
|
1513
1484
|
configurable: !0,
|
@@ -1549,7 +1520,82 @@ for(var __webpack_i__ in (()=>{
|
|
1549
1520
|
return originalSource ? JsSource.__from_binding(originalSource) : null;
|
1550
1521
|
}
|
1551
1522
|
});
|
1552
|
-
let
|
1523
|
+
let toBuffer = (bufLike)=>{
|
1524
|
+
if (Buffer.isBuffer(bufLike)) return bufLike;
|
1525
|
+
if ("string" == typeof bufLike) return Buffer.from(bufLike);
|
1526
|
+
if (bufLike instanceof Uint8Array) return Buffer.from(bufLike.buffer);
|
1527
|
+
throw Error("Buffer, Uint8Array or string expected");
|
1528
|
+
}, toObject = (input)=>{
|
1529
|
+
let s;
|
1530
|
+
if (Buffer.isBuffer(input)) s = input.toString("utf8");
|
1531
|
+
else if (input && "object" == typeof input) return input;
|
1532
|
+
else if ("string" == typeof input) s = input;
|
1533
|
+
else throw Error("Buffer or string or object expected");
|
1534
|
+
return JSON.parse(s);
|
1535
|
+
};
|
1536
|
+
function serializeObject(map) {
|
1537
|
+
if (!isNil(map)) return "string" == typeof map ? map ? toBuffer(map) : void 0 : toBuffer(JSON.stringify(map));
|
1538
|
+
}
|
1539
|
+
function util_concatErrorMsgAndStack(err) {
|
1540
|
+
return "string" == typeof err ? Error(err) : (!("hideStack" in err && err.hideStack) && "stack" in err ? err.message = err.stack || err.toString() : err.message = err.toString(), err.stack = err.stack || void 0, "loc" in err && (err.loc = JSON.stringify(err.loc)), err);
|
1541
|
+
}
|
1542
|
+
function stringifyLoaderObject(o) {
|
1543
|
+
return o.path + o.query + o.fragment;
|
1544
|
+
}
|
1545
|
+
let unsupported = (name, issue)=>{
|
1546
|
+
let s = `${name} is not supported by rspack.`;
|
1547
|
+
throw issue && (s += ` Please refer to issue ${issue} for more information.`), Error(s);
|
1548
|
+
}, $proxy = Symbol.for("proxy");
|
1549
|
+
function createDiagnosticArray(adm) {
|
1550
|
+
if ($proxy in adm) return adm[$proxy];
|
1551
|
+
let array = [];
|
1552
|
+
array[external_node_util_default().inspect.custom] = ()=>adm.values();
|
1553
|
+
let splice = function(index, deleteCount, ...newItems) {
|
1554
|
+
switch(arguments.length){
|
1555
|
+
case 0:
|
1556
|
+
return [];
|
1557
|
+
case 1:
|
1558
|
+
return adm.spliceWithArray(index, adm.length);
|
1559
|
+
case 2:
|
1560
|
+
return adm.spliceWithArray(index, deleteCount);
|
1561
|
+
}
|
1562
|
+
return adm.spliceWithArray(index, deleteCount, newItems.map((item)=>util_concatErrorMsgAndStack(item)));
|
1563
|
+
}, arrayExtensions = {
|
1564
|
+
[Symbol.iterator]: ()=>adm.values().values(),
|
1565
|
+
splice,
|
1566
|
+
push: (...newItems)=>(adm.spliceWithArray(adm.length, 0, newItems.map((item)=>util_concatErrorMsgAndStack(item))), adm.length),
|
1567
|
+
pop: ()=>splice(Math.max(adm.length - 1, 0), 1)[0],
|
1568
|
+
shift: ()=>splice(0, 1)[0],
|
1569
|
+
unshift: (...newItems)=>(adm.spliceWithArray(0, 0, newItems.map((item)=>util_concatErrorMsgAndStack(item))), adm.length),
|
1570
|
+
reverse: ()=>adm.values().reverse(),
|
1571
|
+
sort (compareFn) {
|
1572
|
+
let copy = adm.values();
|
1573
|
+
return copy.sort(compareFn), adm.spliceWithArray(0, adm.length, copy), this;
|
1574
|
+
},
|
1575
|
+
at: (index)=>adm.get(index),
|
1576
|
+
concat: (...items)=>([].includes, adm.values().concat(...items)),
|
1577
|
+
flat: ()=>adm.values(),
|
1578
|
+
every: (predicate, thisArg)=>adm.values().every(predicate, thisArg),
|
1579
|
+
filter: (predicate, thisArg)=>adm.values().filter(predicate, thisArg),
|
1580
|
+
find: (predicate, thisArg)=>adm.values().find(predicate, thisArg),
|
1581
|
+
findIndex: (predicate, thisArg)=>adm.values().findIndex(predicate, thisArg),
|
1582
|
+
flatMap: (callbackfn, thisArg)=>adm.values().flatMap(callbackfn, thisArg),
|
1583
|
+
forEach (callbackfn, thisArg) {
|
1584
|
+
adm.values().forEach(callbackfn, thisArg);
|
1585
|
+
},
|
1586
|
+
map: (callbackfn, thisArg)=>adm.values().map(callbackfn, thisArg),
|
1587
|
+
reduce: (callbackfn, initialValue)=>adm.values().reduce(callbackfn, initialValue),
|
1588
|
+
reduceRight: (callbackfn, initialValue)=>adm.values().reduceRight(callbackfn, initialValue)
|
1589
|
+
}, proxy = new Proxy(array, {
|
1590
|
+
get: (target, name)=>"length" === name ? adm.length : "string" != typeof name || Number.isNaN(Number.parseInt(name)) ? Object.prototype.hasOwnProperty.call(arrayExtensions, name) ? arrayExtensions[name] : target[name] : adm.get(Number.parseInt(name)),
|
1591
|
+
set (target, name, value) {
|
1592
|
+
if ("length" === name) throw Error("The 'length' property is read-only and cannot be assigned a new value.");
|
1593
|
+
return "symbol" == typeof name || Number.isNaN(Number.parseInt(name)) ? target[name] = value : adm.set(Number.parseInt(name), util_concatErrorMsgAndStack(value)), !0;
|
1594
|
+
}
|
1595
|
+
});
|
1596
|
+
return adm[$proxy] = proxy, proxy;
|
1597
|
+
}
|
1598
|
+
let checkCompilation = (compilation)=>{
|
1553
1599
|
if (!(compilation instanceof Compilation)) throw TypeError('The \'compilation\' argument must be an instance of Compilation. This usually occurs when multiple versions of "@rspack/core" are used, or when the code in "@rspack/core" is executed multiple times.');
|
1554
1600
|
};
|
1555
1601
|
Compilation_computedKey = binding_.COMPILATION_HOOKS_MAP_SYMBOL;
|
@@ -1557,6 +1603,7 @@ for(var __webpack_i__ in (()=>{
|
|
1557
1603
|
#inner;
|
1558
1604
|
#shutdown;
|
1559
1605
|
#errors;
|
1606
|
+
#warnings;
|
1560
1607
|
#chunks;
|
1561
1608
|
hooks;
|
1562
1609
|
name;
|
@@ -1843,104 +1890,16 @@ BREAKING CHANGE: Asset processing hooks in Compilation has been merged into a si
|
|
1843
1890
|
this.#inner.pushNativeDiagnostics(diagnostics);
|
1844
1891
|
}
|
1845
1892
|
get errors() {
|
1846
|
-
return this.#errors || (this.#errors =
|
1847
|
-
if ($proxy in adm) return adm[$proxy];
|
1848
|
-
let array = [];
|
1849
|
-
array[external_node_util_default().inspect.custom] = ()=>adm.values();
|
1850
|
-
let splice = function(index, deleteCount, ...newItems) {
|
1851
|
-
switch(arguments.length){
|
1852
|
-
case 0:
|
1853
|
-
return [];
|
1854
|
-
case 1:
|
1855
|
-
return adm.spliceWithArray(index, adm.length);
|
1856
|
-
case 2:
|
1857
|
-
return adm.spliceWithArray(index, deleteCount);
|
1858
|
-
}
|
1859
|
-
return adm.spliceWithArray(index, deleteCount, newItems.map((item)=>concatErrorMsgAndStack(item)));
|
1860
|
-
}, arrayExtensions = {
|
1861
|
-
[Symbol.iterator]: ()=>adm.values().values(),
|
1862
|
-
splice,
|
1863
|
-
push: (...newItems)=>(adm.spliceWithArray(adm.length, 0, newItems.map((item)=>concatErrorMsgAndStack(item))), adm.length),
|
1864
|
-
pop: ()=>splice(Math.max(adm.length - 1, 0), 1)[0],
|
1865
|
-
shift: ()=>splice(0, 1)[0],
|
1866
|
-
unshift: (...newItems)=>(adm.spliceWithArray(0, 0, newItems.map((item)=>concatErrorMsgAndStack(item))), adm.length),
|
1867
|
-
reverse: ()=>adm.values().reverse(),
|
1868
|
-
sort (compareFn) {
|
1869
|
-
let copy = adm.values();
|
1870
|
-
return copy.sort(compareFn), adm.spliceWithArray(0, adm.length, copy), this;
|
1871
|
-
},
|
1872
|
-
at: (index)=>adm.get(index),
|
1873
|
-
concat: (...items)=>([].includes, adm.values().concat(...items)),
|
1874
|
-
flat: ()=>adm.values(),
|
1875
|
-
every: (predicate, thisArg)=>adm.values().every(predicate, thisArg),
|
1876
|
-
filter: (predicate, thisArg)=>adm.values().filter(predicate, thisArg),
|
1877
|
-
find: (predicate, thisArg)=>adm.values().find(predicate, thisArg),
|
1878
|
-
findIndex: (predicate, thisArg)=>adm.values().findIndex(predicate, thisArg),
|
1879
|
-
flatMap: (callbackfn, thisArg)=>adm.values().flatMap(callbackfn, thisArg),
|
1880
|
-
forEach (callbackfn, thisArg) {
|
1881
|
-
adm.values().forEach(callbackfn, thisArg);
|
1882
|
-
},
|
1883
|
-
map: (callbackfn, thisArg)=>adm.values().map(callbackfn, thisArg),
|
1884
|
-
reduce: (callbackfn, initialValue)=>adm.values().reduce(callbackfn, initialValue),
|
1885
|
-
reduceRight: (callbackfn, initialValue)=>adm.values().reduceRight(callbackfn, initialValue)
|
1886
|
-
}, proxy = new Proxy(array, {
|
1887
|
-
get: (target, name)=>"length" === name ? adm.length : "string" != typeof name || Number.isNaN(Number.parseInt(name)) ? Object.prototype.hasOwnProperty.call(arrayExtensions, name) ? arrayExtensions[name] : target[name] : adm.get(Number.parseInt(name)),
|
1888
|
-
set (target, name, value) {
|
1889
|
-
if ("length" === name) throw Error("The 'length' property is read-only and cannot be assigned a new value.");
|
1890
|
-
return "symbol" == typeof name || Number.isNaN(Number.parseInt(name)) ? target[name] = value : adm.set(Number.parseInt(name), concatErrorMsgAndStack(value)), !0;
|
1891
|
-
}
|
1892
|
-
});
|
1893
|
-
return adm[$proxy] = proxy, proxy;
|
1894
|
-
}(this.#inner.errors)), this.#errors;
|
1893
|
+
return this.#errors || (this.#errors = createDiagnosticArray(this.#inner.errors)), this.#errors;
|
1895
1894
|
}
|
1896
1895
|
set errors(errors) {
|
1897
|
-
|
1898
|
-
inner.spliceDiagnostic(0, length, errors.map((error)=>JsRspackDiagnostic.__to_binding(error, binding_.JsRspackSeverity.Error)));
|
1896
|
+
this.#errors || (this.#errors = createDiagnosticArray(this.#inner.errors)), this.#errors.splice(0, this.#errors.length, ...errors);
|
1899
1897
|
}
|
1900
1898
|
get warnings() {
|
1901
|
-
|
1902
|
-
for (let item of [
|
1903
|
-
{
|
1904
|
-
method: "push",
|
1905
|
-
handler (target, thisArg, warns) {
|
1906
|
-
for (let warn of warns)inner.pushDiagnostic(JsRspackDiagnostic.__to_binding(warn, binding_.JsRspackSeverity.Warn));
|
1907
|
-
return Reflect.apply(target, thisArg, warns);
|
1908
|
-
}
|
1909
|
-
},
|
1910
|
-
{
|
1911
|
-
method: "pop",
|
1912
|
-
handler: (target, thisArg)=>(inner.spliceDiagnostic(warnings.length - 1, warnings.length, []), Reflect.apply(target, thisArg, []))
|
1913
|
-
},
|
1914
|
-
{
|
1915
|
-
method: "shift",
|
1916
|
-
handler: (target, thisArg)=>(inner.spliceDiagnostic(0, 1, []), Reflect.apply(target, thisArg, []))
|
1917
|
-
},
|
1918
|
-
{
|
1919
|
-
method: "unshift",
|
1920
|
-
handler: (target, thisArg, warns)=>(inner.spliceDiagnostic(0, 0, warns.map((warn)=>JsRspackDiagnostic.__to_binding(warn, binding_.JsRspackSeverity.Warn))), Reflect.apply(target, thisArg, warns))
|
1921
|
-
},
|
1922
|
-
{
|
1923
|
-
method: "splice",
|
1924
|
-
handler (target, thisArg, [startIdx, delCount, ...warns]) {
|
1925
|
-
let warnList = warns.map((warn)=>JsRspackDiagnostic.__to_binding(warn, binding_.JsRspackSeverity.Warn));
|
1926
|
-
return inner.spliceDiagnostic(startIdx, startIdx + delCount, warnList), Reflect.apply(target, thisArg, [
|
1927
|
-
startIdx,
|
1928
|
-
delCount,
|
1929
|
-
...warnList
|
1930
|
-
]);
|
1931
|
-
}
|
1932
|
-
}
|
1933
|
-
]){
|
1934
|
-
let proxiedMethod = new Proxy(warnings[item.method], {
|
1935
|
-
apply: item.handler
|
1936
|
-
});
|
1937
|
-
warnings[item.method] = proxiedMethod;
|
1938
|
-
}
|
1939
|
-
return warnings;
|
1899
|
+
return this.#warnings || (this.#warnings = createDiagnosticArray(this.#inner.warnings)), this.#warnings;
|
1940
1900
|
}
|
1941
1901
|
set warnings(warnings) {
|
1942
|
-
|
1943
|
-
inner.spliceDiagnostic(0, length, warnings.map((warning)=>JsRspackDiagnostic.__to_binding(warning, binding_.JsRspackSeverity.Warn)));
|
1902
|
+
this.#warnings || (this.#warnings = createDiagnosticArray(this.#inner.warnings)), this.#warnings.splice(0, this.#warnings.length, ...warnings);
|
1944
1903
|
}
|
1945
1904
|
getPath(filename, data = {}) {
|
1946
1905
|
let pathData = {
|
@@ -2175,15 +2134,13 @@ BREAKING CHANGE: Asset processing hooks in Compilation has been merged into a si
|
|
2175
2134
|
return this.#data.keys()[Symbol.iterator]();
|
2176
2135
|
}
|
2177
2136
|
}
|
2178
|
-
let external_node_vm_namespaceObject = require("node:vm");
|
2179
|
-
var external_node_vm_default = __webpack_require__.n(external_node_vm_namespaceObject);
|
2180
2137
|
class ExecuteModulePlugin {
|
2181
2138
|
apply(compiler) {
|
2182
2139
|
compiler.hooks.thisCompilation.tap("executeModule", (compilation)=>{
|
2183
2140
|
compiler.__internal__get_module_execution_results_map().clear(), compilation.hooks.executeModule.tap("executeModule", (options, context)=>{
|
2184
|
-
let moduleObject = options.moduleObject, source = options.codeGenerationResult.get("javascript");
|
2141
|
+
let vm = __webpack_require__("node:vm"), moduleObject = options.moduleObject, source = options.codeGenerationResult.get("javascript");
|
2185
2142
|
if (void 0 !== source) try {
|
2186
|
-
|
2143
|
+
vm.runInThisContext(`(function(module, __webpack_module__, __webpack_exports__, exports, ${RuntimeGlobals.require}) {\n${source}\n})`, {
|
2187
2144
|
filename: moduleObject.id
|
2188
2145
|
}).call(moduleObject.exports, moduleObject, moduleObject, moduleObject.exports, moduleObject.exports, context.__webpack_require__);
|
2189
2146
|
} catch (e) {
|
@@ -3121,7 +3078,8 @@ BREAKING CHANGE: Asset processing hooks in Compilation has been merged into a si
|
|
3121
3078
|
"chrome" === this.layer && (this.session.connect(), this.session.post("Profiler.enable"), this.session.post("Profiler.start"));
|
3122
3079
|
}
|
3123
3080
|
static async cleanupJavaScriptTrace() {
|
3124
|
-
this.layer.includes("chrome")
|
3081
|
+
if (!this.layer.includes("chrome")) return;
|
3082
|
+
let profileHandler = (err, param)=>{
|
3125
3083
|
let cpu_profile;
|
3126
3084
|
err ? console.error("Error stopping profiler:", err) : cpu_profile = param.profile, cpu_profile && (this.pushEvent({
|
3127
3085
|
name: "Profile",
|
@@ -3149,9 +3107,18 @@ BREAKING CHANGE: Asset processing hooks in Compilation has been merged into a si
|
|
3149
3107
|
}
|
3150
3108
|
}
|
3151
3109
|
}));
|
3152
|
-
let
|
3153
|
-
external_node_fs_default().writeFileSync(
|
3154
|
-
|
3110
|
+
let is_empty = 0 === external_node_fs_default().statSync(this.output).size, fd = external_node_fs_default().openSync(this.output, "a"), first = is_empty;
|
3111
|
+
for (let event of this.events)first || external_node_fs_default().writeFileSync(fd, ",\n"), external_node_fs_default().writeFileSync(fd, JSON.stringify(event)), first = !1;
|
3112
|
+
external_node_fs_default().writeFileSync(fd, "\n]"), external_node_fs_default().closeSync(fd);
|
3113
|
+
};
|
3114
|
+
return new Promise((resolve, reject)=>{
|
3115
|
+
this.session.post("Profiler.stop", (err, params)=>{
|
3116
|
+
if (err) reject(err);
|
3117
|
+
else try {
|
3118
|
+
profileHandler(err, params), resolve();
|
3119
|
+
} catch (err) {
|
3120
|
+
reject(err);
|
3121
|
+
}
|
3155
3122
|
});
|
3156
3123
|
});
|
3157
3124
|
}
|
@@ -3419,7 +3386,7 @@ BREAKING CHANGE: Asset processing hooks in Compilation has been merged into a si
|
|
3419
3386
|
return loaderContext.loaders?.length && index < loaderContext.loaders.length && index >= 0 && loaderContext.loaders[index] ? loaderContext.loaders[index] : null;
|
3420
3387
|
}
|
3421
3388
|
async function runLoaders(compiler, context) {
|
3422
|
-
let loaderState = context.loaderState, pitch = loaderState === binding_.JsLoaderState.Pitching, { resource } = context
|
3389
|
+
let loaderState = context.loaderState, pitch = loaderState === binding_.JsLoaderState.Pitching, { resource } = context;
|
3423
3390
|
JavaScriptTracer.startAsync({
|
3424
3391
|
name: `run_js_loaders${pitch ? ":pitch" : ":normal"}`,
|
3425
3392
|
args: {
|
@@ -3473,7 +3440,7 @@ BREAKING CHANGE: Asset processing hooks in Compilation has been merged into a si
|
|
3473
3440
|
args: {
|
3474
3441
|
id2: resource
|
3475
3442
|
}
|
3476
|
-
}), res.error ? onError(compiler.
|
3443
|
+
}), res.error ? onError(compiler.__internal__takeModuleExecutionResult(res.id) ?? Error(res.error)) : onDone(compiler.__internal__takeModuleExecutionResult(res.id));
|
3477
3444
|
}
|
3478
3445
|
};
|
3479
3446
|
}
|
@@ -3541,13 +3508,13 @@ BREAKING CHANGE: Asset processing hooks in Compilation has been merged into a si
|
|
3541
3508
|
].filter(Boolean).join("|"));
|
3542
3509
|
}, loaderContext.rootContext = compiler.context, loaderContext.emitError = function(err) {
|
3543
3510
|
let error = err;
|
3544
|
-
error instanceof Error || (error = new NonErrorEmittedError(error)), error.name = "ModuleError", error.message = `${error.message} (from: ${stringifyLoaderObject(loaderContext.loaders[loaderContext.loaderIndex])})`, (error =
|
3511
|
+
error instanceof Error || (error = new NonErrorEmittedError(error)), error.name = "ModuleError", error.message = `${error.message} (from: ${stringifyLoaderObject(loaderContext.loaders[loaderContext.loaderIndex])})`, (error = util_concatErrorMsgAndStack(error)).moduleIdentifier = loaderContext._module.identifier(), compiler._lastCompilation.__internal__pushRspackDiagnostic({
|
3545
3512
|
error,
|
3546
3513
|
severity: binding_.JsRspackSeverity.Error
|
3547
3514
|
});
|
3548
3515
|
}, loaderContext.emitWarning = function(warn) {
|
3549
3516
|
let warning = warn;
|
3550
|
-
warning instanceof Error || (warning = new NonErrorEmittedError(warning)), warning.name = "ModuleWarning", warning.message = `${warning.message} (from: ${stringifyLoaderObject(loaderContext.loaders[loaderContext.loaderIndex])})`, (warning =
|
3517
|
+
warning instanceof Error || (warning = new NonErrorEmittedError(warning)), warning.name = "ModuleWarning", warning.message = `${warning.message} (from: ${stringifyLoaderObject(loaderContext.loaders[loaderContext.loaderIndex])})`, (warning = util_concatErrorMsgAndStack(warning)).moduleIdentifier = loaderContext._module.identifier(), compiler._lastCompilation.__internal__pushRspackDiagnostic({
|
3551
3518
|
error: warning,
|
3552
3519
|
severity: binding_.JsRspackSeverity.Warn
|
3553
3520
|
});
|
@@ -3654,7 +3621,7 @@ BREAKING CHANGE: Asset processing hooks in Compilation has been merged into a si
|
|
3654
3621
|
}
|
3655
3622
|
};
|
3656
3623
|
return Object.assign(workerLoaderContext, compiler.options.loader), workerLoaderContext;
|
3657
|
-
}, enableParallelism = (currentLoaderObject)=>compiler.options.experiments.parallelLoader && currentLoaderObject?.parallel, isomorphoicRun = async (fn, args
|
3624
|
+
}, enableParallelism = (currentLoaderObject)=>compiler.options.experiments.parallelLoader && currentLoaderObject?.parallel, isomorphoicRun = async (fn, args)=>{
|
3658
3625
|
let result, currentLoaderObject = getCurrentLoader(loaderContext), parallelism = enableParallelism(currentLoaderObject), pitch = loaderState === binding_.JsLoaderState.Pitching, loaderName = function(loaderPath, cwd = "") {
|
3659
3626
|
let res = loaderPath.replace(cwd, "");
|
3660
3627
|
if (!external_node_path_default().isAbsolute(res)) return res;
|
@@ -3816,7 +3783,7 @@ BREAKING CHANGE: Asset processing hooks in Compilation has been merged into a si
|
|
3816
3783
|
loaderContext.remainingRequest,
|
3817
3784
|
loaderContext.previousRequest,
|
3818
3785
|
currentLoaderObject.loaderItem.data
|
3819
|
-
]
|
3786
|
+
]);
|
3820
3787
|
if (args.some((value)=>void 0 !== value)) {
|
3821
3788
|
let [content, sourceMap, additionalData] = args;
|
3822
3789
|
context.content = isNil(content) ? null : toBuffer(content), context.sourceMap = serializeObject(sourceMap), context.additionalData = additionalData || void 0;
|
@@ -3840,7 +3807,7 @@ BREAKING CHANGE: Asset processing hooks in Compilation has been merged into a si
|
|
3840
3807
|
content,
|
3841
3808
|
sourceMap,
|
3842
3809
|
additionalData
|
3843
|
-
]
|
3810
|
+
]));
|
3844
3811
|
}
|
3845
3812
|
context.content = isNil(content) ? null : toBuffer(content), context.sourceMap = JsSourceMap.__to_binding(sourceMap), context.additionalData = additionalData || void 0, context.__internal__utf8Hint = "string" == typeof content;
|
3846
3813
|
break;
|
@@ -3886,7 +3853,7 @@ BREAKING CHANGE: Asset processing hooks in Compilation has been merged into a si
|
|
3886
3853
|
...uses
|
3887
3854
|
].map(normalizeRuleSetUseItem) : [
|
3888
3855
|
normalizeRuleSetUseItem(uses)
|
3889
|
-
], path1 = path, options1 = options, uses1.length ? uses1.map((use, index)=>{
|
3856
|
+
], path1 = path, options1 = options, uses1.length ? uses1.filter(Boolean).map((use, index)=>{
|
3890
3857
|
let o, isBuiltin = !1;
|
3891
3858
|
if (use.loader.startsWith(BUILTIN_LOADER_PREFIX)) {
|
3892
3859
|
var identifier, o1, options;
|
@@ -4894,7 +4861,7 @@ Plugins which provide custom chunk loading types must call EnableChunkLoadingPlu
|
|
4894
4861
|
message: "HtmlRspackPlugin does not support template path with loader yet"
|
4895
4862
|
})).optional(),
|
4896
4863
|
templateContent: zod_index_js_namespaceObject.z.string().or(templateRenderFunction).optional(),
|
4897
|
-
templateParameters: zod_index_js_namespaceObject.z.record(zod_index_js_namespaceObject.z.string()).or(zod_index_js_namespaceObject.z.boolean()).or(templateParamFunction).optional(),
|
4864
|
+
templateParameters: zod_index_js_namespaceObject.z.record(zod_index_js_namespaceObject.z.string(), zod_index_js_namespaceObject.z.string()).or(zod_index_js_namespaceObject.z.boolean()).or(templateParamFunction).optional(),
|
4898
4865
|
inject: zod_index_js_namespaceObject.z.enum([
|
4899
4866
|
"head",
|
4900
4867
|
"body"
|
@@ -4929,7 +4896,7 @@ Plugins which provide custom chunk loading types must call EnableChunkLoadingPlu
|
|
4929
4896
|
minify: zod_index_js_namespaceObject.z.boolean().optional(),
|
4930
4897
|
title: zod_index_js_namespaceObject.z.string().optional(),
|
4931
4898
|
favicon: zod_index_js_namespaceObject.z.string().optional(),
|
4932
|
-
meta: zod_index_js_namespaceObject.z.record(zod_index_js_namespaceObject.z.string().or(zod_index_js_namespaceObject.z.record(zod_index_js_namespaceObject.z.string()))).optional(),
|
4899
|
+
meta: zod_index_js_namespaceObject.z.record(zod_index_js_namespaceObject.z.string(), zod_index_js_namespaceObject.z.string().or(zod_index_js_namespaceObject.z.record(zod_index_js_namespaceObject.z.string(), zod_index_js_namespaceObject.z.string()))).optional(),
|
4933
4900
|
hash: zod_index_js_namespaceObject.z.boolean().optional()
|
4934
4901
|
}), getPluginOptions = (compilation, uid)=>{
|
4935
4902
|
if (!(compilation instanceof Compilation)) throw TypeError("The 'compilation' argument must be an instance of Compilation");
|
@@ -5089,13 +5056,13 @@ Plugins which provide custom chunk loading types must call EnableChunkLoadingPlu
|
|
5089
5056
|
let HttpExternalsRspackPlugin = base_create(binding_.BuiltinPluginName.HttpExternalsRspackPlugin, (css, webAsync)=>({
|
5090
5057
|
css,
|
5091
5058
|
webAsync
|
5092
|
-
})),
|
5059
|
+
})), getHttp = memoize(()=>__webpack_require__("node:http")), getHttps = memoize(()=>__webpack_require__("node:https")), defaultHttpClient = async (url, headers)=>{
|
5093
5060
|
let { res, body } = await function(url, options) {
|
5094
|
-
let send = "https:" === new URL(url).protocol ? getHttps() : getHttp();
|
5061
|
+
let send = "https:" === new URL(url).protocol ? getHttps() : getHttp(), { createBrotliDecompress, createGunzip, createInflate } = __webpack_require__("node:zlib");
|
5095
5062
|
return new Promise((resolve, reject)=>{
|
5096
5063
|
send.get(url, options, (res)=>{
|
5097
5064
|
let contentEncoding = res.headers["content-encoding"], stream = res;
|
5098
|
-
"gzip" === contentEncoding ? stream = stream.pipe(
|
5065
|
+
"gzip" === contentEncoding ? stream = stream.pipe(createGunzip()) : "br" === contentEncoding ? stream = stream.pipe(createBrotliDecompress()) : "deflate" === contentEncoding && (stream = stream.pipe(createInflate()));
|
5099
5066
|
let chunks = [];
|
5100
5067
|
stream.on("data", (chunk)=>{
|
5101
5068
|
chunks.push(chunk);
|
@@ -5237,7 +5204,7 @@ Plugins which provide custom chunk loading types must call EnableChunkLoadingPlu
|
|
5237
5204
|
handler: (percentage, msg, items)=>{
|
5238
5205
|
progress(percentage, msg, ...items);
|
5239
5206
|
}
|
5240
|
-
} : progress), ProvidePlugin = base_create(binding_.BuiltinPluginName.ProvidePlugin, (provide)=>Object.fromEntries(Object.entries(provide).map(([key, value])=>("string" == typeof value && (value = [
|
5207
|
+
} : progress), RstestPlugin = base_create(binding_.BuiltinPluginName.RstestPlugin, (rstest)=>rstest), ProvidePlugin = base_create(binding_.BuiltinPluginName.ProvidePlugin, (provide)=>Object.fromEntries(Object.entries(provide).map(([key, value])=>("string" == typeof value && (value = [
|
5241
5208
|
value
|
5242
5209
|
]), [
|
5243
5210
|
key,
|
@@ -5881,30 +5848,6 @@ Plugins which provide custom chunk loading types must call EnableChunkLoadingPlu
|
|
5881
5848
|
default:
|
5882
5849
|
throw Error("Not implemented");
|
5883
5850
|
}
|
5884
|
-
}, inputRx = /^(?:((?:[A-Z]:)?[/\\].*?))?(?::(.+?))?$/i, parse = (input, context)=>{
|
5885
|
-
if (!input) return {};
|
5886
|
-
if (external_node_path_default().isAbsolute(input)) {
|
5887
|
-
let [, configPath, env] = inputRx.exec(input) || [];
|
5888
|
-
return {
|
5889
|
-
configPath,
|
5890
|
-
env
|
5891
|
-
};
|
5892
|
-
}
|
5893
|
-
let config = __webpack_require__("browserslist").findConfig(context);
|
5894
|
-
return config && Object.keys(config).includes(input) ? {
|
5895
|
-
env: input
|
5896
|
-
} : {
|
5897
|
-
query: input
|
5898
|
-
};
|
5899
|
-
}, load = (input, context)=>{
|
5900
|
-
let browserslist = __webpack_require__("browserslist"), { configPath, env, query } = parse(input, context), config = query || (configPath ? browserslist.loadConfig({
|
5901
|
-
config: configPath,
|
5902
|
-
env
|
5903
|
-
}) : browserslist.loadConfig({
|
5904
|
-
path: context,
|
5905
|
-
env
|
5906
|
-
}));
|
5907
|
-
if (config) return browserslist(config);
|
5908
5851
|
}, browserslistTargetHandler_resolve = (browsers)=>{
|
5909
5852
|
let rawChecker = (versions)=>browsers.every((v)=>{
|
5910
5853
|
let [name, parsedVersion] = v.split(" ");
|
@@ -6302,7 +6245,10 @@ Plugins which provide custom chunk loading types must call EnableChunkLoadingPlu
|
|
6302
6245
|
}),
|
6303
6246
|
require: nodeProperty
|
6304
6247
|
};
|
6305
|
-
}, getBrowserslistTargetHandler = memoize(()=>browserslistTargetHandler_namespaceObject),
|
6248
|
+
}, getBrowserslistTargetHandler = memoize(()=>browserslistTargetHandler_namespaceObject), hasBrowserslistConfig = (context)=>{
|
6249
|
+
let { findConfig } = __webpack_require__("browserslist-load-config");
|
6250
|
+
return !!findConfig(context);
|
6251
|
+
}, getDefaultTarget = (context)=>hasBrowserslistConfig(context) ? "browserslist" : "web", versionDependent = (major, minor)=>{
|
6306
6252
|
if (!major) return ()=>void 0;
|
6307
6253
|
let nMajor = +major, nMinor = minor ? +minor : 0;
|
6308
6254
|
return (vMajor, vMinor = 0)=>nMajor > vMajor || nMajor === vMajor && nMinor >= vMinor;
|
@@ -6312,12 +6258,12 @@ Plugins which provide custom chunk loading types must call EnableChunkLoadingPlu
|
|
6312
6258
|
"Resolve features from browserslist. Will resolve browserslist config automatically. Only browser or node queries are supported (electron is not supported). Examples: 'browserslist:modern' to use 'modern' environment from browserslist config",
|
6313
6259
|
/^browserslist(?::(.+))?$/,
|
6314
6260
|
(rest, context)=>{
|
6315
|
-
let
|
6316
|
-
if (!browsers) throw Error(`No browserslist config found to handle the 'browserslist' target.
|
6261
|
+
let inlineQuery = rest ? rest.trim() : null, browsers = binding_default().loadBrowserslist(inlineQuery, context);
|
6262
|
+
if (!browsers || !inlineQuery && !hasBrowserslistConfig(context)) throw Error(`No browserslist config found to handle the 'browserslist' target.
|
6317
6263
|
See https://github.com/browserslist/browserslist#queries for possible ways to provide a config.
|
6318
6264
|
The recommended way is to add a 'browserslist' key to your package.json and list supported browsers (resp. node.js versions).
|
6319
6265
|
You can also more options via the 'target' option: 'browserslist' / 'browserslist:env' / 'browserslist:query' / 'browserslist:path-to-config' / 'browserslist:path-to-config:env'`);
|
6320
|
-
return
|
6266
|
+
return getBrowserslistTargetHandler().resolve(browsers);
|
6321
6267
|
}
|
6322
6268
|
],
|
6323
6269
|
[
|
@@ -6574,7 +6520,7 @@ You can also more options via the 'target' option: 'browserslist' / 'browserslis
|
|
6574
6520
|
}, applyExperimentsDefaults = (experiments, { production, development })=>{
|
6575
6521
|
F(experiments, "cache", ()=>development), D(experiments, "futureDefaults", !1), D(experiments, "lazyCompilation", !1), D(experiments, "asyncWebAssembly", experiments.futureDefaults), D(experiments, "css", !!experiments.futureDefaults || void 0), D(experiments, "layers", !1), D(experiments, "topLevelAwait", !0), D(experiments, "buildHttp", void 0), experiments.buildHttp && "object" == typeof experiments.buildHttp && D(experiments.buildHttp, "upgrade", !1), D(experiments, "incremental", {}), "object" == typeof experiments.incremental && (D(experiments.incremental, "silent", !0), D(experiments.incremental, "make", !0), D(experiments.incremental, "inferAsyncModules", !1), D(experiments.incremental, "providedExports", !1), D(experiments.incremental, "dependenciesDiagnostics", !1), D(experiments.incremental, "sideEffects", !1), D(experiments.incremental, "buildChunkGraph", !1), D(experiments.incremental, "moduleIds", !1), D(experiments.incremental, "chunkIds", !1), D(experiments.incremental, "modulesHashes", !1), D(experiments.incremental, "modulesCodegen", !1), D(experiments.incremental, "modulesRuntimeRequirements", !1), D(experiments.incremental, "chunksRuntimeRequirements", !1), D(experiments.incremental, "chunksHashes", !1), D(experiments.incremental, "chunksRender", !1), D(experiments.incremental, "emitAssets", !0)), D(experiments, "rspackFuture", {}), D(experiments, "parallelCodeSplitting", !0), D(experiments, "parallelLoader", !1);
|
6576
6522
|
}, applybundlerInfoDefaults = (rspackFuture, library)=>{
|
6577
|
-
"object" == typeof rspackFuture && (D(rspackFuture, "bundlerInfo", {}), "object" == typeof rspackFuture.bundlerInfo && (D(rspackFuture.bundlerInfo, "version", "1.3.
|
6523
|
+
"object" == typeof rspackFuture && (D(rspackFuture, "bundlerInfo", {}), "object" == typeof rspackFuture.bundlerInfo && (D(rspackFuture.bundlerInfo, "version", "1.3.13"), D(rspackFuture.bundlerInfo, "bundler", "rspack"), D(rspackFuture.bundlerInfo, "force", !library)));
|
6578
6524
|
}, applySnapshotDefaults = (_snapshot, _env)=>{}, applyJavascriptParserOptionsDefaults = (parserOptions)=>{
|
6579
6525
|
D(parserOptions, "dynamicImportMode", "lazy"), D(parserOptions, "dynamicImportPrefetch", !1), D(parserOptions, "dynamicImportPreload", !1), D(parserOptions, "url", !0), D(parserOptions, "exprContextCritical", !0), D(parserOptions, "wrappedContextCritical", !1), D(parserOptions, "wrappedContextRegExp", /.*/), D(parserOptions, "strictExportPresence", !1), D(parserOptions, "requireAsExpression", !0), D(parserOptions, "requireDynamic", !0), D(parserOptions, "requireResolve", !0), D(parserOptions, "importDynamic", !0), D(parserOptions, "worker", [
|
6580
6526
|
"..."
|
@@ -7280,13 +7226,7 @@ You can also more options via the 'target' option: 'browserslist' / 'browserslis
|
|
7280
7226
|
return !1 === data ? data : data.resource;
|
7281
7227
|
}
|
7282
7228
|
resolve(context, path, request, resolveContext, callback) {
|
7283
|
-
|
7284
|
-
let data = this.binding.resolveSync(path, request);
|
7285
|
-
if (!1 === data) return void callback(null, !1);
|
7286
|
-
callback(null, data.resource, data);
|
7287
|
-
} catch (err) {
|
7288
|
-
callback(err);
|
7289
|
-
}
|
7229
|
+
this.binding.resolve(path, request, (error, data)=>callback(error, data?.resource, data));
|
7290
7230
|
}
|
7291
7231
|
withOptions({ dependencyCategory, resolveToContext, ...resolve }) {
|
7292
7232
|
let rawResolve = getRawResolve(resolve);
|
@@ -7482,7 +7422,7 @@ You can also more options via the 'target' option: 'browserslist' / 'browserslis
|
|
7482
7422
|
},
|
7483
7423
|
arm: "gnueabihf"
|
7484
7424
|
}
|
7485
|
-
}, BINDING_VERSION = __webpack_require__("@rspack/binding/package.json").version, CORE_VERSION = "1.3.
|
7425
|
+
}, BINDING_VERSION = __webpack_require__("@rspack/binding/package.json").version, CORE_VERSION = "1.3.13", getAddonPlatformArchAbi = ()=>{
|
7486
7426
|
let { platform, arch } = process, binding = "";
|
7487
7427
|
binding += platform;
|
7488
7428
|
let abi = NodePlatformArchToAbi[platform][arch];
|
@@ -7491,16 +7431,8 @@ You can also more options via the 'target' option: 'browserslist' / 'browserslis
|
|
7491
7431
|
else {
|
7492
7432
|
if ("object" != typeof abi) return Error(`unsupported abi: ${abi}`);
|
7493
7433
|
binding += `-${abi[!function() {
|
7494
|
-
|
7495
|
-
|
7496
|
-
return !glibcVersionRuntime;
|
7497
|
-
}
|
7498
|
-
try {
|
7499
|
-
let lddPath = __webpack_require__("node:child_process").execSync("which ldd").toString().trim();
|
7500
|
-
return (0, external_node_fs_namespaceObject.readFileSync)(lddPath, "utf8").includes("musl");
|
7501
|
-
} catch (e) {
|
7502
|
-
return !0;
|
7503
|
-
}
|
7434
|
+
let { glibcVersionRuntime } = process.report.getReport().header;
|
7435
|
+
return !glibcVersionRuntime;
|
7504
7436
|
}() ? "gnu" : "musl"]}`;
|
7505
7437
|
}
|
7506
7438
|
return binding;
|
@@ -8748,8 +8680,9 @@ You can also more options via the 'target' option: 'browserslist' / 'browserslis
|
|
8748
8680
|
__internal__registerBuiltinPlugin(plugin) {
|
8749
8681
|
this.#builtinPlugins.push(plugin);
|
8750
8682
|
}
|
8751
|
-
|
8752
|
-
|
8683
|
+
__internal__takeModuleExecutionResult(id) {
|
8684
|
+
let result = this.#moduleExecutionResultsMap.get(id);
|
8685
|
+
return this.#moduleExecutionResultsMap.delete(id), result;
|
8753
8686
|
}
|
8754
8687
|
__internal__get_compilation() {
|
8755
8688
|
return this.#compilation;
|
@@ -8805,7 +8738,7 @@ You can also more options via the 'target' option: 'browserslist' / 'browserslis
|
|
8805
8738
|
obj.children = this.stats.map((stat, idx)=>{
|
8806
8739
|
let obj = stat.toJson(childOptions.children[idx]), compilationName = stat.compilation.name;
|
8807
8740
|
return obj.name = compilationName && makePathsRelative(childOptions.context, compilationName, stat.compilation.compiler.root), obj;
|
8808
|
-
}), childOptions.version && (obj.rspackVersion = "1.3.
|
8741
|
+
}), childOptions.version && (obj.rspackVersion = "1.3.13", obj.version = "5.75.0"), childOptions.hash && (obj.hash = obj.children.map((j)=>j.hash).join(""));
|
8809
8742
|
let mapError = (j, obj)=>({
|
8810
8743
|
...obj,
|
8811
8744
|
compilerPath: obj.compilerPath ? `${j.name}.${obj.compilerPath}` : j.name
|
@@ -9582,7 +9515,7 @@ You can also more options via the 'target' option: 'browserslist' / 'browserslis
|
|
9582
9515
|
}
|
9583
9516
|
}, EXTRACT_ERROR = {
|
9584
9517
|
_: (object, error)=>{
|
9585
|
-
object.message = error.message, error.chunkName && (object.chunkName = error.chunkName), error.chunkEntry && (object.chunkEntry = error.chunkEntry), error.chunkInitial && (object.chunkInitial = error.chunkInitial), error.file && (object.file = error.file), error.moduleDescriptor && (object.moduleIdentifier = error.moduleDescriptor.identifier, object.moduleName = error.moduleDescriptor.name), "loc" in error && (object.loc = error.loc);
|
9518
|
+
object.message = error.message, error.code && (object.code = error.code), error.chunkName && (object.chunkName = error.chunkName), error.chunkEntry && (object.chunkEntry = error.chunkEntry), error.chunkInitial && (object.chunkInitial = error.chunkInitial), error.file && (object.file = error.file), error.moduleDescriptor && (object.moduleIdentifier = error.moduleDescriptor.identifier, object.moduleName = error.moduleDescriptor.name), "loc" in error && (object.loc = error.loc);
|
9586
9519
|
},
|
9587
9520
|
ids: (object, error)=>{
|
9588
9521
|
error.chunkId && (object.chunkId = error.chunkId), error.moduleDescriptor && (object.moduleId = error.moduleDescriptor.id);
|
@@ -9695,7 +9628,7 @@ You can also more options via the 'target' option: 'browserslist' / 'browserslis
|
|
9695
9628
|
object.hash = context.getStatsCompilation(compilation).hash;
|
9696
9629
|
},
|
9697
9630
|
version: (object)=>{
|
9698
|
-
object.version = "5.75.0", object.rspackVersion = "1.3.
|
9631
|
+
object.version = "5.75.0", object.rspackVersion = "1.3.13";
|
9699
9632
|
},
|
9700
9633
|
env: (object, _compilation, _context, { _env })=>{
|
9701
9634
|
object.env = _env;
|
@@ -11194,7 +11127,7 @@ You can also more options via the 'target' option: 'browserslist' / 'browserslis
|
|
11194
11127
|
buildMeta: zod_index_js_namespaceObject.z.custom().optional(),
|
11195
11128
|
exports: zod_index_js_namespaceObject.z.array(zod_index_js_namespaceObject.z.string()).or(zod_index_js_namespaceObject.z.literal(!0)).optional(),
|
11196
11129
|
id: zod_index_js_namespaceObject.z.string().or(zod_index_js_namespaceObject.z.number()).optional()
|
11197
|
-
}), dllReferencePluginOptionsContent = zod_index_js_namespaceObject.z.record(dllReferencePluginOptionsContentItem), dllReferencePluginOptionsSourceType = zod_index_js_namespaceObject.z.enum([
|
11130
|
+
}), dllReferencePluginOptionsContent = zod_index_js_namespaceObject.z.record(zod_index_js_namespaceObject.z.string(), dllReferencePluginOptionsContentItem), dllReferencePluginOptionsSourceType = zod_index_js_namespaceObject.z.enum([
|
11198
11131
|
"var",
|
11199
11132
|
"assign",
|
11200
11133
|
"this",
|
@@ -11298,7 +11231,7 @@ You can also more options via the 'target' option: 'browserslist' / 'browserslis
|
|
11298
11231
|
for (let key of this.keys){
|
11299
11232
|
let value = void 0 !== process.env[key] ? process.env[key] : this.defaultValues[key];
|
11300
11233
|
void 0 === value && compiler.hooks.thisCompilation.tap("EnvironmentPlugin", (compilation)=>{
|
11301
|
-
let error = new WebpackError(`EnvironmentPlugin - ${key} environment variable is undefined.\n\nYou can pass an object with default values to suppress this warning.\nSee https://rspack.
|
11234
|
+
let error = new WebpackError(`EnvironmentPlugin - ${key} environment variable is undefined.\n\nYou can pass an object with default values to suppress this warning.\nSee https://rspack.rs/plugins/webpack/environment-plugin for example.`);
|
11302
11235
|
error.name = "EnvVariableNotDefinedError", compilation.errors.push(error);
|
11303
11236
|
}), definitions[`process.env.${key}`] = void 0 === value ? "undefined" : JSON.stringify(value);
|
11304
11237
|
}
|
@@ -11445,8 +11378,7 @@ You can also more options via the 'target' option: 'browserslist' / 'browserslis
|
|
11445
11378
|
throw Error(`Unexpected LogType ${type}`);
|
11446
11379
|
}
|
11447
11380
|
};
|
11448
|
-
}
|
11449
|
-
var watchpack_index_js_default = __webpack_require__.n(watchpack_index_js_namespaceObject);
|
11381
|
+
};
|
11450
11382
|
class NodeWatchFileSystem {
|
11451
11383
|
inputFileSystem;
|
11452
11384
|
watcherOptions;
|
@@ -11454,7 +11386,7 @@ You can also more options via the 'target' option: 'browserslist' / 'browserslis
|
|
11454
11386
|
constructor(inputFileSystem){
|
11455
11387
|
this.inputFileSystem = inputFileSystem, this.watcherOptions = {
|
11456
11388
|
aggregateTimeout: 0
|
11457
|
-
}
|
11389
|
+
};
|
11458
11390
|
}
|
11459
11391
|
watch(files, directories, missing, startTime, options, callback, callbackUndelayed) {
|
11460
11392
|
if (!files || "function" != typeof files[Symbol.iterator]) throw Error("Invalid arguments: 'files'");
|
@@ -11464,24 +11396,24 @@ You can also more options via the 'target' option: 'browserslist' / 'browserslis
|
|
11464
11396
|
if ("number" != typeof startTime && startTime) throw Error("Invalid arguments: 'startTime'");
|
11465
11397
|
if ("object" != typeof options) throw Error("Invalid arguments: 'options'");
|
11466
11398
|
if ("function" != typeof callbackUndelayed && callbackUndelayed) throw Error("Invalid arguments: 'callbackUndelayed'");
|
11467
|
-
let oldWatcher = this.watcher;
|
11468
|
-
this.watcher = new (
|
11399
|
+
let oldWatcher = this.watcher, Watchpack = __webpack_require__("watchpack");
|
11400
|
+
this.watcher = new Watchpack(options), callbackUndelayed && this.watcher?.once("change", callbackUndelayed);
|
11469
11401
|
let fetchTimeInfo = ()=>{
|
11470
11402
|
let fileTimeInfoEntries = new Map(), contextTimeInfoEntries = new Map();
|
11471
|
-
return this.watcher
|
11403
|
+
return this.watcher?.collectTimeInfoEntries(fileTimeInfoEntries, contextTimeInfoEntries), {
|
11472
11404
|
fileTimeInfoEntries,
|
11473
11405
|
contextTimeInfoEntries
|
11474
11406
|
};
|
11475
11407
|
};
|
11476
|
-
return this.watcher
|
11477
|
-
if (this.watcher
|
11408
|
+
return this.watcher?.once("aggregated", (changes, removals)=>{
|
11409
|
+
if (this.watcher?.pause(), this.inputFileSystem?.purge) {
|
11478
11410
|
let fs = this.inputFileSystem;
|
11479
11411
|
for (let item of changes)fs.purge?.(item);
|
11480
11412
|
for (let item of removals)fs.purge?.(item);
|
11481
11413
|
}
|
11482
11414
|
let { fileTimeInfoEntries, contextTimeInfoEntries } = fetchTimeInfo();
|
11483
11415
|
callback(null, fileTimeInfoEntries, contextTimeInfoEntries, changes, removals);
|
11484
|
-
}), this.watcher
|
11416
|
+
}), this.watcher?.watch({
|
11485
11417
|
files,
|
11486
11418
|
directories,
|
11487
11419
|
missing,
|
@@ -11499,7 +11431,7 @@ You can also more options via the 'target' option: 'browserslist' / 'browserslis
|
|
11499
11431
|
let fs = this.inputFileSystem;
|
11500
11432
|
for (let item of items)fs.purge?.(item);
|
11501
11433
|
}
|
11502
|
-
return items;
|
11434
|
+
return items ?? new Set();
|
11503
11435
|
}, "Watcher.getAggregatedRemovals is deprecated in favor of Watcher.getInfo since that's more performant.", "DEP_WEBPACK_WATCHER_GET_AGGREGATED_REMOVALS"),
|
11504
11436
|
getAggregatedChanges: external_node_util_default().deprecate(()=>{
|
11505
11437
|
let items = this.watcher?.aggregatedChanges;
|
@@ -11507,12 +11439,12 @@ You can also more options via the 'target' option: 'browserslist' / 'browserslis
|
|
11507
11439
|
let fs = this.inputFileSystem;
|
11508
11440
|
for (let item of items)fs.purge?.(item);
|
11509
11441
|
}
|
11510
|
-
return items;
|
11442
|
+
return items ?? new Set();
|
11511
11443
|
}, "Watcher.getAggregatedChanges is deprecated in favor of Watcher.getInfo since that's more performant.", "DEP_WEBPACK_WATCHER_GET_AGGREGATED_CHANGES"),
|
11512
11444
|
getFileTimeInfoEntries: external_node_util_default().deprecate(()=>fetchTimeInfo().fileTimeInfoEntries, "Watcher.getFileTimeInfoEntries is deprecated in favor of Watcher.getInfo since that's more performant.", "DEP_WEBPACK_WATCHER_FILE_TIME_INFO_ENTRIES"),
|
11513
11445
|
getContextTimeInfoEntries: external_node_util_default().deprecate(()=>fetchTimeInfo().contextTimeInfoEntries, "Watcher.getContextTimeInfoEntries is deprecated in favor of Watcher.getInfo since that's more performant.", "DEP_WEBPACK_WATCHER_CONTEXT_TIME_INFO_ENTRIES"),
|
11514
11446
|
getInfo: ()=>{
|
11515
|
-
let removals = this.watcher?.aggregatedRemovals, changes = this.watcher?.aggregatedChanges;
|
11447
|
+
let removals = this.watcher?.aggregatedRemovals ?? new Set(), changes = this.watcher?.aggregatedChanges ?? new Set();
|
11516
11448
|
if (this.inputFileSystem?.purge) {
|
11517
11449
|
let fs = this.inputFileSystem;
|
11518
11450
|
if (removals) for (let item of removals)fs.purge?.(item);
|
@@ -12139,7 +12071,7 @@ You can also more options via the 'target' option: 'browserslist' / 'browserslis
|
|
12139
12071
|
library: libraryOptions.optional(),
|
12140
12072
|
dependOn: entryDependOn.optional(),
|
12141
12073
|
layer: zod_layer.optional()
|
12142
|
-
}), entryStatic = zod_index_js_namespaceObject.z.record(entryItem.or(entryDescription)).or(entryItem), entryDynamic = zod_index_js_namespaceObject.z.function().returns(entryStatic.or(zod_index_js_namespaceObject.z.promise(entryStatic))), zod_entry = entryStatic.or(entryDynamic), zod_path = zod_index_js_namespaceObject.z.string(), pathinfo = zod_index_js_namespaceObject.z.boolean().or(zod_index_js_namespaceObject.z.literal("verbose")), webassemblyModuleFilename = zod_index_js_namespaceObject.z.string(), zod_crossOriginLoading = zod_index_js_namespaceObject.z.literal(!1).or(zod_index_js_namespaceObject.z.enum([
|
12074
|
+
}), entryStatic = zod_index_js_namespaceObject.z.record(zod_index_js_namespaceObject.z.string(), entryItem.or(entryDescription)).or(entryItem), entryDynamic = zod_index_js_namespaceObject.z.function().returns(entryStatic.or(zod_index_js_namespaceObject.z.promise(entryStatic))), zod_entry = entryStatic.or(entryDynamic), zod_path = zod_index_js_namespaceObject.z.string(), pathinfo = zod_index_js_namespaceObject.z.boolean().or(zod_index_js_namespaceObject.z.literal("verbose")), webassemblyModuleFilename = zod_index_js_namespaceObject.z.string(), zod_crossOriginLoading = zod_index_js_namespaceObject.z.literal(!1).or(zod_index_js_namespaceObject.z.enum([
|
12143
12075
|
"anonymous",
|
12144
12076
|
"use-credentials"
|
12145
12077
|
])), hotUpdateGlobal = zod_index_js_namespaceObject.z.string(), zod_uniqueName = zod_index_js_namespaceObject.z.string(), chunkLoadingGlobal = zod_index_js_namespaceObject.z.string(), zod_enabledLibraryTypes = zod_index_js_namespaceObject.z.array(libraryType), clean = zod_index_js_namespaceObject.z.union([
|
@@ -12230,7 +12162,7 @@ You can also more options via the 'target' option: 'browserslist' / 'browserslis
|
|
12230
12162
|
charset: zod_index_js_namespaceObject.z.boolean().optional(),
|
12231
12163
|
environment: zod_environment.optional(),
|
12232
12164
|
compareBeforeEmit: zod_index_js_namespaceObject.z.boolean().optional()
|
12233
|
-
}), resolveAlias = zod_index_js_namespaceObject.z.record(zod_index_js_namespaceObject.z.literal(!1).or(zod_index_js_namespaceObject.z.string()).or(zod_index_js_namespaceObject.z.array(zod_index_js_namespaceObject.z.string().or(zod_index_js_namespaceObject.z.literal(!1))))).or(zod_index_js_namespaceObject.z.literal(!1)), resolveTsConfigFile = zod_index_js_namespaceObject.z.string(), resolveTsConfig = resolveTsConfigFile.or(zod_index_js_namespaceObject.z.strictObject({
|
12165
|
+
}), resolveAlias = zod_index_js_namespaceObject.z.record(zod_index_js_namespaceObject.z.string(), zod_index_js_namespaceObject.z.literal(!1).or(zod_index_js_namespaceObject.z.string()).or(zod_index_js_namespaceObject.z.array(zod_index_js_namespaceObject.z.string().or(zod_index_js_namespaceObject.z.literal(!1))))).or(zod_index_js_namespaceObject.z.literal(!1)), resolveTsConfigFile = zod_index_js_namespaceObject.z.string(), resolveTsConfig = resolveTsConfigFile.or(zod_index_js_namespaceObject.z.strictObject({
|
12234
12166
|
configFile: resolveTsConfigFile,
|
12235
12167
|
references: zod_index_js_namespaceObject.z.array(zod_index_js_namespaceObject.z.string()).or(zod_index_js_namespaceObject.z.literal("auto")).optional()
|
12236
12168
|
})), zod_resolveOptions = zod_index_js_namespaceObject.z.strictObject({
|
@@ -12250,18 +12182,18 @@ You can also more options via the 'target' option: 'browserslist' / 'browserslis
|
|
12250
12182
|
tsConfig: resolveTsConfig.optional(),
|
12251
12183
|
fullySpecified: zod_index_js_namespaceObject.z.boolean().optional(),
|
12252
12184
|
exportsFields: zod_index_js_namespaceObject.z.array(zod_index_js_namespaceObject.z.string()).optional(),
|
12253
|
-
extensionAlias: zod_index_js_namespaceObject.z.record(zod_index_js_namespaceObject.z.string().or(zod_index_js_namespaceObject.z.array(zod_index_js_namespaceObject.z.string()))).optional(),
|
12185
|
+
extensionAlias: zod_index_js_namespaceObject.z.record(zod_index_js_namespaceObject.z.string(), zod_index_js_namespaceObject.z.string().or(zod_index_js_namespaceObject.z.array(zod_index_js_namespaceObject.z.string()))).optional(),
|
12254
12186
|
aliasFields: zod_index_js_namespaceObject.z.array(zod_index_js_namespaceObject.z.string()).optional(),
|
12255
12187
|
restrictions: zod_index_js_namespaceObject.z.array(zod_index_js_namespaceObject.z.string()).optional(),
|
12256
12188
|
roots: zod_index_js_namespaceObject.z.array(zod_index_js_namespaceObject.z.string()).optional(),
|
12257
12189
|
pnp: zod_index_js_namespaceObject.z.boolean().optional()
|
12258
12190
|
}).extend({
|
12259
|
-
byDependency: zod_index_js_namespaceObject.z.lazy(()=>zod_index_js_namespaceObject.z.record(zod_resolveOptions)).optional()
|
12191
|
+
byDependency: zod_index_js_namespaceObject.z.lazy(()=>zod_index_js_namespaceObject.z.record(zod_index_js_namespaceObject.z.string(), zod_resolveOptions)).optional()
|
12260
12192
|
}), ruleSetCondition = zod_index_js_namespaceObject.z.instanceof(RegExp).or(zod_index_js_namespaceObject.z.string()).or(zod_index_js_namespaceObject.z.function().args(zod_index_js_namespaceObject.z.string()).returns(zod_index_js_namespaceObject.z.boolean())).or(zod_index_js_namespaceObject.z.lazy(()=>ruleSetConditions)).or(zod_index_js_namespaceObject.z.lazy(()=>ruleSetLogicalConditions)), ruleSetConditions = zod_index_js_namespaceObject.z.lazy(()=>zod_index_js_namespaceObject.z.array(ruleSetCondition)), ruleSetLogicalConditions = zod_index_js_namespaceObject.z.strictObject({
|
12261
12193
|
and: ruleSetConditions.optional(),
|
12262
12194
|
or: ruleSetConditions.optional(),
|
12263
12195
|
not: ruleSetCondition.optional()
|
12264
|
-
}), ruleSetLoader = zod_index_js_namespaceObject.z.string(), ruleSetLoaderOptions = zod_index_js_namespaceObject.z.string().or(zod_index_js_namespaceObject.z.record(zod_index_js_namespaceObject.z.any())), ruleSetLoaderWithOptions = new ZodRspackCrossChecker({
|
12196
|
+
}), ruleSetLoader = zod_index_js_namespaceObject.z.string(), ruleSetLoaderOptions = zod_index_js_namespaceObject.z.string().or(zod_index_js_namespaceObject.z.record(zod_index_js_namespaceObject.z.string(), zod_index_js_namespaceObject.z.any())), ruleSetLoaderWithOptions = new ZodRspackCrossChecker({
|
12265
12197
|
patterns: [
|
12266
12198
|
{
|
12267
12199
|
test: (_, input)=>input?.data?.loader === "builtin:swc-loader" && "object" == typeof input?.data?.options,
|
@@ -12315,15 +12247,15 @@ You can also more options via the 'target' option: 'browserslist' / 'browserslis
|
|
12315
12247
|
resourceQuery: ruleSetCondition.optional(),
|
12316
12248
|
scheme: ruleSetCondition.optional(),
|
12317
12249
|
mimetype: ruleSetCondition.optional(),
|
12318
|
-
descriptionData: zod_index_js_namespaceObject.z.record(ruleSetCondition).optional(),
|
12319
|
-
with: zod_index_js_namespaceObject.z.record(ruleSetCondition).optional(),
|
12250
|
+
descriptionData: zod_index_js_namespaceObject.z.record(zod_index_js_namespaceObject.z.string(), ruleSetCondition).optional(),
|
12251
|
+
with: zod_index_js_namespaceObject.z.record(zod_index_js_namespaceObject.z.string(), ruleSetCondition).optional(),
|
12320
12252
|
type: zod_index_js_namespaceObject.z.string().optional(),
|
12321
12253
|
layer: zod_index_js_namespaceObject.z.string().optional(),
|
12322
12254
|
loader: ruleSetLoader.optional(),
|
12323
12255
|
options: ruleSetLoaderOptions.optional(),
|
12324
12256
|
use: ruleSetUse.optional(),
|
12325
|
-
parser: zod_index_js_namespaceObject.z.record(zod_index_js_namespaceObject.z.any()).optional(),
|
12326
|
-
generator: zod_index_js_namespaceObject.z.record(zod_index_js_namespaceObject.z.any()).optional(),
|
12257
|
+
parser: zod_index_js_namespaceObject.z.record(zod_index_js_namespaceObject.z.string(), zod_index_js_namespaceObject.z.any()).optional(),
|
12258
|
+
generator: zod_index_js_namespaceObject.z.record(zod_index_js_namespaceObject.z.string(), zod_index_js_namespaceObject.z.any()).optional(),
|
12327
12259
|
resolve: zod_resolveOptions.optional(),
|
12328
12260
|
sideEffects: zod_index_js_namespaceObject.z.boolean().optional(),
|
12329
12261
|
enforce: zod_index_js_namespaceObject.z.literal("pre").or(zod_index_js_namespaceObject.z.literal("post")).optional()
|
@@ -12579,8 +12511,8 @@ You can also more options via the 'target' option: 'browserslist' / 'browserslis
|
|
12579
12511
|
] : []
|
12580
12512
|
}
|
12581
12513
|
],
|
12582
|
-
default: zod_index_js_namespaceObject.z.record(zod_index_js_namespaceObject.z.string().or(zod_index_js_namespaceObject.z.string().array()))
|
12583
|
-
}), externalItemValue = zod_index_js_namespaceObject.z.string().or(zod_index_js_namespaceObject.z.boolean()).or(zod_index_js_namespaceObject.z.string().array().min(1)).or(externalObjectValue), externalItemObjectUnknown = zod_index_js_namespaceObject.z.record(externalItemValue), externalItemFunctionData = zod_index_js_namespaceObject.z.strictObject({
|
12514
|
+
default: zod_index_js_namespaceObject.z.record(zod_index_js_namespaceObject.z.string(), zod_index_js_namespaceObject.z.string().or(zod_index_js_namespaceObject.z.string().array()))
|
12515
|
+
}), externalItemValue = zod_index_js_namespaceObject.z.string().or(zod_index_js_namespaceObject.z.boolean()).or(zod_index_js_namespaceObject.z.string().array().min(1)).or(externalObjectValue), externalItemObjectUnknown = zod_index_js_namespaceObject.z.record(zod_index_js_namespaceObject.z.string(), externalItemValue), externalItemFunctionData = zod_index_js_namespaceObject.z.strictObject({
|
12584
12516
|
context: zod_index_js_namespaceObject.z.string().optional(),
|
12585
12517
|
dependencyType: zod_index_js_namespaceObject.z.string().optional(),
|
12586
12518
|
request: zod_index_js_namespaceObject.z.string().optional(),
|
@@ -12775,7 +12707,7 @@ You can also more options via the 'target' option: 'browserslist' / 'browserslis
|
|
12775
12707
|
"all"
|
12776
12708
|
]).or(zod_index_js_namespaceObject.z.instanceof(RegExp)).or(zod_index_js_namespaceObject.z.function().args(zod_index_js_namespaceObject.z.instanceof(Chunk, {
|
12777
12709
|
message: "Input not instance of Chunk"
|
12778
|
-
})).returns(zod_index_js_namespaceObject.z.boolean())), optimizationSplitChunksSizes = zod_index_js_namespaceObject.z.number().or(zod_index_js_namespaceObject.z.record(zod_index_js_namespaceObject.z.number())), optimizationSplitChunksDefaultSizeTypes = zod_index_js_namespaceObject.z.array(zod_index_js_namespaceObject.z.string()), sharedOptimizationSplitChunksCacheGroup = {
|
12710
|
+
})).returns(zod_index_js_namespaceObject.z.boolean())), optimizationSplitChunksSizes = zod_index_js_namespaceObject.z.number().or(zod_index_js_namespaceObject.z.record(zod_index_js_namespaceObject.z.string(), zod_index_js_namespaceObject.z.number())), optimizationSplitChunksDefaultSizeTypes = zod_index_js_namespaceObject.z.array(zod_index_js_namespaceObject.z.string()), sharedOptimizationSplitChunksCacheGroup = {
|
12779
12711
|
chunks: optimizationSplitChunksChunks.optional(),
|
12780
12712
|
defaultSizeTypes: optimizationSplitChunksDefaultSizeTypes.optional(),
|
12781
12713
|
minChunks: zod_index_js_namespaceObject.z.number().min(1).optional(),
|
@@ -12920,9 +12852,9 @@ You can also more options via the 'target' option: 'browserslist' / 'browserslis
|
|
12920
12852
|
zod_index_js_namespaceObject.z.literal(!1)
|
12921
12853
|
]).optional(),
|
12922
12854
|
upgrade: zod_index_js_namespaceObject.z.boolean().optional(),
|
12923
|
-
httpClient: zod_index_js_namespaceObject.z.function().args(zod_index_js_namespaceObject.z.string(), zod_index_js_namespaceObject.z.record(zod_index_js_namespaceObject.z.string())).returns(zod_index_js_namespaceObject.z.promise(zod_index_js_namespaceObject.z.object({
|
12855
|
+
httpClient: zod_index_js_namespaceObject.z.function().args(zod_index_js_namespaceObject.z.string(), zod_index_js_namespaceObject.z.record(zod_index_js_namespaceObject.z.string(), zod_index_js_namespaceObject.z.string())).returns(zod_index_js_namespaceObject.z.promise(zod_index_js_namespaceObject.z.object({
|
12924
12856
|
status: zod_index_js_namespaceObject.z.number(),
|
12925
|
-
headers: zod_index_js_namespaceObject.z.record(zod_index_js_namespaceObject.z.string()),
|
12857
|
+
headers: zod_index_js_namespaceObject.z.record(zod_index_js_namespaceObject.z.string(), zod_index_js_namespaceObject.z.string()),
|
12926
12858
|
body: zod_index_js_namespaceObject.z.instanceof(Buffer)
|
12927
12859
|
}))).optional()
|
12928
12860
|
}), zod_experiments = zod_index_js_namespaceObject.z.strictObject({
|
@@ -12945,7 +12877,7 @@ You can also more options via the 'target' option: 'browserslist' / 'browserslis
|
|
12945
12877
|
ignored: zod_index_js_namespaceObject.z.string().array().or(zod_index_js_namespaceObject.z.instanceof(RegExp)).or(zod_index_js_namespaceObject.z.string()).optional(),
|
12946
12878
|
poll: zod_index_js_namespaceObject.z.number().or(zod_index_js_namespaceObject.z.boolean()).optional(),
|
12947
12879
|
stdin: zod_index_js_namespaceObject.z.boolean().optional()
|
12948
|
-
}), devServer = zod_index_js_namespaceObject.z.custom(), ignoreWarnings = zod_index_js_namespaceObject.z.instanceof(RegExp).or(zod_index_js_namespaceObject.z.function().args(zod_index_js_namespaceObject.z.instanceof(Error), zod_index_js_namespaceObject.z.custom()).returns(zod_index_js_namespaceObject.z.boolean())).array(), zod_profile = zod_index_js_namespaceObject.z.boolean(), amd = zod_index_js_namespaceObject.z.literal(!1).or(zod_index_js_namespaceObject.z.record(zod_index_js_namespaceObject.z.any())), bail = zod_index_js_namespaceObject.z.boolean(), zod_performance = zod_index_js_namespaceObject.z.strictObject({
|
12880
|
+
}), devServer = zod_index_js_namespaceObject.z.custom(), ignoreWarnings = zod_index_js_namespaceObject.z.instanceof(RegExp).or(zod_index_js_namespaceObject.z.function().args(zod_index_js_namespaceObject.z.instanceof(Error), zod_index_js_namespaceObject.z.custom()).returns(zod_index_js_namespaceObject.z.boolean())).array(), zod_profile = zod_index_js_namespaceObject.z.boolean(), amd = zod_index_js_namespaceObject.z.literal(!1).or(zod_index_js_namespaceObject.z.record(zod_index_js_namespaceObject.z.string(), zod_index_js_namespaceObject.z.any())), bail = zod_index_js_namespaceObject.z.boolean(), zod_performance = zod_index_js_namespaceObject.z.strictObject({
|
12949
12881
|
assetFilter: zod_index_js_namespaceObject.z.function().args(zod_index_js_namespaceObject.z.string()).returns(zod_index_js_namespaceObject.z.boolean()).optional(),
|
12950
12882
|
hints: zod_index_js_namespaceObject.z.enum([
|
12951
12883
|
"error",
|
@@ -13359,7 +13291,7 @@ You can also more options via the 'target' option: 'browserslist' / 'browserslis
|
|
13359
13291
|
let _options = JSON.stringify(options || {});
|
13360
13292
|
return binding_default().transform(source, _options);
|
13361
13293
|
}
|
13362
|
-
let exports_rspackVersion = "1.3.
|
13294
|
+
let exports_rspackVersion = "1.3.13", exports_version = "5.75.0", exports_WebpackError = Error, sources = __webpack_require__("webpack-sources"), exports_config = {
|
13363
13295
|
getNormalizedRspackOptions: getNormalizedRspackOptions,
|
13364
13296
|
applyRspackOptionsDefaults: applyRspackOptionsDefaults,
|
13365
13297
|
getNormalizedWebpackOptions: getNormalizedRspackOptions,
|
@@ -13443,7 +13375,7 @@ You can also more options via the 'target' option: 'browserslist' / 'browserslis
|
|
13443
13375
|
await JavaScriptTracer.initJavaScriptTrace(layer, output), (0, binding_.registerGlobalTrace)(filter, layer, output), JavaScriptTracer.initCpuProfiler();
|
13444
13376
|
},
|
13445
13377
|
async cleanup () {
|
13446
|
-
(0, binding_.cleanupGlobalTrace)(), JavaScriptTracer.cleanupJavaScriptTrace();
|
13378
|
+
(0, binding_.cleanupGlobalTrace)(), await JavaScriptTracer.cleanupJavaScriptTrace();
|
13447
13379
|
}
|
13448
13380
|
},
|
13449
13381
|
RemoveDuplicateModulesPlugin: RemoveDuplicateModulesPlugin,
|
@@ -13525,7 +13457,7 @@ You can also more options via the 'target' option: 'browserslist' / 'browserslis
|
|
13525
13457
|
}, exports_namespaceObject);
|
13526
13458
|
src_fn.rspack = src_fn, src_fn.webpack = src_fn;
|
13527
13459
|
let src_rspack = src_fn, src_0 = src_rspack;
|
13528
|
-
})(), exports.AsyncDependenciesBlock = __webpack_exports__.AsyncDependenciesBlock, exports.BannerPlugin = __webpack_exports__.BannerPlugin, exports.CircularDependencyRspackPlugin = __webpack_exports__.CircularDependencyRspackPlugin, exports.Compilation = __webpack_exports__.Compilation, exports.Compiler = __webpack_exports__.Compiler, exports.ConcatenatedModule = __webpack_exports__.ConcatenatedModule, exports.ContextModule = __webpack_exports__.ContextModule, exports.ContextReplacementPlugin = __webpack_exports__.ContextReplacementPlugin, exports.CopyRspackPlugin = __webpack_exports__.CopyRspackPlugin, exports.CssExtractRspackPlugin = __webpack_exports__.CssExtractRspackPlugin, exports.DefinePlugin = __webpack_exports__.DefinePlugin, exports.Dependency = __webpack_exports__.Dependency, exports.DllPlugin = __webpack_exports__.DllPlugin, exports.DllReferencePlugin = __webpack_exports__.DllReferencePlugin, exports.DynamicEntryPlugin = __webpack_exports__.DynamicEntryPlugin, exports.EntryDependency = __webpack_exports__.EntryDependency, exports.EntryOptionPlugin = __webpack_exports__.EntryOptionPlugin, exports.EntryPlugin = __webpack_exports__.EntryPlugin, exports.EnvironmentPlugin = __webpack_exports__.EnvironmentPlugin, exports.EvalDevToolModulePlugin = __webpack_exports__.EvalDevToolModulePlugin, exports.EvalSourceMapDevToolPlugin = __webpack_exports__.EvalSourceMapDevToolPlugin, exports.ExternalModule = __webpack_exports__.ExternalModule, exports.ExternalsPlugin = __webpack_exports__.ExternalsPlugin, exports.HotModuleReplacementPlugin = __webpack_exports__.HotModuleReplacementPlugin, exports.HtmlRspackPlugin = __webpack_exports__.HtmlRspackPlugin, exports.IgnorePlugin = __webpack_exports__.IgnorePlugin, exports.LightningCssMinimizerRspackPlugin = __webpack_exports__.LightningCssMinimizerRspackPlugin, exports.LoaderOptionsPlugin = __webpack_exports__.LoaderOptionsPlugin, exports.LoaderTargetPlugin = __webpack_exports__.LoaderTargetPlugin, exports.Module = __webpack_exports__.Module, exports.ModuleFilenameHelpers = __webpack_exports__.ModuleFilenameHelpers, exports.MultiCompiler = __webpack_exports__.MultiCompiler, exports.MultiStats = __webpack_exports__.MultiStats, exports.NoEmitOnErrorsPlugin = __webpack_exports__.NoEmitOnErrorsPlugin, exports.NormalModule = __webpack_exports__.NormalModule, exports.NormalModuleReplacementPlugin = __webpack_exports__.NormalModuleReplacementPlugin, exports.ProgressPlugin = __webpack_exports__.ProgressPlugin, exports.ProvidePlugin = __webpack_exports__.ProvidePlugin, exports.RspackOptionsApply = __webpack_exports__.RspackOptionsApply, exports.RuntimeGlobals = __webpack_exports__.RuntimeGlobals, exports.RuntimeModule = __webpack_exports__.RuntimeModule, exports.RuntimePlugin = __webpack_exports__.RuntimePlugin, exports.SourceMapDevToolPlugin = __webpack_exports__.SourceMapDevToolPlugin, exports.Stats = __webpack_exports__.Stats, exports.SwcJsMinimizerRspackPlugin = __webpack_exports__.SwcJsMinimizerRspackPlugin, exports.Template = __webpack_exports__.Template, exports.ValidationError = __webpack_exports__.ValidationError, exports.WarnCaseSensitiveModulesPlugin = __webpack_exports__.WarnCaseSensitiveModulesPlugin, exports.WebpackError = __webpack_exports__.WebpackError, exports.WebpackOptionsApply = __webpack_exports__.WebpackOptionsApply, exports.config = __webpack_exports__.config, exports.container = __webpack_exports__.container, exports.default = __webpack_exports__.default, exports.electron = __webpack_exports__.electron, exports.experiments = __webpack_exports__.experiments, exports.javascript = __webpack_exports__.javascript, exports.library = __webpack_exports__.library, exports.node = __webpack_exports__.node, exports.optimize = __webpack_exports__.optimize, exports.rspack = __webpack_exports__.rspack, exports.rspackVersion = __webpack_exports__.rspackVersion, exports.sharing = __webpack_exports__.sharing, exports.sources = __webpack_exports__.sources, exports.util = __webpack_exports__.util, exports.version = __webpack_exports__.version, exports.wasm = __webpack_exports__.wasm, exports.web = __webpack_exports__.web, exports.webworker = __webpack_exports__.webworker, __webpack_exports__)-1 === [
|
13460
|
+
})(), exports.AsyncDependenciesBlock = __webpack_exports__.AsyncDependenciesBlock, exports.BannerPlugin = __webpack_exports__.BannerPlugin, exports.CircularDependencyRspackPlugin = __webpack_exports__.CircularDependencyRspackPlugin, exports.Compilation = __webpack_exports__.Compilation, exports.Compiler = __webpack_exports__.Compiler, exports.ConcatenatedModule = __webpack_exports__.ConcatenatedModule, exports.ContextModule = __webpack_exports__.ContextModule, exports.ContextReplacementPlugin = __webpack_exports__.ContextReplacementPlugin, exports.CopyRspackPlugin = __webpack_exports__.CopyRspackPlugin, exports.CssExtractRspackPlugin = __webpack_exports__.CssExtractRspackPlugin, exports.DefinePlugin = __webpack_exports__.DefinePlugin, exports.Dependency = __webpack_exports__.Dependency, exports.DllPlugin = __webpack_exports__.DllPlugin, exports.DllReferencePlugin = __webpack_exports__.DllReferencePlugin, exports.DynamicEntryPlugin = __webpack_exports__.DynamicEntryPlugin, exports.EntryDependency = __webpack_exports__.EntryDependency, exports.EntryOptionPlugin = __webpack_exports__.EntryOptionPlugin, exports.EntryPlugin = __webpack_exports__.EntryPlugin, exports.EnvironmentPlugin = __webpack_exports__.EnvironmentPlugin, exports.EvalDevToolModulePlugin = __webpack_exports__.EvalDevToolModulePlugin, exports.EvalSourceMapDevToolPlugin = __webpack_exports__.EvalSourceMapDevToolPlugin, exports.ExternalModule = __webpack_exports__.ExternalModule, exports.ExternalsPlugin = __webpack_exports__.ExternalsPlugin, exports.HotModuleReplacementPlugin = __webpack_exports__.HotModuleReplacementPlugin, exports.HtmlRspackPlugin = __webpack_exports__.HtmlRspackPlugin, exports.IgnorePlugin = __webpack_exports__.IgnorePlugin, exports.LightningCssMinimizerRspackPlugin = __webpack_exports__.LightningCssMinimizerRspackPlugin, exports.LoaderOptionsPlugin = __webpack_exports__.LoaderOptionsPlugin, exports.LoaderTargetPlugin = __webpack_exports__.LoaderTargetPlugin, exports.Module = __webpack_exports__.Module, exports.ModuleFilenameHelpers = __webpack_exports__.ModuleFilenameHelpers, exports.MultiCompiler = __webpack_exports__.MultiCompiler, exports.MultiStats = __webpack_exports__.MultiStats, exports.NoEmitOnErrorsPlugin = __webpack_exports__.NoEmitOnErrorsPlugin, exports.NormalModule = __webpack_exports__.NormalModule, exports.NormalModuleReplacementPlugin = __webpack_exports__.NormalModuleReplacementPlugin, exports.ProgressPlugin = __webpack_exports__.ProgressPlugin, exports.ProvidePlugin = __webpack_exports__.ProvidePlugin, exports.RspackOptionsApply = __webpack_exports__.RspackOptionsApply, exports.RstestPlugin = __webpack_exports__.RstestPlugin, exports.RuntimeGlobals = __webpack_exports__.RuntimeGlobals, exports.RuntimeModule = __webpack_exports__.RuntimeModule, exports.RuntimePlugin = __webpack_exports__.RuntimePlugin, exports.SourceMapDevToolPlugin = __webpack_exports__.SourceMapDevToolPlugin, exports.Stats = __webpack_exports__.Stats, exports.SwcJsMinimizerRspackPlugin = __webpack_exports__.SwcJsMinimizerRspackPlugin, exports.Template = __webpack_exports__.Template, exports.ValidationError = __webpack_exports__.ValidationError, exports.WarnCaseSensitiveModulesPlugin = __webpack_exports__.WarnCaseSensitiveModulesPlugin, exports.WebpackError = __webpack_exports__.WebpackError, exports.WebpackOptionsApply = __webpack_exports__.WebpackOptionsApply, exports.config = __webpack_exports__.config, exports.container = __webpack_exports__.container, exports.default = __webpack_exports__.default, exports.electron = __webpack_exports__.electron, exports.experiments = __webpack_exports__.experiments, exports.javascript = __webpack_exports__.javascript, exports.library = __webpack_exports__.library, exports.node = __webpack_exports__.node, exports.optimize = __webpack_exports__.optimize, exports.rspack = __webpack_exports__.rspack, exports.rspackVersion = __webpack_exports__.rspackVersion, exports.sharing = __webpack_exports__.sharing, exports.sources = __webpack_exports__.sources, exports.util = __webpack_exports__.util, exports.version = __webpack_exports__.version, exports.wasm = __webpack_exports__.wasm, exports.web = __webpack_exports__.web, exports.webworker = __webpack_exports__.webworker, __webpack_exports__)-1 === [
|
13529
13461
|
"AsyncDependenciesBlock",
|
13530
13462
|
"BannerPlugin",
|
13531
13463
|
"CircularDependencyRspackPlugin",
|
@@ -13565,6 +13497,7 @@ You can also more options via the 'target' option: 'browserslist' / 'browserslis
|
|
13565
13497
|
"ProgressPlugin",
|
13566
13498
|
"ProvidePlugin",
|
13567
13499
|
"RspackOptionsApply",
|
13500
|
+
"RstestPlugin",
|
13568
13501
|
"RuntimeGlobals",
|
13569
13502
|
"RuntimeModule",
|
13570
13503
|
"RuntimePlugin",
|