@rsbuild/core 2.3.3 → 2.3.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/compiled/css-loader/index.js +2 -2
- package/compiled/html-rspack-plugin/index.js +14 -14
- package/compiled/http-proxy-middleware/index.d.ts +2 -0
- package/compiled/http-proxy-middleware/package.json +1 -1
- package/compiled/postcss/index.js +1 -1
- package/compiled/postcss-loader/index.js +160 -38
- package/compiled/postcss-loader/package.json +1 -1
- package/compiled/rspack-chain/package.json +1 -1
- package/compiled/rspack-chain/types/index.d.ts +3 -0
- package/dist/client/hmr.js +19 -8
- package/dist/http-proxy-middleware.js +8 -4
- package/dist/index.d.ts +1 -1
- package/dist/m.js +234 -121
- package/dist/manifest-plugin.js +1 -1
- package/dist/range-parser.js +86 -48
- package/dist/rslib-runtime.js +9 -6
- package/dist/server/buildManager.d.ts +3 -2
- package/dist/server/devServer.d.ts +2 -0
- package/dist/server/socketServer.d.ts +9 -2
- package/dist/types/config.d.ts +7 -2
- package/package.json +8 -12
- package/types.d.ts +9 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(() => {
|
|
2
2
|
var __webpack_modules__ = {
|
|
3
|
-
|
|
3
|
+
458: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
4
4
|
"use strict";
|
|
5
|
-
const { HtmlWebpackChildCompiler } = __nccwpck_require__(
|
|
5
|
+
const { HtmlWebpackChildCompiler } = __nccwpck_require__(979);
|
|
6
6
|
const compilerMap = new WeakMap();
|
|
7
7
|
class CachedChildCompilation {
|
|
8
8
|
constructor(compiler) {
|
|
@@ -307,7 +307,7 @@
|
|
|
307
307
|
}
|
|
308
308
|
module.exports = { CachedChildCompilation };
|
|
309
309
|
},
|
|
310
|
-
|
|
310
|
+
979: (module) => {
|
|
311
311
|
"use strict";
|
|
312
312
|
class HtmlWebpackChildCompiler {
|
|
313
313
|
compilationPromise;
|
|
@@ -476,7 +476,7 @@
|
|
|
476
476
|
}
|
|
477
477
|
module.exports = { HtmlWebpackChildCompiler };
|
|
478
478
|
},
|
|
479
|
-
|
|
479
|
+
993: (module) => {
|
|
480
480
|
"use strict";
|
|
481
481
|
function none(chunks) {
|
|
482
482
|
return chunks;
|
|
@@ -492,7 +492,7 @@
|
|
|
492
492
|
}
|
|
493
493
|
module.exports = { auto: none, manual, none };
|
|
494
494
|
},
|
|
495
|
-
|
|
495
|
+
816: (module) => {
|
|
496
496
|
"use strict";
|
|
497
497
|
module.exports = function (err) {
|
|
498
498
|
return {
|
|
@@ -516,7 +516,7 @@
|
|
|
516
516
|
};
|
|
517
517
|
};
|
|
518
518
|
},
|
|
519
|
-
|
|
519
|
+
687: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
520
520
|
"use strict";
|
|
521
521
|
const { AsyncSeriesWaterfallHook } = __nccwpck_require__(537);
|
|
522
522
|
const htmlWebpackPluginHooksMap = new WeakMap();
|
|
@@ -542,7 +542,7 @@
|
|
|
542
542
|
}
|
|
543
543
|
module.exports = { getHtmlRspackPluginHooks };
|
|
544
544
|
},
|
|
545
|
-
|
|
545
|
+
302: (module) => {
|
|
546
546
|
const voidTags = [
|
|
547
547
|
"area",
|
|
548
548
|
"base",
|
|
@@ -610,19 +610,19 @@
|
|
|
610
610
|
htmlTagObjectToString,
|
|
611
611
|
};
|
|
612
612
|
},
|
|
613
|
-
|
|
613
|
+
391: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
614
614
|
"use strict";
|
|
615
615
|
const promisify = __nccwpck_require__(23).promisify;
|
|
616
616
|
const vm = __nccwpck_require__(154);
|
|
617
617
|
const fs = __nccwpck_require__(896);
|
|
618
618
|
const path = __nccwpck_require__(928);
|
|
619
|
-
const { CachedChildCompilation } = __nccwpck_require__(
|
|
619
|
+
const { CachedChildCompilation } = __nccwpck_require__(458);
|
|
620
620
|
const { createHtmlTagObject, htmlTagObjectToString, HtmlTagArray } =
|
|
621
|
-
__nccwpck_require__(
|
|
622
|
-
const prettyError = __nccwpck_require__(
|
|
623
|
-
const chunkSorter = __nccwpck_require__(
|
|
621
|
+
__nccwpck_require__(302);
|
|
622
|
+
const prettyError = __nccwpck_require__(816);
|
|
623
|
+
const chunkSorter = __nccwpck_require__(993);
|
|
624
624
|
const getHtmlRspackPluginHooks =
|
|
625
|
-
__nccwpck_require__(
|
|
625
|
+
__nccwpck_require__(687).getHtmlRspackPluginHooks;
|
|
626
626
|
const WITH_PLACEHOLDER = "function __with_placeholder__";
|
|
627
627
|
class HtmlRspackPlugin {
|
|
628
628
|
constructor(userOptions = {}) {
|
|
@@ -2445,6 +2445,6 @@
|
|
|
2445
2445
|
}
|
|
2446
2446
|
if (typeof __nccwpck_require__ !== "undefined")
|
|
2447
2447
|
__nccwpck_require__.ab = __dirname + "/";
|
|
2448
|
-
var __webpack_exports__ = __nccwpck_require__(
|
|
2448
|
+
var __webpack_exports__ = __nccwpck_require__(391);
|
|
2449
2449
|
module.exports = __webpack_exports__;
|
|
2450
2450
|
})();
|
|
@@ -75,6 +75,8 @@ interface ProxyServerOptions {
|
|
|
75
75
|
};
|
|
76
76
|
/** Timeout (in milliseconds) when proxy receives no response from target. Default: 120000 (2 minutes) */
|
|
77
77
|
proxyTimeout?: number;
|
|
78
|
+
/** Total time in milliseconds to receive upstream WebSocket response headers or an upgrade. Omitted, non-positive, and non-finite values disable the deadline. */
|
|
79
|
+
upgradeTimeout?: number;
|
|
78
80
|
/** Timeout (in milliseconds) for incoming requests */
|
|
79
81
|
timeout?: number;
|
|
80
82
|
/** If set to true, none of the webOutgoing passes are called and it's your responsibility to appropriately return the response by listening and acting on the proxyRes event */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"http-proxy-middleware","author":"Steven Chim","version":"4.2.
|
|
1
|
+
{"name":"http-proxy-middleware","author":"Steven Chim","version":"4.2.2","license":"MIT","types":"index.d.ts","type":"module"}
|