@rsbuild/core 1.0.6 → 1.0.8
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/html-rspack-plugin/index.js +14 -14
- package/compiled/postcss-loader/index.js +8 -8
- package/compiled/rsbuild-dev-middleware/index.js +27 -27
- package/compiled/rspack-chain/index.d.ts +0 -1
- package/compiled/rspack-chain/index.js +67 -67
- package/compiled/rspack-chain/package.json +1 -1
- package/compiled/rspack-manifest-plugin/index.js +4 -4
- package/compiled/style-loader/index.js +10 -10
- package/dist/index.cjs +3919 -347
- package/dist/index.js +3859 -276
- package/dist-types/configChain.d.ts +0 -8
- package/dist-types/helpers/stats.d.ts +1 -1
- package/package.json +5 -7
- package/compiled/browserslist/index.d.ts +0 -201
- package/compiled/browserslist/index.js +0 -1876
- package/compiled/browserslist/license +0 -20
- package/compiled/browserslist/package.json +0 -1
- package/compiled/commander/index.d.ts +0 -971
- package/compiled/commander/index.js +0 -2190
- package/compiled/commander/license +0 -22
- package/compiled/commander/package.json +0 -1
- package/compiled/dotenv/index.d.ts +0 -157
- package/compiled/dotenv/index.js +0 -336
- package/compiled/dotenv/license +0 -23
- package/compiled/dotenv/package.json +0 -1
- package/compiled/dotenv-expand/index.d.ts +0 -52
- package/compiled/dotenv-expand/index.js +0 -105
- package/compiled/dotenv-expand/license +0 -24
- package/compiled/dotenv-expand/package.json +0 -1
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
(() => {
|
|
2
2
|
var __webpack_modules__ = {
|
|
3
|
-
|
|
3
|
+
3436: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
4
4
|
"use strict";
|
|
5
|
-
const loader = __nccwpck_require__(
|
|
5
|
+
const loader = __nccwpck_require__(9345);
|
|
6
6
|
module.exports = loader.default;
|
|
7
7
|
module.exports.defaultGetLocalIdent =
|
|
8
|
-
__nccwpck_require__(
|
|
8
|
+
__nccwpck_require__(4890).defaultGetLocalIdent;
|
|
9
9
|
},
|
|
10
|
-
|
|
10
|
+
9345: (__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
11
11
|
"use strict";
|
|
12
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
13
|
exports["default"] = loader;
|
|
14
14
|
var _postcss = _interopRequireDefault(__nccwpck_require__(9961));
|
|
15
15
|
var _package = _interopRequireDefault(__nccwpck_require__(3360));
|
|
16
16
|
var _semver = { satisfies: () => true };
|
|
17
|
-
var _options = _interopRequireDefault(__nccwpck_require__(
|
|
18
|
-
var _plugins = __nccwpck_require__(
|
|
19
|
-
var _utils = __nccwpck_require__(
|
|
17
|
+
var _options = _interopRequireDefault(__nccwpck_require__(2394));
|
|
18
|
+
var _plugins = __nccwpck_require__(3316);
|
|
19
|
+
var _utils = __nccwpck_require__(4890);
|
|
20
20
|
function _interopRequireDefault(obj) {
|
|
21
21
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
22
22
|
}
|
|
@@ -243,7 +243,7 @@
|
|
|
243
243
|
callback(null, `${importCode}${moduleCode}${exportCode}`);
|
|
244
244
|
}
|
|
245
245
|
},
|
|
246
|
-
|
|
246
|
+
3316: (__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
247
247
|
"use strict";
|
|
248
248
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
249
249
|
Object.defineProperty(exports, "icssParser", {
|
|
@@ -265,22 +265,22 @@
|
|
|
265
265
|
},
|
|
266
266
|
});
|
|
267
267
|
var _postcssImportParser = _interopRequireDefault(
|
|
268
|
-
__nccwpck_require__(
|
|
268
|
+
__nccwpck_require__(5251),
|
|
269
269
|
);
|
|
270
270
|
var _postcssIcssParser = _interopRequireDefault(
|
|
271
|
-
__nccwpck_require__(
|
|
271
|
+
__nccwpck_require__(7196),
|
|
272
272
|
);
|
|
273
|
-
var _postcssUrlParser = _interopRequireDefault(__nccwpck_require__(
|
|
273
|
+
var _postcssUrlParser = _interopRequireDefault(__nccwpck_require__(5925));
|
|
274
274
|
function _interopRequireDefault(obj) {
|
|
275
275
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
276
276
|
}
|
|
277
277
|
},
|
|
278
|
-
|
|
278
|
+
7196: (__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
279
279
|
"use strict";
|
|
280
280
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
281
281
|
exports["default"] = void 0;
|
|
282
282
|
var _icssUtils = __nccwpck_require__(8406);
|
|
283
|
-
var _utils = __nccwpck_require__(
|
|
283
|
+
var _utils = __nccwpck_require__(4890);
|
|
284
284
|
const plugin = (options = {}) => ({
|
|
285
285
|
postcssPlugin: "postcss-icss-parser",
|
|
286
286
|
async OnceExit(root) {
|
|
@@ -379,14 +379,14 @@
|
|
|
379
379
|
plugin.postcss = true;
|
|
380
380
|
var _default = (exports["default"] = plugin);
|
|
381
381
|
},
|
|
382
|
-
|
|
382
|
+
5251: (__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
383
383
|
"use strict";
|
|
384
384
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
385
385
|
exports["default"] = void 0;
|
|
386
386
|
var _postcssValueParser = _interopRequireDefault(
|
|
387
387
|
__nccwpck_require__(7555),
|
|
388
388
|
);
|
|
389
|
-
var _utils = __nccwpck_require__(
|
|
389
|
+
var _utils = __nccwpck_require__(4890);
|
|
390
390
|
function _interopRequireDefault(obj) {
|
|
391
391
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
392
392
|
}
|
|
@@ -691,14 +691,14 @@
|
|
|
691
691
|
plugin.postcss = true;
|
|
692
692
|
var _default = (exports["default"] = plugin);
|
|
693
693
|
},
|
|
694
|
-
|
|
694
|
+
5925: (__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
695
695
|
"use strict";
|
|
696
696
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
697
697
|
exports["default"] = void 0;
|
|
698
698
|
var _postcssValueParser = _interopRequireDefault(
|
|
699
699
|
__nccwpck_require__(7555),
|
|
700
700
|
);
|
|
701
|
-
var _utils = __nccwpck_require__(
|
|
701
|
+
var _utils = __nccwpck_require__(4890);
|
|
702
702
|
function _interopRequireDefault(obj) {
|
|
703
703
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
704
704
|
}
|
|
@@ -1041,7 +1041,7 @@
|
|
|
1041
1041
|
plugin.postcss = true;
|
|
1042
1042
|
var _default = (exports["default"] = plugin);
|
|
1043
1043
|
},
|
|
1044
|
-
|
|
1044
|
+
4890: (__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
1045
1045
|
"use strict";
|
|
1046
1046
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1047
1047
|
exports.WEBPACK_IGNORE_COMMENT_REGEXP = void 0;
|
|
@@ -7960,7 +7960,7 @@
|
|
|
7960
7960
|
"use strict";
|
|
7961
7961
|
module.exports = require("util");
|
|
7962
7962
|
},
|
|
7963
|
-
|
|
7963
|
+
2394: (module) => {
|
|
7964
7964
|
"use strict";
|
|
7965
7965
|
module.exports = JSON.parse(
|
|
7966
7966
|
'{"title":"CSS Loader options","additionalProperties":false,"properties":{"url":{"description":"Allows to enables/disables `url()`/`image-set()` functions handling.","link":"https://github.com/webpack-contrib/css-loader#url","anyOf":[{"type":"boolean"},{"type":"object","properties":{"filter":{"instanceof":"Function"}},"additionalProperties":false}]},"import":{"description":"Allows to enables/disables `@import` at-rules handling.","link":"https://github.com/webpack-contrib/css-loader#import","anyOf":[{"type":"boolean"},{"type":"object","properties":{"filter":{"instanceof":"Function"}},"additionalProperties":false}]},"modules":{"description":"Allows to enable/disable CSS Modules or ICSS and setup configuration.","link":"https://github.com/webpack-contrib/css-loader#modules","anyOf":[{"type":"boolean"},{"enum":["local","global","pure","icss"]},{"type":"object","additionalProperties":false,"properties":{"auto":{"description":"Allows auto enable CSS modules based on filename.","link":"https://github.com/webpack-contrib/css-loader#auto","anyOf":[{"instanceof":"RegExp"},{"instanceof":"Function"},{"type":"boolean"}]},"mode":{"description":"Setup `mode` option.","link":"https://github.com/webpack-contrib/css-loader#mode","anyOf":[{"enum":["local","global","pure","icss"]},{"instanceof":"Function"}]},"localIdentName":{"description":"Allows to configure the generated local ident name.","link":"https://github.com/webpack-contrib/css-loader#localidentname","type":"string","minLength":1},"localIdentContext":{"description":"Allows to redefine basic loader context for local ident name.","link":"https://github.com/webpack-contrib/css-loader#localidentcontext","type":"string","minLength":1},"localIdentHashSalt":{"description":"Allows to add custom hash to generate more unique classes.","link":"https://github.com/webpack-contrib/css-loader#localidenthashsalt","type":"string","minLength":1},"localIdentHashFunction":{"description":"Allows to specify hash function to generate classes.","link":"https://github.com/webpack-contrib/css-loader#localidenthashfunction","type":"string","minLength":1},"localIdentHashDigest":{"description":"Allows to specify hash digest to generate classes.","link":"https://github.com/webpack-contrib/css-loader#localidenthashdigest","type":"string","minLength":1},"localIdentHashDigestLength":{"description":"Allows to specify hash digest length to generate classes.","link":"https://github.com/webpack-contrib/css-loader#localidenthashdigestlength","type":"number"},"hashStrategy":{"description":"Allows to specify should localName be used when computing the hash.","link":"https://github.com/webpack-contrib/css-loader#hashstrategy","enum":["resource-path-and-local-name","minimal-subset"]},"localIdentRegExp":{"description":"Allows to specify custom RegExp for local ident name.","link":"https://github.com/webpack-contrib/css-loader#localidentregexp","anyOf":[{"type":"string","minLength":1},{"instanceof":"RegExp"}]},"getLocalIdent":{"description":"Allows to specify a function to generate the classname.","link":"https://github.com/webpack-contrib/css-loader#getlocalident","instanceof":"Function"},"namedExport":{"description":"Enables/disables ES modules named export for locals.","link":"https://github.com/webpack-contrib/css-loader#namedexport","type":"boolean"},"exportGlobals":{"description":"Allows to export names from global class or id, so you can use that as local name.","link":"https://github.com/webpack-contrib/css-loader#exportglobals","type":"boolean"},"exportLocalsConvention":{"description":"Style of exported classnames.","link":"https://github.com/webpack-contrib/css-loader#localsconvention","anyOf":[{"enum":["asIs","as-is","camelCase","camel-case","camelCaseOnly","camel-case-only","dashes","dashesOnly","dashes-only"]},{"instanceof":"Function"}]},"exportOnlyLocals":{"description":"Export only locals.","link":"https://github.com/webpack-contrib/css-loader#exportonlylocals","type":"boolean"},"getJSON":{"description":"Allows outputting of CSS modules mapping through a callback.","link":"https://github.com/webpack-contrib/css-loader#getJSON","instanceof":"Function"}}}]},"sourceMap":{"description":"Allows to enable/disable source maps.","link":"https://github.com/webpack-contrib/css-loader#sourcemap","type":"boolean"},"importLoaders":{"description":"Allows enables/disables or setups number of loaders applied before CSS loader for `@import`/CSS Modules and ICSS imports.","link":"https://github.com/webpack-contrib/css-loader#importloaders","anyOf":[{"type":"boolean"},{"type":"string"},{"type":"integer"}]},"esModule":{"description":"Use the ES modules syntax.","link":"https://github.com/webpack-contrib/css-loader#esmodule","type":"boolean"},"exportType":{"description":"Allows exporting styles as array with modules, string or constructable stylesheet (i.e. `CSSStyleSheet`).","link":"https://github.com/webpack-contrib/css-loader#exporttype","enum":["array","string","css-style-sheet"]}},"type":"object"}',
|
|
@@ -7995,6 +7995,6 @@
|
|
|
7995
7995
|
}
|
|
7996
7996
|
if (typeof __nccwpck_require__ !== "undefined")
|
|
7997
7997
|
__nccwpck_require__.ab = __dirname + "/";
|
|
7998
|
-
var __webpack_exports__ = __nccwpck_require__(
|
|
7998
|
+
var __webpack_exports__ = __nccwpck_require__(3436);
|
|
7999
7999
|
module.exports = __webpack_exports__;
|
|
8000
8000
|
})();
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(() => {
|
|
2
2
|
var __webpack_modules__ = {
|
|
3
|
-
|
|
3
|
+
202: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
4
4
|
"use strict";
|
|
5
|
-
const { HtmlWebpackChildCompiler } = __nccwpck_require__(
|
|
5
|
+
const { HtmlWebpackChildCompiler } = __nccwpck_require__(444);
|
|
6
6
|
const compilerMap = new WeakMap();
|
|
7
7
|
class CachedChildCompilation {
|
|
8
8
|
constructor(compiler) {
|
|
@@ -304,7 +304,7 @@
|
|
|
304
304
|
}
|
|
305
305
|
module.exports = { CachedChildCompilation };
|
|
306
306
|
},
|
|
307
|
-
|
|
307
|
+
444: (module) => {
|
|
308
308
|
"use strict";
|
|
309
309
|
class HtmlWebpackChildCompiler {
|
|
310
310
|
constructor(templates) {
|
|
@@ -473,7 +473,7 @@
|
|
|
473
473
|
}
|
|
474
474
|
module.exports = { HtmlWebpackChildCompiler };
|
|
475
475
|
},
|
|
476
|
-
|
|
476
|
+
617: (module) => {
|
|
477
477
|
"use strict";
|
|
478
478
|
module.exports = {};
|
|
479
479
|
module.exports.none = (chunks) => chunks;
|
|
@@ -492,7 +492,7 @@
|
|
|
492
492
|
};
|
|
493
493
|
module.exports.auto = module.exports.none;
|
|
494
494
|
},
|
|
495
|
-
|
|
495
|
+
211: (module) => {
|
|
496
496
|
"use strict";
|
|
497
497
|
module.exports = function (err) {
|
|
498
498
|
return {
|
|
@@ -513,7 +513,7 @@
|
|
|
513
513
|
};
|
|
514
514
|
};
|
|
515
515
|
},
|
|
516
|
-
|
|
516
|
+
395: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
517
517
|
"use strict";
|
|
518
518
|
const { AsyncSeriesWaterfallHook } = __nccwpck_require__(348);
|
|
519
519
|
const htmlWebpackPluginHooksMap = new WeakMap();
|
|
@@ -539,7 +539,7 @@
|
|
|
539
539
|
}
|
|
540
540
|
module.exports = { getHtmlRspackPluginHooks };
|
|
541
541
|
},
|
|
542
|
-
|
|
542
|
+
634: (module) => {
|
|
543
543
|
const voidTags = [
|
|
544
544
|
"area",
|
|
545
545
|
"base",
|
|
@@ -607,19 +607,19 @@
|
|
|
607
607
|
htmlTagObjectToString,
|
|
608
608
|
};
|
|
609
609
|
},
|
|
610
|
-
|
|
610
|
+
93: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
611
611
|
"use strict";
|
|
612
612
|
const promisify = __nccwpck_require__(837).promisify;
|
|
613
613
|
const vm = __nccwpck_require__(144);
|
|
614
614
|
const fs = __nccwpck_require__(147);
|
|
615
615
|
const path = __nccwpck_require__(17);
|
|
616
|
-
const { CachedChildCompilation } = __nccwpck_require__(
|
|
616
|
+
const { CachedChildCompilation } = __nccwpck_require__(202);
|
|
617
617
|
const { createHtmlTagObject, htmlTagObjectToString, HtmlTagArray } =
|
|
618
|
-
__nccwpck_require__(
|
|
619
|
-
const prettyError = __nccwpck_require__(
|
|
620
|
-
const chunkSorter = __nccwpck_require__(
|
|
618
|
+
__nccwpck_require__(634);
|
|
619
|
+
const prettyError = __nccwpck_require__(211);
|
|
620
|
+
const chunkSorter = __nccwpck_require__(617);
|
|
621
621
|
const getHtmlRspackPluginHooks =
|
|
622
|
-
__nccwpck_require__(
|
|
622
|
+
__nccwpck_require__(395).getHtmlRspackPluginHooks;
|
|
623
623
|
class HtmlRspackPlugin {
|
|
624
624
|
constructor(userOptions = {}) {
|
|
625
625
|
this.version = HtmlRspackPlugin.version;
|
|
@@ -1577,6 +1577,6 @@
|
|
|
1577
1577
|
}
|
|
1578
1578
|
if (typeof __nccwpck_require__ !== "undefined")
|
|
1579
1579
|
__nccwpck_require__.ab = __dirname + "/";
|
|
1580
|
-
var __webpack_exports__ = __nccwpck_require__(
|
|
1580
|
+
var __webpack_exports__ = __nccwpck_require__(93);
|
|
1581
1581
|
module.exports = __webpack_exports__;
|
|
1582
1582
|
})();
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
(() => {
|
|
2
2
|
"use strict";
|
|
3
3
|
var __webpack_modules__ = {
|
|
4
|
-
|
|
5
|
-
module.exports = __nccwpck_require__(
|
|
4
|
+
263: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
5
|
+
module.exports = __nccwpck_require__(76)["default"];
|
|
6
6
|
},
|
|
7
|
-
|
|
7
|
+
76: (__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 _path = _interopRequireDefault(__nccwpck_require__(17));
|
|
12
12
|
var _package = _interopRequireDefault(__nccwpck_require__(360));
|
|
13
|
-
var _options = _interopRequireDefault(__nccwpck_require__(
|
|
14
|
-
var _utils = __nccwpck_require__(
|
|
13
|
+
var _options = _interopRequireDefault(__nccwpck_require__(742));
|
|
14
|
+
var _utils = __nccwpck_require__(586);
|
|
15
15
|
function _interopRequireDefault(obj) {
|
|
16
16
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
17
17
|
}
|
|
@@ -189,7 +189,7 @@
|
|
|
189
189
|
callback(null, result.css, map, { ast });
|
|
190
190
|
}
|
|
191
191
|
},
|
|
192
|
-
|
|
192
|
+
586: (module, exports, __nccwpck_require__) => {
|
|
193
193
|
module = __nccwpck_require__.nmd(module);
|
|
194
194
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
195
195
|
exports.exec = exec;
|
|
@@ -691,7 +691,7 @@
|
|
|
691
691
|
310: (module) => {
|
|
692
692
|
module.exports = require("url");
|
|
693
693
|
},
|
|
694
|
-
|
|
694
|
+
742: (module) => {
|
|
695
695
|
module.exports = JSON.parse(
|
|
696
696
|
'{"title":"PostCSS Loader options","type":"object","properties":{"postcssOptions":{"description":"Options to pass through to `Postcss`.","link":"https://github.com/webpack-contrib/postcss-loader#postcssOptions","anyOf":[{"type":"object","additionalProperties":true,"properties":{"config":{"description":"Allows to specify PostCSS config path.","link":"https://github.com/webpack-contrib/postcss-loader#config","anyOf":[{"description":"Allows to specify the path to the configuration file","type":"string"},{"description":"Enables/Disables autoloading config","type":"boolean"}]}}},{"instanceof":"Function"}]},"execute":{"description":"Enables/Disables PostCSS parser support in \'CSS-in-JS\'.","link":"https://github.com/webpack-contrib/postcss-loader#execute","type":"boolean"},"sourceMap":{"description":"Enables/Disables generation of source maps.","link":"https://github.com/webpack-contrib/postcss-loader#sourcemap","type":"boolean"},"implementation":{"description":"The implementation of postcss to use, instead of the locally installed version","link":"https://github.com/webpack-contrib/postcss-loader#implementation","anyOf":[{"type":"string"},{"instanceof":"Function"}]}},"additionalProperties":false}',
|
|
697
697
|
);
|
|
@@ -736,6 +736,6 @@
|
|
|
736
736
|
})();
|
|
737
737
|
if (typeof __nccwpck_require__ !== "undefined")
|
|
738
738
|
__nccwpck_require__.ab = __dirname + "/";
|
|
739
|
-
var __webpack_exports__ = __nccwpck_require__(
|
|
739
|
+
var __webpack_exports__ = __nccwpck_require__(263);
|
|
740
740
|
module.exports = __webpack_exports__;
|
|
741
741
|
})();
|
|
@@ -4152,13 +4152,13 @@
|
|
|
4152
4152
|
return a.start - b.start;
|
|
4153
4153
|
}
|
|
4154
4154
|
},
|
|
4155
|
-
|
|
4156
|
-
const middleware = __nccwpck_require__(
|
|
4157
|
-
const getFilenameFromUrl = __nccwpck_require__(
|
|
4158
|
-
const setupHooks = __nccwpck_require__(
|
|
4159
|
-
const setupWriteToDisk = __nccwpck_require__(
|
|
4160
|
-
const setupOutputFileSystem = __nccwpck_require__(
|
|
4161
|
-
const ready = __nccwpck_require__(
|
|
4155
|
+
907: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
4156
|
+
const middleware = __nccwpck_require__(926);
|
|
4157
|
+
const getFilenameFromUrl = __nccwpck_require__(461);
|
|
4158
|
+
const setupHooks = __nccwpck_require__(59);
|
|
4159
|
+
const setupWriteToDisk = __nccwpck_require__(998);
|
|
4160
|
+
const setupOutputFileSystem = __nccwpck_require__(950);
|
|
4161
|
+
const ready = __nccwpck_require__(201);
|
|
4162
4162
|
const noop = () => {};
|
|
4163
4163
|
function wdm(compiler, options = {}) {
|
|
4164
4164
|
const context = {
|
|
@@ -4213,15 +4213,15 @@
|
|
|
4213
4213
|
}
|
|
4214
4214
|
module.exports = wdm;
|
|
4215
4215
|
},
|
|
4216
|
-
|
|
4216
|
+
926: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
4217
4217
|
const mrmime = __nccwpck_require__(802);
|
|
4218
4218
|
const onFinishedStream = __nccwpck_require__(772);
|
|
4219
|
-
const getFilenameFromUrl = __nccwpck_require__(
|
|
4219
|
+
const getFilenameFromUrl = __nccwpck_require__(461);
|
|
4220
4220
|
const { setStatusCode, send, pipe, createReadStreamOrReadFileSync } =
|
|
4221
|
-
__nccwpck_require__(
|
|
4222
|
-
const ready = __nccwpck_require__(
|
|
4223
|
-
const parseTokenList = __nccwpck_require__(
|
|
4224
|
-
const memorize = __nccwpck_require__(
|
|
4221
|
+
__nccwpck_require__(309);
|
|
4222
|
+
const ready = __nccwpck_require__(201);
|
|
4223
|
+
const parseTokenList = __nccwpck_require__(830);
|
|
4224
|
+
const memorize = __nccwpck_require__(358);
|
|
4225
4225
|
async function getEtag(stat) {
|
|
4226
4226
|
const mtime = stat.mtime.getTime().toString(16);
|
|
4227
4227
|
const size = stat.size.toString(16);
|
|
@@ -4300,7 +4300,7 @@
|
|
|
4300
4300
|
return;
|
|
4301
4301
|
}
|
|
4302
4302
|
function sendError(status, options) {
|
|
4303
|
-
const escapeHtml = __nccwpck_require__(
|
|
4303
|
+
const escapeHtml = __nccwpck_require__(227);
|
|
4304
4304
|
const content = statuses[status] || String(status);
|
|
4305
4305
|
const document = Buffer.from(
|
|
4306
4306
|
`<!DOCTYPE html>\n<html lang="en">\n<head>\n<meta charset="utf-8">\n<title>Error</title>\n</head>\n<body>\n<pre>${escapeHtml(content)}</pre>\n</body>\n</html>`,
|
|
@@ -4602,7 +4602,7 @@
|
|
|
4602
4602
|
}
|
|
4603
4603
|
module.exports = wrapper;
|
|
4604
4604
|
},
|
|
4605
|
-
|
|
4605
|
+
309: (module) => {
|
|
4606
4606
|
function setStatusCode(res, code) {
|
|
4607
4607
|
if (typeof res.status === "function") {
|
|
4608
4608
|
res.status(code);
|
|
@@ -4653,7 +4653,7 @@
|
|
|
4653
4653
|
createReadStreamOrReadFileSync,
|
|
4654
4654
|
};
|
|
4655
4655
|
},
|
|
4656
|
-
|
|
4656
|
+
227: (module) => {
|
|
4657
4657
|
const matchHtmlRegExp = /["'&<>]/;
|
|
4658
4658
|
function escapeHtml(string) {
|
|
4659
4659
|
const str = `${string}`;
|
|
@@ -4697,12 +4697,12 @@
|
|
|
4697
4697
|
}
|
|
4698
4698
|
module.exports = escapeHtml;
|
|
4699
4699
|
},
|
|
4700
|
-
|
|
4700
|
+
461: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
4701
4701
|
const path = __nccwpck_require__(17);
|
|
4702
4702
|
const { parse } = __nccwpck_require__(310);
|
|
4703
4703
|
const querystring = __nccwpck_require__(477);
|
|
4704
|
-
const getPaths = __nccwpck_require__(
|
|
4705
|
-
const memorize = __nccwpck_require__(
|
|
4704
|
+
const getPaths = __nccwpck_require__(586);
|
|
4705
|
+
const memorize = __nccwpck_require__(358);
|
|
4706
4706
|
const memoizedParse = memorize(parse, undefined, (value) => {
|
|
4707
4707
|
if (value.pathname) {
|
|
4708
4708
|
value.pathname = decode(value.pathname);
|
|
@@ -4784,7 +4784,7 @@
|
|
|
4784
4784
|
}
|
|
4785
4785
|
module.exports = getFilenameFromUrl;
|
|
4786
4786
|
},
|
|
4787
|
-
|
|
4787
|
+
586: (module) => {
|
|
4788
4788
|
function getPaths(context) {
|
|
4789
4789
|
const { stats, options } = context;
|
|
4790
4790
|
const childStats = stats.stats ? stats.stats : [stats];
|
|
@@ -4804,7 +4804,7 @@
|
|
|
4804
4804
|
}
|
|
4805
4805
|
module.exports = getPaths;
|
|
4806
4806
|
},
|
|
4807
|
-
|
|
4807
|
+
358: (module) => {
|
|
4808
4808
|
const cacheStore = new WeakMap();
|
|
4809
4809
|
function memorize(fn, { cache = new Map() } = {}, callback) {
|
|
4810
4810
|
const memoized = (...arguments_) => {
|
|
@@ -4825,7 +4825,7 @@
|
|
|
4825
4825
|
}
|
|
4826
4826
|
module.exports = memorize;
|
|
4827
4827
|
},
|
|
4828
|
-
|
|
4828
|
+
830: (module) => {
|
|
4829
4829
|
function parseTokenList(str) {
|
|
4830
4830
|
let end = 0;
|
|
4831
4831
|
let start = 0;
|
|
@@ -4857,7 +4857,7 @@
|
|
|
4857
4857
|
}
|
|
4858
4858
|
module.exports = parseTokenList;
|
|
4859
4859
|
},
|
|
4860
|
-
|
|
4860
|
+
201: (module) => {
|
|
4861
4861
|
function ready(context, callback, req) {
|
|
4862
4862
|
if (context.state) {
|
|
4863
4863
|
callback(context.stats);
|
|
@@ -4871,7 +4871,7 @@
|
|
|
4871
4871
|
}
|
|
4872
4872
|
module.exports = ready;
|
|
4873
4873
|
},
|
|
4874
|
-
|
|
4874
|
+
59: (module) => {
|
|
4875
4875
|
function setupHooks(context) {
|
|
4876
4876
|
function invalid() {
|
|
4877
4877
|
if (context.state) {
|
|
@@ -4902,7 +4902,7 @@
|
|
|
4902
4902
|
}
|
|
4903
4903
|
module.exports = setupHooks;
|
|
4904
4904
|
},
|
|
4905
|
-
|
|
4905
|
+
950: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
4906
4906
|
const memfs = __nccwpck_require__(664);
|
|
4907
4907
|
function setupOutputFileSystem(context) {
|
|
4908
4908
|
let outputFileSystem;
|
|
@@ -4928,7 +4928,7 @@
|
|
|
4928
4928
|
}
|
|
4929
4929
|
module.exports = setupOutputFileSystem;
|
|
4930
4930
|
},
|
|
4931
|
-
|
|
4931
|
+
998: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
4932
4932
|
const fs = __nccwpck_require__(147);
|
|
4933
4933
|
const path = __nccwpck_require__(17);
|
|
4934
4934
|
function setupWriteToDisk(context) {
|
|
@@ -5041,6 +5041,6 @@
|
|
|
5041
5041
|
}
|
|
5042
5042
|
if (typeof __nccwpck_require__ !== "undefined")
|
|
5043
5043
|
__nccwpck_require__.ab = __dirname + "/";
|
|
5044
|
-
var __webpack_exports__ = __nccwpck_require__(
|
|
5044
|
+
var __webpack_exports__ = __nccwpck_require__(907);
|
|
5045
5045
|
module.exports = __webpack_exports__;
|
|
5046
5046
|
})();
|
|
@@ -349,7 +349,6 @@ declare namespace Config {
|
|
|
349
349
|
RspackResolve['descriptionFiles'][number]
|
|
350
350
|
>;
|
|
351
351
|
extensions: TypedChainedSet<this, RspackResolve['extensions'][number]>;
|
|
352
|
-
extensionAlias: TypedChainedMap<this, RspackResolve['extensionAlias']>;
|
|
353
352
|
mainFields: TypedChainedSet<this, RspackResolve['mainFields'][number]>;
|
|
354
353
|
mainFiles: TypedChainedSet<this, RspackResolve['mainFiles'][number]>;
|
|
355
354
|
exportsFields: TypedChainedSet<
|