@rsbuild/core 2.0.0-rc.0 → 2.0.0-rc.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/compiled/connect-next/package.json +1 -1
- 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 +180 -386
- package/compiled/http-proxy-middleware/package.json +1 -1
- package/compiled/postcss/index.js +1 -1
- package/compiled/postcss/lib/at-rule.d.ts +0 -1
- package/compiled/postcss/lib/comment.d.ts +0 -1
- package/compiled/postcss/lib/container.d.ts +1 -6
- package/compiled/postcss/lib/css-syntax-error.d.ts +0 -1
- package/compiled/postcss/lib/declaration.d.ts +0 -1
- package/compiled/postcss/lib/document.d.ts +0 -1
- package/compiled/postcss/lib/fromJSON.d.ts +1 -1
- package/compiled/postcss/lib/input.d.ts +0 -1
- package/compiled/postcss/lib/lazy-result.d.ts +3 -4
- package/compiled/postcss/lib/list.d.ts +1 -1
- package/compiled/postcss/lib/no-work-result.d.ts +0 -1
- package/compiled/postcss/lib/node.d.ts +0 -1
- package/compiled/postcss/lib/parse.d.ts +1 -1
- package/compiled/postcss/lib/postcss.d.ts +1 -3
- package/compiled/postcss/lib/previous-map.d.ts +0 -1
- package/compiled/postcss/lib/processor.d.ts +0 -1
- package/compiled/postcss/lib/result.d.ts +0 -1
- package/compiled/postcss/lib/root.d.ts +0 -1
- package/compiled/postcss/lib/rule.d.ts +12 -12
- package/compiled/postcss/lib/stringifier.d.ts +0 -1
- package/compiled/postcss/lib/stringify.d.ts +1 -1
- package/compiled/postcss/lib/warning.d.ts +0 -1
- package/compiled/postcss/license +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 +38 -115
- package/dist/1~rslib-runtime.js +1 -1
- package/dist/{552.js → 753.js} +143 -196
- package/dist/client/hmr.js +23 -10
- package/dist/connect-next.js +636 -26
- package/dist/connect-next.js.LICENSE.txt +14 -1
- package/dist/http-proxy-middleware.js +1169 -1226
- package/dist/http-proxy-middleware.js.LICENSE.txt +0 -35
- package/dist/index.js +1 -1
- package/dist/launch-editor-middleware.js +6 -6
- package/dist/manifest-plugin.js +8 -8
- package/dist/memfs.js +16 -56
- package/dist/tinyglobby.js +279 -127
- package/dist/ws.js +2 -2
- package/dist-types/client/hmr.d.ts +1 -1
- package/dist-types/helpers/index.d.ts +1 -1
- package/dist-types/helpers/url.d.ts +1 -1
- package/dist-types/pluginHelper.d.ts +1 -8
- package/dist-types/server/devServer.d.ts +9 -7
- package/dist-types/server/socketServer.d.ts +16 -4
- package/dist-types/types/config.d.ts +9 -3
- package/dist-types/types/rspack.d.ts +1 -1
- package/package.json +11 -11
- package/dist/debug.js +0 -503
- package/dist-types/plugins/esm.d.ts +0 -2
- /package/dist/{552.js.LICENSE.txt → 753.js.LICENSE.txt} +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(() => {
|
|
2
2
|
var __webpack_modules__ = {
|
|
3
|
-
|
|
3
|
+
171: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
4
4
|
"use strict";
|
|
5
|
-
const { HtmlWebpackChildCompiler } = __nccwpck_require__(
|
|
5
|
+
const { HtmlWebpackChildCompiler } = __nccwpck_require__(968);
|
|
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
|
+
968: (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
|
+
248: (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
|
+
263: (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
|
+
550: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
527
527
|
"use strict";
|
|
528
528
|
const { AsyncSeriesWaterfallHook } = __nccwpck_require__(159);
|
|
529
529
|
const htmlWebpackPluginHooksMap = new WeakMap();
|
|
@@ -549,7 +549,7 @@
|
|
|
549
549
|
}
|
|
550
550
|
module.exports = { getHtmlRspackPluginHooks };
|
|
551
551
|
},
|
|
552
|
-
|
|
552
|
+
203: (module) => {
|
|
553
553
|
const voidTags = [
|
|
554
554
|
"area",
|
|
555
555
|
"base",
|
|
@@ -617,19 +617,19 @@
|
|
|
617
617
|
htmlTagObjectToString,
|
|
618
618
|
};
|
|
619
619
|
},
|
|
620
|
-
|
|
620
|
+
810: (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__(171);
|
|
627
627
|
const { createHtmlTagObject, htmlTagObjectToString, HtmlTagArray } =
|
|
628
|
-
__nccwpck_require__(
|
|
629
|
-
const prettyError = __nccwpck_require__(
|
|
630
|
-
const chunkSorter = __nccwpck_require__(
|
|
628
|
+
__nccwpck_require__(203);
|
|
629
|
+
const prettyError = __nccwpck_require__(263);
|
|
630
|
+
const chunkSorter = __nccwpck_require__(248);
|
|
631
631
|
const getHtmlRspackPluginHooks =
|
|
632
|
-
__nccwpck_require__(
|
|
632
|
+
__nccwpck_require__(550).getHtmlRspackPluginHooks;
|
|
633
633
|
const WITH_PLACEHOLDER = "function __with_placeholder__";
|
|
634
634
|
class HtmlRspackPlugin {
|
|
635
635
|
constructor(userOptions = {}) {
|
|
@@ -2398,6 +2398,6 @@
|
|
|
2398
2398
|
}
|
|
2399
2399
|
if (typeof __nccwpck_require__ !== "undefined")
|
|
2400
2400
|
__nccwpck_require__.ab = __dirname + "/";
|
|
2401
|
-
var __webpack_exports__ = __nccwpck_require__(
|
|
2401
|
+
var __webpack_exports__ = __nccwpck_require__(810);
|
|
2402
2402
|
module.exports = __webpack_exports__;
|
|
2403
2403
|
})();
|