@rsbuild/core 2.1.9 → 2.1.11
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/compiled/css-loader/index.js +2 -2
- package/compiled/html-rspack-plugin/index.js +14 -14
- package/compiled/jiti/dist/babel.cjs +4 -4
- package/compiled/postcss/index.js +1 -1
- package/compiled/postcss/package.json +1 -1
- package/compiled/postcss-loader/index.js +6 -6
- package/compiled/rspack-chain/package.json +1 -1
- package/compiled/rspack-chain/types/index.d.ts +8 -12
- package/dist/626.js +128 -100
- package/dist/connect-next.js +1 -1
- package/dist/loadConfig.d.ts +1 -4
- package/dist/manifest-plugin.js +1 -1
- package/dist/memfs.js +1 -1
- package/dist/range-parser.js +1 -1
- package/dist/server/helper.d.ts +6 -8
- package/dist/tinyglobby.js +1 -1
- package/dist/ws.js +2 -2
- package/package.json +22 -22
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(() => {
|
|
2
2
|
var __webpack_modules__ = {
|
|
3
|
-
|
|
3
|
+
101: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
4
4
|
"use strict";
|
|
5
|
-
const { HtmlWebpackChildCompiler } = __nccwpck_require__(
|
|
5
|
+
const { HtmlWebpackChildCompiler } = __nccwpck_require__(726);
|
|
6
6
|
const compilerMap = new WeakMap();
|
|
7
7
|
class CachedChildCompilation {
|
|
8
8
|
constructor(compiler) {
|
|
@@ -311,7 +311,7 @@
|
|
|
311
311
|
}
|
|
312
312
|
module.exports = { CachedChildCompilation };
|
|
313
313
|
},
|
|
314
|
-
|
|
314
|
+
726: (module) => {
|
|
315
315
|
"use strict";
|
|
316
316
|
class HtmlWebpackChildCompiler {
|
|
317
317
|
constructor(templates) {
|
|
@@ -480,7 +480,7 @@
|
|
|
480
480
|
}
|
|
481
481
|
module.exports = { HtmlWebpackChildCompiler };
|
|
482
482
|
},
|
|
483
|
-
|
|
483
|
+
806: (module) => {
|
|
484
484
|
"use strict";
|
|
485
485
|
module.exports = {};
|
|
486
486
|
module.exports.none = (chunks) => chunks;
|
|
@@ -499,7 +499,7 @@
|
|
|
499
499
|
};
|
|
500
500
|
module.exports.auto = module.exports.none;
|
|
501
501
|
},
|
|
502
|
-
|
|
502
|
+
993: (module) => {
|
|
503
503
|
"use strict";
|
|
504
504
|
module.exports = function (err) {
|
|
505
505
|
return {
|
|
@@ -523,7 +523,7 @@
|
|
|
523
523
|
};
|
|
524
524
|
};
|
|
525
525
|
},
|
|
526
|
-
|
|
526
|
+
984: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
527
527
|
"use strict";
|
|
528
528
|
const { AsyncSeriesWaterfallHook } = __nccwpck_require__(517);
|
|
529
529
|
const htmlWebpackPluginHooksMap = new WeakMap();
|
|
@@ -549,7 +549,7 @@
|
|
|
549
549
|
}
|
|
550
550
|
module.exports = { getHtmlRspackPluginHooks };
|
|
551
551
|
},
|
|
552
|
-
|
|
552
|
+
485: (module) => {
|
|
553
553
|
const voidTags = [
|
|
554
554
|
"area",
|
|
555
555
|
"base",
|
|
@@ -617,19 +617,19 @@
|
|
|
617
617
|
htmlTagObjectToString,
|
|
618
618
|
};
|
|
619
619
|
},
|
|
620
|
-
|
|
620
|
+
352: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
621
621
|
"use strict";
|
|
622
622
|
const promisify = __nccwpck_require__(23).promisify;
|
|
623
623
|
const vm = __nccwpck_require__(154);
|
|
624
624
|
const fs = __nccwpck_require__(896);
|
|
625
625
|
const path = __nccwpck_require__(928);
|
|
626
|
-
const { CachedChildCompilation } = __nccwpck_require__(
|
|
626
|
+
const { CachedChildCompilation } = __nccwpck_require__(101);
|
|
627
627
|
const { createHtmlTagObject, htmlTagObjectToString, HtmlTagArray } =
|
|
628
|
-
__nccwpck_require__(
|
|
629
|
-
const prettyError = __nccwpck_require__(
|
|
630
|
-
const chunkSorter = __nccwpck_require__(
|
|
628
|
+
__nccwpck_require__(485);
|
|
629
|
+
const prettyError = __nccwpck_require__(993);
|
|
630
|
+
const chunkSorter = __nccwpck_require__(806);
|
|
631
631
|
const getHtmlRspackPluginHooks =
|
|
632
|
-
__nccwpck_require__(
|
|
632
|
+
__nccwpck_require__(984).getHtmlRspackPluginHooks;
|
|
633
633
|
const WITH_PLACEHOLDER = "function __with_placeholder__";
|
|
634
634
|
class HtmlRspackPlugin {
|
|
635
635
|
constructor(userOptions = {}) {
|
|
@@ -2403,6 +2403,6 @@
|
|
|
2403
2403
|
}
|
|
2404
2404
|
if (typeof __nccwpck_require__ !== "undefined")
|
|
2405
2405
|
__nccwpck_require__.ab = __dirname + "/";
|
|
2406
|
-
var __webpack_exports__ = __nccwpck_require__(
|
|
2406
|
+
var __webpack_exports__ = __nccwpck_require__(352);
|
|
2407
2407
|
module.exports = __webpack_exports__;
|
|
2408
2408
|
})();
|
|
@@ -27856,7 +27856,7 @@
|
|
|
27856
27856
|
const c = e1.get("members").map((r)=>{
|
|
27857
27857
|
const n = r.node, a = t.isIdentifier(n.id) ? n.id.name : n.id.value, c = r.get("initializer");
|
|
27858
27858
|
let d;
|
|
27859
|
-
if (n.initializer) l = computeConstantValue(c, i), void 0 !== l ? (i.set(a, l), s("number" == typeof l || "string" == typeof l), d =
|
|
27859
|
+
if (n.initializer) l = computeConstantValue(c, i), void 0 !== l ? (i.set(a, l), s("number" == typeof l || "string" == typeof l), d = 1 / 0 === l || Number.isNaN(l) ? t.identifier(String(l)) : -1 / 0 === l ? t.unaryExpression("-", t.identifier("Infinity")) : t.valueToNode(l)) : (p && (p = c.isPure()), c.isReferencedIdentifier() ? ReferencedIdentifier(c, {
|
|
27860
27860
|
t,
|
|
27861
27861
|
seen: i,
|
|
27862
27862
|
path: e1
|
|
@@ -29660,7 +29660,7 @@
|
|
|
29660
29660
|
],
|
|
29661
29661
|
[
|
|
29662
29662
|
"NaN",
|
|
29663
|
-
|
|
29663
|
+
0 / 0
|
|
29664
29664
|
]
|
|
29665
29665
|
]);
|
|
29666
29666
|
function evaluateCached(e1, t) {
|
|
@@ -42869,7 +42869,7 @@
|
|
|
42869
42869
|
case "I":
|
|
42870
42870
|
return read(), literal("nfinity"), newToken("numeric", 1 / 0);
|
|
42871
42871
|
case "N":
|
|
42872
|
-
return read(), literal("aN"), newToken("numeric",
|
|
42872
|
+
return read(), literal("aN"), newToken("numeric", 0 / 0);
|
|
42873
42873
|
case '"':
|
|
42874
42874
|
case "'":
|
|
42875
42875
|
return y = '"' === read(), f = "", void (m = "string");
|
|
@@ -42936,7 +42936,7 @@
|
|
|
42936
42936
|
case "I":
|
|
42937
42937
|
return read(), literal("nfinity"), newToken("numeric", 1 / 0 * b);
|
|
42938
42938
|
case "N":
|
|
42939
|
-
return read(), literal("aN"), newToken("numeric",
|
|
42939
|
+
return read(), literal("aN"), newToken("numeric", 0 / 0);
|
|
42940
42940
|
}
|
|
42941
42941
|
throw invalidChar(read());
|
|
42942
42942
|
},
|