@rsbuild/core 2.0.0-beta.4 → 2.0.0-beta.6
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/css-loader/package.json +1 -1
- package/compiled/html-rspack-plugin/index.js +16 -16
- package/compiled/postcss-loader/index.js +7 -6
- package/compiled/postcss-loader/package.json +1 -1
- package/dist/131.js +191 -189
- package/dist/launch-editor-middleware.js +16 -11
- package/dist/manifest-plugin.js +5 -5
- package/dist-types/hooks.d.ts +3 -3
- package/dist-types/index.d.ts +3 -2
- package/dist-types/server/devMiddlewares.d.ts +4 -6
- package/dist-types/server/devServer.d.ts +8 -42
- package/dist-types/server/helper.d.ts +47 -15
- package/dist-types/server/middlewares.d.ts +1 -2
- package/dist-types/server/open.d.ts +2 -2
- package/dist-types/server/previewServer.d.ts +4 -0
- package/dist-types/server/serverSetup.d.ts +2 -0
- package/dist-types/server/socketServer.d.ts +3 -0
- package/dist-types/types/config.d.ts +45 -1
- package/dist-types/types/hooks.d.ts +13 -3
- package/dist-types/types/plugin.d.ts +5 -5
- package/dist-types/types/rsbuild.d.ts +4 -4
- package/package.json +8 -8
- package/dist-types/server/prodServer.d.ts +0 -24
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"css-loader","author":"Tobias Koppers @sokra","version":"7.1.
|
|
1
|
+
{"name":"css-loader","author":"Tobias Koppers @sokra","version":"7.1.4","funding":{"type":"opencollective","url":"https://opencollective.com/webpack"},"license":"MIT","types":"index.d.ts","type":"commonjs"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(() => {
|
|
2
2
|
var __webpack_modules__ = {
|
|
3
|
-
|
|
3
|
+
944: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
4
4
|
"use strict";
|
|
5
|
-
const { HtmlWebpackChildCompiler } = __nccwpck_require__(
|
|
5
|
+
const { HtmlWebpackChildCompiler } = __nccwpck_require__(397);
|
|
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
|
+
397: (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
|
+
963: (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
|
+
230: (module) => {
|
|
503
503
|
"use strict";
|
|
504
504
|
module.exports = function (err) {
|
|
505
505
|
return {
|
|
@@ -523,9 +523,9 @@
|
|
|
523
523
|
};
|
|
524
524
|
};
|
|
525
525
|
},
|
|
526
|
-
|
|
526
|
+
613: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
527
527
|
"use strict";
|
|
528
|
-
const { AsyncSeriesWaterfallHook } = __nccwpck_require__(
|
|
528
|
+
const { AsyncSeriesWaterfallHook } = __nccwpck_require__(159);
|
|
529
529
|
const htmlWebpackPluginHooksMap = new WeakMap();
|
|
530
530
|
function getHtmlRspackPluginHooks(compilation) {
|
|
531
531
|
let hooks = htmlWebpackPluginHooksMap.get(compilation);
|
|
@@ -549,7 +549,7 @@
|
|
|
549
549
|
}
|
|
550
550
|
module.exports = { getHtmlRspackPluginHooks };
|
|
551
551
|
},
|
|
552
|
-
|
|
552
|
+
860: (module) => {
|
|
553
553
|
const voidTags = [
|
|
554
554
|
"area",
|
|
555
555
|
"base",
|
|
@@ -617,19 +617,19 @@
|
|
|
617
617
|
htmlTagObjectToString,
|
|
618
618
|
};
|
|
619
619
|
},
|
|
620
|
-
|
|
620
|
+
281: (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__(944);
|
|
627
627
|
const { createHtmlTagObject, htmlTagObjectToString, HtmlTagArray } =
|
|
628
|
-
__nccwpck_require__(
|
|
629
|
-
const prettyError = __nccwpck_require__(
|
|
630
|
-
const chunkSorter = __nccwpck_require__(
|
|
628
|
+
__nccwpck_require__(860);
|
|
629
|
+
const prettyError = __nccwpck_require__(230);
|
|
630
|
+
const chunkSorter = __nccwpck_require__(963);
|
|
631
631
|
const getHtmlRspackPluginHooks =
|
|
632
|
-
__nccwpck_require__(
|
|
632
|
+
__nccwpck_require__(613).getHtmlRspackPluginHooks;
|
|
633
633
|
const WITH_PLACEHOLDER = "function __with_placeholder__";
|
|
634
634
|
class HtmlRspackPlugin {
|
|
635
635
|
constructor(userOptions = {}) {
|
|
@@ -1573,7 +1573,7 @@
|
|
|
1573
1573
|
"use strict";
|
|
1574
1574
|
module.exports = require("vm");
|
|
1575
1575
|
},
|
|
1576
|
-
|
|
1576
|
+
159: (__unused_webpack_module, exports) => {
|
|
1577
1577
|
"use strict";
|
|
1578
1578
|
var __nested_webpack_require_18__ = {};
|
|
1579
1579
|
(() => {
|
|
@@ -2443,6 +2443,6 @@
|
|
|
2443
2443
|
}
|
|
2444
2444
|
if (typeof __nccwpck_require__ !== "undefined")
|
|
2445
2445
|
__nccwpck_require__.ab = __dirname + "/";
|
|
2446
|
-
var __webpack_exports__ = __nccwpck_require__(
|
|
2446
|
+
var __webpack_exports__ = __nccwpck_require__(281);
|
|
2447
2447
|
module.exports = __webpack_exports__;
|
|
2448
2448
|
})();
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
(() => {
|
|
2
2
|
"use strict";
|
|
3
3
|
var __webpack_modules__ = {
|
|
4
|
-
|
|
5
|
-
module.exports = __nccwpck_require__(
|
|
4
|
+
120: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
5
|
+
module.exports = __nccwpck_require__(102)["default"];
|
|
6
6
|
},
|
|
7
|
-
|
|
7
|
+
102: (__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
8
8
|
var __webpack_unused_export__;
|
|
9
9
|
__webpack_unused_export__ = { value: true };
|
|
10
10
|
exports["default"] = loader;
|
|
11
11
|
var _nodePath = _interopRequireDefault(__nccwpck_require__(760));
|
|
12
|
-
var _utils = __nccwpck_require__(
|
|
12
|
+
var _utils = __nccwpck_require__(351);
|
|
13
13
|
function _interopRequireDefault(e) {
|
|
14
14
|
return e && e.__esModule ? e : { default: e };
|
|
15
15
|
}
|
|
@@ -179,7 +179,7 @@
|
|
|
179
179
|
callback(null, result.css, map, { ast });
|
|
180
180
|
}
|
|
181
181
|
},
|
|
182
|
-
|
|
182
|
+
351: (module, exports, __nccwpck_require__) => {
|
|
183
183
|
module = __nccwpck_require__.nmd(module);
|
|
184
184
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
185
185
|
exports.exec = exec;
|
|
@@ -357,6 +357,7 @@
|
|
|
357
357
|
} catch (error) {
|
|
358
358
|
throw new Error(
|
|
359
359
|
`Loading PostCSS "${plugin}" plugin failed: ${error.message}\n\n(@${file})`,
|
|
360
|
+
{ cause: error },
|
|
360
361
|
);
|
|
361
362
|
}
|
|
362
363
|
}
|
|
@@ -715,6 +716,6 @@
|
|
|
715
716
|
})();
|
|
716
717
|
if (typeof __nccwpck_require__ !== "undefined")
|
|
717
718
|
__nccwpck_require__.ab = __dirname + "/";
|
|
718
|
-
var __webpack_exports__ = __nccwpck_require__(
|
|
719
|
+
var __webpack_exports__ = __nccwpck_require__(120);
|
|
719
720
|
module.exports = __webpack_exports__;
|
|
720
721
|
})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"postcss-loader","author":"Andrey Sitnik <andrey@sitnik.ru>","version":"8.2.
|
|
1
|
+
{"name":"postcss-loader","author":"Andrey Sitnik <andrey@sitnik.ru>","version":"8.2.1","funding":{"type":"opencollective","url":"https://opencollective.com/webpack"},"license":"MIT","types":"index.d.ts","type":"commonjs"}
|