@rsbuild/core 0.7.5 → 0.7.7
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 +20 -20
- package/compiled/postcss-load-config/index.js +10 -10
- package/compiled/postcss-loader/index.js +15 -15
- package/compiled/rspack-manifest-plugin/index.js +4 -4
- package/compiled/style-loader/index.js +10 -10
- package/compiled/webpack-dev-middleware/index.js +31 -31
- package/dist/client/hmr.js +10 -6
- package/dist/client/overlay.js +1 -1
- package/dist/index.cjs +100 -62
- package/dist/index.js +118 -78
- package/dist-types/client/format.d.ts +1 -1
- package/dist-types/config.d.ts +2 -1
- package/dist-types/index.d.ts +1 -1
- package/package.json +4 -4
- package/types.d.ts +12 -0
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
/******/ (() => { // webpackBootstrap
|
|
2
2
|
/******/ var __webpack_modules__ = ({
|
|
3
3
|
|
|
4
|
-
/***/
|
|
4
|
+
/***/ 3998:
|
|
5
5
|
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
6
6
|
|
|
7
7
|
"use strict";
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
const loader = __nccwpck_require__(
|
|
10
|
+
const loader = __nccwpck_require__(5296);
|
|
11
11
|
module.exports = loader.default;
|
|
12
|
-
module.exports.defaultGetLocalIdent = __nccwpck_require__(
|
|
12
|
+
module.exports.defaultGetLocalIdent = __nccwpck_require__(466).defaultGetLocalIdent;
|
|
13
13
|
|
|
14
14
|
/***/ }),
|
|
15
15
|
|
|
16
|
-
/***/
|
|
16
|
+
/***/ 5296:
|
|
17
17
|
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
18
18
|
|
|
19
19
|
"use strict";
|
|
@@ -26,9 +26,9 @@ exports["default"] = loader;
|
|
|
26
26
|
var _postcss = _interopRequireDefault(__nccwpck_require__(977));
|
|
27
27
|
var _package = _interopRequireDefault(__nccwpck_require__(5446));
|
|
28
28
|
var _semver = __nccwpck_require__(1280);
|
|
29
|
-
var _options = _interopRequireDefault(__nccwpck_require__(
|
|
30
|
-
var _plugins = __nccwpck_require__(
|
|
31
|
-
var _utils = __nccwpck_require__(
|
|
29
|
+
var _options = _interopRequireDefault(__nccwpck_require__(890));
|
|
30
|
+
var _plugins = __nccwpck_require__(5472);
|
|
31
|
+
var _utils = __nccwpck_require__(466);
|
|
32
32
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
33
33
|
/*
|
|
34
34
|
MIT License http://www.opensource.org/licenses/mit-license.php
|
|
@@ -198,7 +198,7 @@ async function loader(content, map, meta) {
|
|
|
198
198
|
|
|
199
199
|
/***/ }),
|
|
200
200
|
|
|
201
|
-
/***/
|
|
201
|
+
/***/ 5472:
|
|
202
202
|
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
203
203
|
|
|
204
204
|
"use strict";
|
|
@@ -225,14 +225,14 @@ Object.defineProperty(exports, "urlParser", ({
|
|
|
225
225
|
return _postcssUrlParser.default;
|
|
226
226
|
}
|
|
227
227
|
}));
|
|
228
|
-
var _postcssImportParser = _interopRequireDefault(__nccwpck_require__(
|
|
229
|
-
var _postcssIcssParser = _interopRequireDefault(__nccwpck_require__(
|
|
230
|
-
var _postcssUrlParser = _interopRequireDefault(__nccwpck_require__(
|
|
228
|
+
var _postcssImportParser = _interopRequireDefault(__nccwpck_require__(6065));
|
|
229
|
+
var _postcssIcssParser = _interopRequireDefault(__nccwpck_require__(4659));
|
|
230
|
+
var _postcssUrlParser = _interopRequireDefault(__nccwpck_require__(9633));
|
|
231
231
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
232
232
|
|
|
233
233
|
/***/ }),
|
|
234
234
|
|
|
235
|
-
/***/
|
|
235
|
+
/***/ 4659:
|
|
236
236
|
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
237
237
|
|
|
238
238
|
"use strict";
|
|
@@ -243,7 +243,7 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
243
243
|
}));
|
|
244
244
|
exports["default"] = void 0;
|
|
245
245
|
var _icssUtils = __nccwpck_require__(3275);
|
|
246
|
-
var _utils = __nccwpck_require__(
|
|
246
|
+
var _utils = __nccwpck_require__(466);
|
|
247
247
|
const plugin = (options = {}) => {
|
|
248
248
|
return {
|
|
249
249
|
postcssPlugin: "postcss-icss-parser",
|
|
@@ -352,7 +352,7 @@ var _default = exports["default"] = plugin;
|
|
|
352
352
|
|
|
353
353
|
/***/ }),
|
|
354
354
|
|
|
355
|
-
/***/
|
|
355
|
+
/***/ 6065:
|
|
356
356
|
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
357
357
|
|
|
358
358
|
"use strict";
|
|
@@ -363,7 +363,7 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
363
363
|
}));
|
|
364
364
|
exports["default"] = void 0;
|
|
365
365
|
var _postcssValueParser = _interopRequireDefault(__nccwpck_require__(1036));
|
|
366
|
-
var _utils = __nccwpck_require__(
|
|
366
|
+
var _utils = __nccwpck_require__(466);
|
|
367
367
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
368
368
|
function isIgnoredAfterName(atRule) {
|
|
369
369
|
if (atRule.raws && atRule.raws.afterName && atRule.raws.afterName.trim().length > 0) {
|
|
@@ -652,7 +652,7 @@ var _default = exports["default"] = plugin;
|
|
|
652
652
|
|
|
653
653
|
/***/ }),
|
|
654
654
|
|
|
655
|
-
/***/
|
|
655
|
+
/***/ 9633:
|
|
656
656
|
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
657
657
|
|
|
658
658
|
"use strict";
|
|
@@ -663,7 +663,7 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
663
663
|
}));
|
|
664
664
|
exports["default"] = void 0;
|
|
665
665
|
var _postcssValueParser = _interopRequireDefault(__nccwpck_require__(1036));
|
|
666
|
-
var _utils = __nccwpck_require__(
|
|
666
|
+
var _utils = __nccwpck_require__(466);
|
|
667
667
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
668
668
|
const isUrlFunc = /url/i;
|
|
669
669
|
const isImageSetFunc = /^(?:-webkit-)?image-set$/i;
|
|
@@ -1015,7 +1015,7 @@ var _default = exports["default"] = plugin;
|
|
|
1015
1015
|
|
|
1016
1016
|
/***/ }),
|
|
1017
1017
|
|
|
1018
|
-
/***/
|
|
1018
|
+
/***/ 466:
|
|
1019
1019
|
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
1020
1020
|
|
|
1021
1021
|
"use strict";
|
|
@@ -7318,7 +7318,7 @@ module.exports = require("util");
|
|
|
7318
7318
|
|
|
7319
7319
|
/***/ }),
|
|
7320
7320
|
|
|
7321
|
-
/***/
|
|
7321
|
+
/***/ 890:
|
|
7322
7322
|
/***/ ((module) => {
|
|
7323
7323
|
|
|
7324
7324
|
"use strict";
|
|
@@ -7376,7 +7376,7 @@ module.exports = JSON.parse('{"name":"postcss","version":"8.4.38","description":
|
|
|
7376
7376
|
/******/ // startup
|
|
7377
7377
|
/******/ // Load entry module and return exports
|
|
7378
7378
|
/******/ // This entry module is referenced by other modules so it can't be inlined
|
|
7379
|
-
/******/ var __webpack_exports__ = __nccwpck_require__(
|
|
7379
|
+
/******/ var __webpack_exports__ = __nccwpck_require__(3998);
|
|
7380
7380
|
/******/ module.exports = __webpack_exports__;
|
|
7381
7381
|
/******/
|
|
7382
7382
|
/******/ })()
|
|
@@ -463,7 +463,7 @@ module.exports.lilconfigSync = function lilconfigSync(name, options) {
|
|
|
463
463
|
|
|
464
464
|
/***/ }),
|
|
465
465
|
|
|
466
|
-
/***/
|
|
466
|
+
/***/ 449:
|
|
467
467
|
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
468
468
|
|
|
469
469
|
// @ts-check
|
|
@@ -471,9 +471,9 @@ const { resolve } = __nccwpck_require__(411)
|
|
|
471
471
|
|
|
472
472
|
const config = __nccwpck_require__(882)
|
|
473
473
|
|
|
474
|
-
const loadOptions = __nccwpck_require__(
|
|
475
|
-
const loadPlugins = __nccwpck_require__(
|
|
476
|
-
const req = __nccwpck_require__(
|
|
474
|
+
const loadOptions = __nccwpck_require__(564)
|
|
475
|
+
const loadPlugins = __nccwpck_require__(981)
|
|
476
|
+
const req = __nccwpck_require__(894)
|
|
477
477
|
|
|
478
478
|
const interopRequireDefault = obj =>
|
|
479
479
|
obj && obj.__esModule ? obj : { default: obj }
|
|
@@ -648,11 +648,11 @@ module.exports = rc
|
|
|
648
648
|
|
|
649
649
|
/***/ }),
|
|
650
650
|
|
|
651
|
-
/***/
|
|
651
|
+
/***/ 564:
|
|
652
652
|
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
653
653
|
|
|
654
654
|
// @ts-check
|
|
655
|
-
const req = __nccwpck_require__(
|
|
655
|
+
const req = __nccwpck_require__(894)
|
|
656
656
|
|
|
657
657
|
/**
|
|
658
658
|
* Load Options
|
|
@@ -703,11 +703,11 @@ module.exports = options
|
|
|
703
703
|
|
|
704
704
|
/***/ }),
|
|
705
705
|
|
|
706
|
-
/***/
|
|
706
|
+
/***/ 981:
|
|
707
707
|
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
708
708
|
|
|
709
709
|
// @ts-check
|
|
710
|
-
const req = __nccwpck_require__(
|
|
710
|
+
const req = __nccwpck_require__(894)
|
|
711
711
|
|
|
712
712
|
/**
|
|
713
713
|
* Plugin Loader
|
|
@@ -799,7 +799,7 @@ module.exports = plugins
|
|
|
799
799
|
|
|
800
800
|
/***/ }),
|
|
801
801
|
|
|
802
|
-
/***/
|
|
802
|
+
/***/ 894:
|
|
803
803
|
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
804
804
|
|
|
805
805
|
// @ts-check
|
|
@@ -1043,7 +1043,7 @@ module.exports = require("yaml");
|
|
|
1043
1043
|
/******/ // startup
|
|
1044
1044
|
/******/ // Load entry module and return exports
|
|
1045
1045
|
/******/ // This entry module is referenced by other modules so it can't be inlined
|
|
1046
|
-
/******/ var __webpack_exports__ = __nccwpck_require__(
|
|
1046
|
+
/******/ var __webpack_exports__ = __nccwpck_require__(449);
|
|
1047
1047
|
/******/ module.exports = __webpack_exports__;
|
|
1048
1048
|
/******/
|
|
1049
1049
|
/******/ })()
|
|
@@ -7583,7 +7583,7 @@ module.exports = filepath => {
|
|
|
7583
7583
|
const errorEx = __nccwpck_require__(7861);
|
|
7584
7584
|
const fallback = __nccwpck_require__(3984);
|
|
7585
7585
|
const {default: LinesAndColumns} = __nccwpck_require__(7151);
|
|
7586
|
-
const {codeFrameColumns} = __nccwpck_require__(
|
|
7586
|
+
const {codeFrameColumns} = __nccwpck_require__(4319);
|
|
7587
7587
|
|
|
7588
7588
|
const JSONError = errorEx('JSONError', {
|
|
7589
7589
|
fileName: errorEx.append('in %s'),
|
|
@@ -7709,17 +7709,17 @@ module.exports.createColors = createColors
|
|
|
7709
7709
|
|
|
7710
7710
|
/***/ }),
|
|
7711
7711
|
|
|
7712
|
-
/***/
|
|
7712
|
+
/***/ 1928:
|
|
7713
7713
|
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
7714
7714
|
|
|
7715
7715
|
"use strict";
|
|
7716
7716
|
|
|
7717
7717
|
|
|
7718
|
-
module.exports = __nccwpck_require__(
|
|
7718
|
+
module.exports = __nccwpck_require__(491)["default"];
|
|
7719
7719
|
|
|
7720
7720
|
/***/ }),
|
|
7721
7721
|
|
|
7722
|
-
/***/
|
|
7722
|
+
/***/ 491:
|
|
7723
7723
|
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
7724
7724
|
|
|
7725
7725
|
"use strict";
|
|
@@ -7732,8 +7732,8 @@ __webpack_unused_export__ = ({
|
|
|
7732
7732
|
exports["default"] = loader;
|
|
7733
7733
|
var _path = _interopRequireDefault(__nccwpck_require__(1017));
|
|
7734
7734
|
var _package = _interopRequireDefault(__nccwpck_require__(5446));
|
|
7735
|
-
var _options = _interopRequireDefault(__nccwpck_require__(
|
|
7736
|
-
var _utils = __nccwpck_require__(
|
|
7735
|
+
var _options = _interopRequireDefault(__nccwpck_require__(2598));
|
|
7736
|
+
var _utils = __nccwpck_require__(4911);
|
|
7737
7737
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
7738
7738
|
let hasExplicitDependencyOnPostCSS = false;
|
|
7739
7739
|
|
|
@@ -7899,7 +7899,7 @@ async function loader(content, sourceMap, meta) {
|
|
|
7899
7899
|
|
|
7900
7900
|
/***/ }),
|
|
7901
7901
|
|
|
7902
|
-
/***/
|
|
7902
|
+
/***/ 4911:
|
|
7903
7903
|
/***/ ((module, exports, __nccwpck_require__) => {
|
|
7904
7904
|
|
|
7905
7905
|
"use strict";
|
|
@@ -8673,7 +8673,7 @@ module.exports = require("util");
|
|
|
8673
8673
|
|
|
8674
8674
|
/***/ }),
|
|
8675
8675
|
|
|
8676
|
-
/***/
|
|
8676
|
+
/***/ 4319:
|
|
8677
8677
|
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
8678
8678
|
|
|
8679
8679
|
"use strict";
|
|
@@ -8684,10 +8684,10 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
8684
8684
|
}));
|
|
8685
8685
|
exports.codeFrameColumns = codeFrameColumns;
|
|
8686
8686
|
exports["default"] = _default;
|
|
8687
|
-
var _highlight = __nccwpck_require__(
|
|
8687
|
+
var _highlight = __nccwpck_require__(5247);
|
|
8688
8688
|
var _picocolors = _interopRequireWildcard(__nccwpck_require__(701), true);
|
|
8689
8689
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
8690
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u &&
|
|
8690
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
8691
8691
|
const colors = typeof process === "object" && (process.env.FORCE_COLOR === "0" || process.env.FORCE_COLOR === "false") ? (0, _picocolors.createColors)(false) : _picocolors.default;
|
|
8692
8692
|
const compose = (f, g) => v => f(g(v));
|
|
8693
8693
|
let pcWithForcedColor = undefined;
|
|
@@ -9023,7 +9023,7 @@ function isKeyword(word) {
|
|
|
9023
9023
|
|
|
9024
9024
|
/***/ }),
|
|
9025
9025
|
|
|
9026
|
-
/***/
|
|
9026
|
+
/***/ 5247:
|
|
9027
9027
|
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
9028
9028
|
|
|
9029
9029
|
"use strict";
|
|
@@ -9038,7 +9038,7 @@ var _jsTokens = __nccwpck_require__(1192);
|
|
|
9038
9038
|
var _helperValidatorIdentifier = __nccwpck_require__(6764);
|
|
9039
9039
|
var _picocolors = _interopRequireWildcard(__nccwpck_require__(701), true);
|
|
9040
9040
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
9041
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u &&
|
|
9041
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
9042
9042
|
const colors = typeof process === "object" && (process.env.FORCE_COLOR === "0" || process.env.FORCE_COLOR === "false") ? (0, _picocolors.createColors)(false) : _picocolors.default;
|
|
9043
9043
|
const compose = (f, g) => v => f(g(v));
|
|
9044
9044
|
const sometimesKeywords = new Set(["as", "async", "from", "get", "of", "set"]);
|
|
@@ -9065,7 +9065,7 @@ let tokenize;
|
|
|
9065
9065
|
if ((0, _helperValidatorIdentifier.isKeyword)(token.value) || (0, _helperValidatorIdentifier.isStrictReservedWord)(token.value, true) || sometimesKeywords.has(token.value)) {
|
|
9066
9066
|
return "keyword";
|
|
9067
9067
|
}
|
|
9068
|
-
if (JSX_TAG.test(token.value) && (text[offset - 1] === "<" || text.slice(offset - 2, offset)
|
|
9068
|
+
if (JSX_TAG.test(token.value) && (text[offset - 1] === "<" || text.slice(offset - 2, offset) === "</")) {
|
|
9069
9069
|
return "jsxIdentifier";
|
|
9070
9070
|
}
|
|
9071
9071
|
if (token.value[0] !== token.value[0].toLowerCase()) {
|
|
@@ -9150,7 +9150,7 @@ function highlight(code, options = {}) {
|
|
|
9150
9150
|
|
|
9151
9151
|
/***/ }),
|
|
9152
9152
|
|
|
9153
|
-
/***/
|
|
9153
|
+
/***/ 2598:
|
|
9154
9154
|
/***/ ((module) => {
|
|
9155
9155
|
|
|
9156
9156
|
"use strict";
|
|
@@ -9278,7 +9278,7 @@ module.exports = JSON.parse('{"name":"postcss","version":"8.4.38","description":
|
|
|
9278
9278
|
/******/ // startup
|
|
9279
9279
|
/******/ // Load entry module and return exports
|
|
9280
9280
|
/******/ // This entry module used 'module' so it can't be inlined
|
|
9281
|
-
/******/ var __webpack_exports__ = __nccwpck_require__(
|
|
9281
|
+
/******/ var __webpack_exports__ = __nccwpck_require__(1928);
|
|
9282
9282
|
/******/ module.exports = __webpack_exports__;
|
|
9283
9283
|
/******/
|
|
9284
9284
|
/******/ })()
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/******/ (() => { // webpackBootstrap
|
|
2
2
|
/******/ var __webpack_modules__ = ({
|
|
3
3
|
|
|
4
|
-
/***/
|
|
4
|
+
/***/ 2854:
|
|
5
5
|
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
6
6
|
|
|
7
7
|
"use strict";
|
|
@@ -105,7 +105,7 @@ exports.transformFiles = transformFiles;
|
|
|
105
105
|
|
|
106
106
|
/***/ }),
|
|
107
107
|
|
|
108
|
-
/***/
|
|
108
|
+
/***/ 2131:
|
|
109
109
|
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
110
110
|
|
|
111
111
|
"use strict";
|
|
@@ -116,7 +116,7 @@ const fs_1 = __nccwpck_require__(7147);
|
|
|
116
116
|
const path_1 = __nccwpck_require__(1017);
|
|
117
117
|
const tapable_1 = __nccwpck_require__(4260);
|
|
118
118
|
const webpack_sources_1 = __nccwpck_require__(5433);
|
|
119
|
-
const helpers_1 = __nccwpck_require__(
|
|
119
|
+
const helpers_1 = __nccwpck_require__(2854);
|
|
120
120
|
const compilerHookMap = new WeakMap();
|
|
121
121
|
const getCompilerHooks = (compiler) => {
|
|
122
122
|
let hooks = compilerHookMap.get(compiler);
|
|
@@ -7751,7 +7751,7 @@ var exports = __webpack_exports__;
|
|
|
7751
7751
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
7752
7752
|
exports.RspackManifestPlugin = exports.WebpackManifestPlugin = exports.getCompilerHooks = void 0;
|
|
7753
7753
|
const path_1 = __nccwpck_require__(1017);
|
|
7754
|
-
const hooks_1 = __nccwpck_require__(
|
|
7754
|
+
const hooks_1 = __nccwpck_require__(2131);
|
|
7755
7755
|
Object.defineProperty(exports, "getCompilerHooks", ({ enumerable: true, get: function () { return hooks_1.getCompilerHooks; } }));
|
|
7756
7756
|
const emitCountMap = new Map();
|
|
7757
7757
|
const defaults = {
|
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
/******/ "use strict";
|
|
3
3
|
/******/ var __webpack_modules__ = ({
|
|
4
4
|
|
|
5
|
-
/***/
|
|
5
|
+
/***/ 269:
|
|
6
6
|
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
const loader = __nccwpck_require__(
|
|
10
|
+
const loader = __nccwpck_require__(457);
|
|
11
11
|
module.exports = loader.default;
|
|
12
12
|
|
|
13
13
|
/***/ }),
|
|
14
14
|
|
|
15
|
-
/***/
|
|
15
|
+
/***/ 457:
|
|
16
16
|
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
17
17
|
|
|
18
18
|
|
|
@@ -22,8 +22,8 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
22
22
|
}));
|
|
23
23
|
exports["default"] = void 0;
|
|
24
24
|
var _path = _interopRequireDefault(__nccwpck_require__(17));
|
|
25
|
-
var _utils = __nccwpck_require__(
|
|
26
|
-
var _options = _interopRequireDefault(__nccwpck_require__(
|
|
25
|
+
var _utils = __nccwpck_require__(551);
|
|
26
|
+
var _options = _interopRequireDefault(__nccwpck_require__(156));
|
|
27
27
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
28
28
|
// eslint-disable-next-line consistent-return
|
|
29
29
|
const loader = function loader(content) {
|
|
@@ -170,7 +170,7 @@ var _default = exports["default"] = loader;
|
|
|
170
170
|
|
|
171
171
|
/***/ }),
|
|
172
172
|
|
|
173
|
-
/***/
|
|
173
|
+
/***/ 522:
|
|
174
174
|
/***/ ((module) => {
|
|
175
175
|
|
|
176
176
|
|
|
@@ -204,7 +204,7 @@ module.exports = isEqualLocals;
|
|
|
204
204
|
|
|
205
205
|
/***/ }),
|
|
206
206
|
|
|
207
|
-
/***/
|
|
207
|
+
/***/ 551:
|
|
208
208
|
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
209
209
|
|
|
210
210
|
|
|
@@ -231,7 +231,7 @@ exports.getStyleTagTransformFnCode = getStyleTagTransformFnCode;
|
|
|
231
231
|
exports.getdomAPI = getdomAPI;
|
|
232
232
|
exports.stringifyRequest = stringifyRequest;
|
|
233
233
|
var _path = _interopRequireDefault(__nccwpck_require__(17));
|
|
234
|
-
var _isEqualLocals = _interopRequireDefault(__nccwpck_require__(
|
|
234
|
+
var _isEqualLocals = _interopRequireDefault(__nccwpck_require__(522));
|
|
235
235
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
236
236
|
const matchRelativePath = /^\.\.?[/\\]/;
|
|
237
237
|
function isAbsolutePath(str) {
|
|
@@ -457,7 +457,7 @@ module.exports = require("path");
|
|
|
457
457
|
|
|
458
458
|
/***/ }),
|
|
459
459
|
|
|
460
|
-
/***/
|
|
460
|
+
/***/ 156:
|
|
461
461
|
/***/ ((module) => {
|
|
462
462
|
|
|
463
463
|
module.exports = JSON.parse('{"title":"Style Loader options","type":"object","properties":{"injectType":{"description":"Allows to setup how styles will be injected into DOM.","link":"https://github.com/webpack-contrib/style-loader#injecttype","enum":["styleTag","singletonStyleTag","autoStyleTag","lazyStyleTag","lazySingletonStyleTag","lazyAutoStyleTag","linkTag"]},"attributes":{"description":"Adds custom attributes to tag.","link":"https://github.com/webpack-contrib/style-loader#attributes","type":"object"},"insert":{"description":"Inserts `<style>`/`<link>` at the given position.","link":"https://github.com/webpack-contrib/style-loader#insert","anyOf":[{"type":"string"},{"instanceof":"Function"}]},"base":{"description":"Sets module ID base for DLLPlugin.","link":"https://github.com/webpack-contrib/style-loader#base","type":"number"},"esModule":{"description":"Use the ES modules syntax.","link":"https://github.com/webpack-contrib/css-loader#esmodule","type":"boolean"},"styleTagTransform":{"description":"Transform tag and css when insert \'style\' tag into the DOM","link":"https://github.com/webpack-contrib/style-loader#styleTagTransform","anyOf":[{"type":"string"},{"instanceof":"Function"}]}},"additionalProperties":false}');
|
|
@@ -506,7 +506,7 @@ module.exports = JSON.parse('{"title":"Style Loader options","type":"object","pr
|
|
|
506
506
|
/******/ // startup
|
|
507
507
|
/******/ // Load entry module and return exports
|
|
508
508
|
/******/ // This entry module is referenced by other modules so it can't be inlined
|
|
509
|
-
/******/ var __webpack_exports__ = __nccwpck_require__(
|
|
509
|
+
/******/ var __webpack_exports__ = __nccwpck_require__(269);
|
|
510
510
|
/******/ module.exports = __webpack_exports__;
|
|
511
511
|
/******/
|
|
512
512
|
/******/ })()
|
|
@@ -4425,7 +4425,7 @@ function sortByRangeStart (a, b) {
|
|
|
4425
4425
|
|
|
4426
4426
|
/***/ }),
|
|
4427
4427
|
|
|
4428
|
-
/***/
|
|
4428
|
+
/***/ 5085:
|
|
4429
4429
|
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
4430
4430
|
|
|
4431
4431
|
|
|
@@ -4434,13 +4434,13 @@ const {
|
|
|
4434
4434
|
validate
|
|
4435
4435
|
} = __nccwpck_require__(5014);
|
|
4436
4436
|
const mime = __nccwpck_require__(4031);
|
|
4437
|
-
const middleware = __nccwpck_require__(
|
|
4438
|
-
const getFilenameFromUrl = __nccwpck_require__(
|
|
4439
|
-
const setupHooks = __nccwpck_require__(
|
|
4440
|
-
const setupWriteToDisk = __nccwpck_require__(
|
|
4441
|
-
const setupOutputFileSystem = __nccwpck_require__(
|
|
4442
|
-
const ready = __nccwpck_require__(
|
|
4443
|
-
const schema = __nccwpck_require__(
|
|
4437
|
+
const middleware = __nccwpck_require__(1300);
|
|
4438
|
+
const getFilenameFromUrl = __nccwpck_require__(8733);
|
|
4439
|
+
const setupHooks = __nccwpck_require__(1423);
|
|
4440
|
+
const setupWriteToDisk = __nccwpck_require__(982);
|
|
4441
|
+
const setupOutputFileSystem = __nccwpck_require__(2460);
|
|
4442
|
+
const ready = __nccwpck_require__(6510);
|
|
4443
|
+
const schema = __nccwpck_require__(6987);
|
|
4444
4444
|
const noop = () => {};
|
|
4445
4445
|
|
|
4446
4446
|
/** @typedef {import("schema-utils/declarations/validate").Schema} Schema */
|
|
@@ -4837,7 +4837,7 @@ module.exports = wdm;
|
|
|
4837
4837
|
|
|
4838
4838
|
/***/ }),
|
|
4839
4839
|
|
|
4840
|
-
/***/
|
|
4840
|
+
/***/ 1300:
|
|
4841
4841
|
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
4842
4842
|
|
|
4843
4843
|
|
|
@@ -4845,16 +4845,16 @@ module.exports = wdm;
|
|
|
4845
4845
|
const path = __nccwpck_require__(1017);
|
|
4846
4846
|
const mime = __nccwpck_require__(4031);
|
|
4847
4847
|
const onFinishedStream = __nccwpck_require__(8772);
|
|
4848
|
-
const getFilenameFromUrl = __nccwpck_require__(
|
|
4848
|
+
const getFilenameFromUrl = __nccwpck_require__(8733);
|
|
4849
4849
|
const {
|
|
4850
4850
|
setStatusCode,
|
|
4851
4851
|
send,
|
|
4852
4852
|
pipe,
|
|
4853
4853
|
createReadStreamOrReadFileSync
|
|
4854
|
-
} = __nccwpck_require__(
|
|
4855
|
-
const ready = __nccwpck_require__(
|
|
4856
|
-
const parseTokenList = __nccwpck_require__(
|
|
4857
|
-
const memorize = __nccwpck_require__(
|
|
4854
|
+
} = __nccwpck_require__(9993);
|
|
4855
|
+
const ready = __nccwpck_require__(6510);
|
|
4856
|
+
const parseTokenList = __nccwpck_require__(1035);
|
|
4857
|
+
const memorize = __nccwpck_require__(6916);
|
|
4858
4858
|
|
|
4859
4859
|
/** @typedef {import("./index.js").NextFunction} NextFunction */
|
|
4860
4860
|
/** @typedef {import("./index.js").IncomingMessage} IncomingMessage */
|
|
@@ -4987,7 +4987,7 @@ function wrapper(context) {
|
|
|
4987
4987
|
*/
|
|
4988
4988
|
function sendError(status, options) {
|
|
4989
4989
|
// eslint-disable-next-line global-require
|
|
4990
|
-
const escapeHtml = __nccwpck_require__(
|
|
4990
|
+
const escapeHtml = __nccwpck_require__(2800);
|
|
4991
4991
|
const content = statuses[status] || String(status);
|
|
4992
4992
|
let document = Buffer.from(`<!DOCTYPE html>
|
|
4993
4993
|
<html lang="en">
|
|
@@ -5301,7 +5301,7 @@ function wrapper(context) {
|
|
|
5301
5301
|
}
|
|
5302
5302
|
if (value) {
|
|
5303
5303
|
// eslint-disable-next-line global-require
|
|
5304
|
-
const result = await __nccwpck_require__(
|
|
5304
|
+
const result = await __nccwpck_require__(2860)(value);
|
|
5305
5305
|
|
|
5306
5306
|
// Because we already read stream, we can cache buffer to avoid extra read from fs
|
|
5307
5307
|
if (result.buffer) {
|
|
@@ -5449,7 +5449,7 @@ module.exports = wrapper;
|
|
|
5449
5449
|
|
|
5450
5450
|
/***/ }),
|
|
5451
5451
|
|
|
5452
|
-
/***/
|
|
5452
|
+
/***/ 9993:
|
|
5453
5453
|
/***/ ((module) => {
|
|
5454
5454
|
|
|
5455
5455
|
|
|
@@ -5558,7 +5558,7 @@ module.exports = {
|
|
|
5558
5558
|
|
|
5559
5559
|
/***/ }),
|
|
5560
5560
|
|
|
5561
|
-
/***/
|
|
5561
|
+
/***/ 2800:
|
|
5562
5562
|
/***/ ((module) => {
|
|
5563
5563
|
|
|
5564
5564
|
|
|
@@ -5619,7 +5619,7 @@ module.exports = escapeHtml;
|
|
|
5619
5619
|
|
|
5620
5620
|
/***/ }),
|
|
5621
5621
|
|
|
5622
|
-
/***/
|
|
5622
|
+
/***/ 2860:
|
|
5623
5623
|
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
5624
5624
|
|
|
5625
5625
|
|
|
@@ -5703,7 +5703,7 @@ module.exports = etag;
|
|
|
5703
5703
|
|
|
5704
5704
|
/***/ }),
|
|
5705
5705
|
|
|
5706
|
-
/***/
|
|
5706
|
+
/***/ 8733:
|
|
5707
5707
|
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
5708
5708
|
|
|
5709
5709
|
|
|
@@ -5713,8 +5713,8 @@ const {
|
|
|
5713
5713
|
parse
|
|
5714
5714
|
} = __nccwpck_require__(7310);
|
|
5715
5715
|
const querystring = __nccwpck_require__(3477);
|
|
5716
|
-
const getPaths = __nccwpck_require__(
|
|
5717
|
-
const memorize = __nccwpck_require__(
|
|
5716
|
+
const getPaths = __nccwpck_require__(2697);
|
|
5717
|
+
const memorize = __nccwpck_require__(6916);
|
|
5718
5718
|
|
|
5719
5719
|
/** @typedef {import("../index.js").IncomingMessage} IncomingMessage */
|
|
5720
5720
|
/** @typedef {import("../index.js").ServerResponse} ServerResponse */
|
|
@@ -5850,7 +5850,7 @@ module.exports = getFilenameFromUrl;
|
|
|
5850
5850
|
|
|
5851
5851
|
/***/ }),
|
|
5852
5852
|
|
|
5853
|
-
/***/
|
|
5853
|
+
/***/ 2697:
|
|
5854
5854
|
/***/ ((module) => {
|
|
5855
5855
|
|
|
5856
5856
|
|
|
@@ -5892,7 +5892,7 @@ module.exports = getPaths;
|
|
|
5892
5892
|
|
|
5893
5893
|
/***/ }),
|
|
5894
5894
|
|
|
5895
|
-
/***/
|
|
5895
|
+
/***/ 6916:
|
|
5896
5896
|
/***/ ((module) => {
|
|
5897
5897
|
|
|
5898
5898
|
|
|
@@ -5937,7 +5937,7 @@ module.exports = memorize;
|
|
|
5937
5937
|
|
|
5938
5938
|
/***/ }),
|
|
5939
5939
|
|
|
5940
|
-
/***/
|
|
5940
|
+
/***/ 1035:
|
|
5941
5941
|
/***/ ((module) => {
|
|
5942
5942
|
|
|
5943
5943
|
|
|
@@ -5985,7 +5985,7 @@ module.exports = parseTokenList;
|
|
|
5985
5985
|
|
|
5986
5986
|
/***/ }),
|
|
5987
5987
|
|
|
5988
|
-
/***/
|
|
5988
|
+
/***/ 6510:
|
|
5989
5989
|
/***/ ((module) => {
|
|
5990
5990
|
|
|
5991
5991
|
|
|
@@ -6014,7 +6014,7 @@ module.exports = ready;
|
|
|
6014
6014
|
|
|
6015
6015
|
/***/ }),
|
|
6016
6016
|
|
|
6017
|
-
/***/
|
|
6017
|
+
/***/ 1423:
|
|
6018
6018
|
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
6019
6019
|
|
|
6020
6020
|
|
|
@@ -6177,7 +6177,7 @@ module.exports = setupHooks;
|
|
|
6177
6177
|
|
|
6178
6178
|
/***/ }),
|
|
6179
6179
|
|
|
6180
|
-
/***/
|
|
6180
|
+
/***/ 2460:
|
|
6181
6181
|
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
6182
6182
|
|
|
6183
6183
|
|
|
@@ -6237,7 +6237,7 @@ module.exports = setupOutputFileSystem;
|
|
|
6237
6237
|
|
|
6238
6238
|
/***/ }),
|
|
6239
6239
|
|
|
6240
|
-
/***/
|
|
6240
|
+
/***/ 982:
|
|
6241
6241
|
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
6242
6242
|
|
|
6243
6243
|
|
|
@@ -6640,7 +6640,7 @@ __webpack_unused_export__ = yellowBright;
|
|
|
6640
6640
|
|
|
6641
6641
|
/***/ }),
|
|
6642
6642
|
|
|
6643
|
-
/***/
|
|
6643
|
+
/***/ 6987:
|
|
6644
6644
|
/***/ ((module) => {
|
|
6645
6645
|
|
|
6646
6646
|
module.exports = JSON.parse('{"type":"object","properties":{"mimeTypes":{"description":"Allows a user to register custom mime types or extension mappings.","link":"https://github.com/webpack/webpack-dev-middleware#mimetypes","type":"object"},"mimeTypeDefault":{"description":"Allows a user to register a default mime type when we can\'t determine the content type.","link":"https://github.com/webpack/webpack-dev-middleware#mimetypedefault","type":"string"},"writeToDisk":{"description":"Allows to write generated files on disk.","link":"https://github.com/webpack/webpack-dev-middleware#writetodisk","anyOf":[{"type":"boolean"},{"instanceof":"Function"}]},"methods":{"description":"Allows to pass the list of HTTP request methods accepted by the middleware.","link":"https://github.com/webpack/webpack-dev-middleware#methods","type":"array","items":{"type":"string","minLength":1}},"headers":{"anyOf":[{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"key":{"description":"key of header.","type":"string"},"value":{"description":"value of header.","type":"string"}}},"minItems":1},{"type":"object"},{"instanceof":"Function"}],"description":"Allows to pass custom HTTP headers on each request","link":"https://github.com/webpack/webpack-dev-middleware#headers"},"publicPath":{"description":"The `publicPath` specifies the public URL address of the output files when referenced in a browser.","link":"https://github.com/webpack/webpack-dev-middleware#publicpath","anyOf":[{"enum":["auto"]},{"type":"string"},{"instanceof":"Function"}]},"stats":{"description":"Stats options object or preset name.","link":"https://github.com/webpack/webpack-dev-middleware#stats","anyOf":[{"enum":["none","summary","errors-only","errors-warnings","minimal","normal","detailed","verbose"]},{"type":"boolean"},{"type":"object","additionalProperties":true}]},"serverSideRender":{"description":"Instructs the module to enable or disable the server-side rendering mode.","link":"https://github.com/webpack/webpack-dev-middleware#serversiderender","type":"boolean"},"outputFileSystem":{"description":"Set the default file system which will be used by webpack as primary destination of generated files.","link":"https://github.com/webpack/webpack-dev-middleware#outputfilesystem","type":"object"},"index":{"description":"Allows to serve an index of the directory.","link":"https://github.com/webpack/webpack-dev-middleware#index","anyOf":[{"type":"boolean"},{"type":"string","minLength":1}]},"modifyResponseData":{"description":"Allows to set up a callback to change the response data.","link":"https://github.com/webpack/webpack-dev-middleware#modifyresponsedata","instanceof":"Function"},"etag":{"description":"Enable or disable etag generation.","link":"https://github.com/webpack/webpack-dev-middleware#etag","enum":["weak","strong"]},"lastModified":{"description":"Enable or disable `Last-Modified` header. Uses the file system\'s last modified value.","link":"https://github.com/webpack/webpack-dev-middleware#lastmodified","type":"boolean"}},"additionalProperties":false}');
|
|
@@ -6689,7 +6689,7 @@ module.exports = JSON.parse('{"type":"object","properties":{"mimeTypes":{"descri
|
|
|
6689
6689
|
/******/ // startup
|
|
6690
6690
|
/******/ // Load entry module and return exports
|
|
6691
6691
|
/******/ // This entry module is referenced by other modules so it can't be inlined
|
|
6692
|
-
/******/ var __webpack_exports__ = __nccwpck_require__(
|
|
6692
|
+
/******/ var __webpack_exports__ = __nccwpck_require__(5085);
|
|
6693
6693
|
/******/ module.exports = __webpack_exports__;
|
|
6694
6694
|
/******/
|
|
6695
6695
|
/******/ })()
|