@rsbuild/core 1.0.4 → 1.0.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 +49 -53
- package/compiled/html-rspack-plugin/index.js +14 -14
- package/compiled/postcss/index.js +153 -229
- package/compiled/postcss/package.json +1 -1
- package/compiled/postcss-load-config/index.js +10 -10
- package/compiled/postcss-loader/index.js +12 -15
- package/compiled/rsbuild-dev-middleware/index.js +27 -27
- package/compiled/rspack-chain/index.d.ts +1 -0
- 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/client/overlay.js +1 -2
- package/dist/index.cjs +178 -165
- package/dist/index.js +181 -168
- package/dist-types/server/devServer.d.ts +4 -0
- package/dist-types/server/open.d.ts +10 -0
- package/dist-types/types/thirdParty.d.ts +0 -5
- package/package.json +5 -5
- package/types.d.ts +19 -0
- package/compiled/css-loader/semver.js +0 -1
- package/compiled/postcss-loader/semver.js +0 -1
- package/dist-types/plugins/open.d.ts +0 -13
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"postcss","author":"Andrey Sitnik <andrey@sitnik.ru>","version":"8.4.
|
|
1
|
+
{"name":"postcss","author":"Andrey Sitnik <andrey@sitnik.ru>","version":"8.4.47","funding":[{"type":"opencollective","url":"https://opencollective.com/postcss/"},{"type":"tidelift","url":"https://tidelift.com/funding/github/npm/postcss"},{"type":"github","url":"https://github.com/sponsors/ai"}],"license":"MIT","types":"index.d.ts","type":"commonjs"}
|
|
@@ -367,12 +367,12 @@
|
|
|
367
367
|
};
|
|
368
368
|
};
|
|
369
369
|
},
|
|
370
|
-
|
|
370
|
+
753: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
371
371
|
const { resolve } = __nccwpck_require__(411);
|
|
372
372
|
const config = __nccwpck_require__(882);
|
|
373
|
-
const loadOptions = __nccwpck_require__(
|
|
374
|
-
const loadPlugins = __nccwpck_require__(
|
|
375
|
-
const req = __nccwpck_require__(
|
|
373
|
+
const loadOptions = __nccwpck_require__(477);
|
|
374
|
+
const loadPlugins = __nccwpck_require__(822);
|
|
375
|
+
const req = __nccwpck_require__(289);
|
|
376
376
|
const interopRequireDefault = (obj) =>
|
|
377
377
|
obj && obj.__esModule ? obj : { default: obj };
|
|
378
378
|
async function processResult(ctx, result) {
|
|
@@ -486,8 +486,8 @@
|
|
|
486
486
|
* @requires ./plugins
|
|
487
487
|
*/ module.exports = rc;
|
|
488
488
|
},
|
|
489
|
-
|
|
490
|
-
const req = __nccwpck_require__(
|
|
489
|
+
477: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
490
|
+
const req = __nccwpck_require__(289);
|
|
491
491
|
async function options(config, file) {
|
|
492
492
|
if (config.parser && typeof config.parser === "string") {
|
|
493
493
|
try {
|
|
@@ -520,8 +520,8 @@
|
|
|
520
520
|
}
|
|
521
521
|
module.exports = options;
|
|
522
522
|
},
|
|
523
|
-
|
|
524
|
-
const req = __nccwpck_require__(
|
|
523
|
+
822: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
524
|
+
const req = __nccwpck_require__(289);
|
|
525
525
|
async function load(plugin, options, file) {
|
|
526
526
|
try {
|
|
527
527
|
if (
|
|
@@ -576,7 +576,7 @@
|
|
|
576
576
|
}
|
|
577
577
|
module.exports = plugins;
|
|
578
578
|
},
|
|
579
|
-
|
|
579
|
+
289: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
580
580
|
const { createRequire } = __nccwpck_require__(33);
|
|
581
581
|
const { pathToFileURL } = __nccwpck_require__(41);
|
|
582
582
|
const TS_EXT_RE = /\.[mc]?ts$/;
|
|
@@ -746,6 +746,6 @@
|
|
|
746
746
|
})();
|
|
747
747
|
if (typeof __nccwpck_require__ !== "undefined")
|
|
748
748
|
__nccwpck_require__.ab = __dirname + "/";
|
|
749
|
-
var __webpack_exports__ = __nccwpck_require__(
|
|
749
|
+
var __webpack_exports__ = __nccwpck_require__(753);
|
|
750
750
|
module.exports = __webpack_exports__;
|
|
751
751
|
})();
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
(() => {
|
|
2
2
|
"use strict";
|
|
3
3
|
var __webpack_modules__ = {
|
|
4
|
-
|
|
5
|
-
module.exports = __nccwpck_require__(
|
|
4
|
+
546: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
5
|
+
module.exports = __nccwpck_require__(14)["default"];
|
|
6
6
|
},
|
|
7
|
-
|
|
7
|
+
14: (__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
|
-
var _package = _interopRequireDefault(__nccwpck_require__(
|
|
13
|
-
var _options = _interopRequireDefault(__nccwpck_require__(
|
|
14
|
-
var _utils = __nccwpck_require__(
|
|
12
|
+
var _package = _interopRequireDefault(__nccwpck_require__(360));
|
|
13
|
+
var _options = _interopRequireDefault(__nccwpck_require__(226));
|
|
14
|
+
var _utils = __nccwpck_require__(523);
|
|
15
15
|
function _interopRequireDefault(obj) {
|
|
16
16
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
17
17
|
}
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
meta &&
|
|
83
83
|
meta.ast &&
|
|
84
84
|
meta.ast.type === "postcss" &&
|
|
85
|
-
|
|
85
|
+
{ satisfies: () => true }.satisfies(
|
|
86
86
|
meta.ast.version,
|
|
87
87
|
`^${_package.default.version}`,
|
|
88
88
|
)
|
|
@@ -189,7 +189,7 @@
|
|
|
189
189
|
callback(null, result.css, map, { ast });
|
|
190
190
|
}
|
|
191
191
|
},
|
|
192
|
-
|
|
192
|
+
523: (module, exports, __nccwpck_require__) => {
|
|
193
193
|
module = __nccwpck_require__.nmd(module);
|
|
194
194
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
195
195
|
exports.exec = exec;
|
|
@@ -682,9 +682,6 @@
|
|
|
682
682
|
993: (module) => {
|
|
683
683
|
module.exports = require("../jiti");
|
|
684
684
|
},
|
|
685
|
-
938: (module) => {
|
|
686
|
-
module.exports = require("./semver");
|
|
687
|
-
},
|
|
688
685
|
188: (module) => {
|
|
689
686
|
module.exports = require("module");
|
|
690
687
|
},
|
|
@@ -694,14 +691,14 @@
|
|
|
694
691
|
310: (module) => {
|
|
695
692
|
module.exports = require("url");
|
|
696
693
|
},
|
|
697
|
-
|
|
694
|
+
226: (module) => {
|
|
698
695
|
module.exports = JSON.parse(
|
|
699
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}',
|
|
700
697
|
);
|
|
701
698
|
},
|
|
702
|
-
|
|
699
|
+
360: (module) => {
|
|
703
700
|
module.exports = JSON.parse(
|
|
704
|
-
'{"name":"postcss","version":"8.4.
|
|
701
|
+
'{"name":"postcss","version":"8.4.47","description":"Tool for transforming styles with JS plugins","engines":{"node":"^10 || ^12 || >=14"},"exports":{".":{"require":"./lib/postcss.js","import":"./lib/postcss.mjs"},"./lib/at-rule":"./lib/at-rule.js","./lib/comment":"./lib/comment.js","./lib/container":"./lib/container.js","./lib/css-syntax-error":"./lib/css-syntax-error.js","./lib/declaration":"./lib/declaration.js","./lib/fromJSON":"./lib/fromJSON.js","./lib/input":"./lib/input.js","./lib/lazy-result":"./lib/lazy-result.js","./lib/no-work-result":"./lib/no-work-result.js","./lib/list":"./lib/list.js","./lib/map-generator":"./lib/map-generator.js","./lib/node":"./lib/node.js","./lib/parse":"./lib/parse.js","./lib/parser":"./lib/parser.js","./lib/postcss":"./lib/postcss.js","./lib/previous-map":"./lib/previous-map.js","./lib/processor":"./lib/processor.js","./lib/result":"./lib/result.js","./lib/root":"./lib/root.js","./lib/rule":"./lib/rule.js","./lib/stringifier":"./lib/stringifier.js","./lib/stringify":"./lib/stringify.js","./lib/symbols":"./lib/symbols.js","./lib/terminal-highlight":"./lib/terminal-highlight.js","./lib/tokenize":"./lib/tokenize.js","./lib/warn-once":"./lib/warn-once.js","./lib/warning":"./lib/warning.js","./package.json":"./package.json"},"main":"./lib/postcss.js","types":"./lib/postcss.d.ts","keywords":["css","postcss","rework","preprocessor","parser","source map","transform","manipulation","transpiler"],"funding":[{"type":"opencollective","url":"https://opencollective.com/postcss/"},{"type":"tidelift","url":"https://tidelift.com/funding/github/npm/postcss"},{"type":"github","url":"https://github.com/sponsors/ai"}],"author":"Andrey Sitnik <andrey@sitnik.ru>","license":"MIT","homepage":"https://postcss.org/","repository":"postcss/postcss","bugs":{"url":"https://github.com/postcss/postcss/issues"},"dependencies":{"nanoid":"^3.3.7","picocolors":"^1.1.0","source-map-js":"^1.2.1"},"browser":{"./lib/terminal-highlight":false,"source-map-js":false,"path":false,"url":false,"fs":false}}',
|
|
705
702
|
);
|
|
706
703
|
},
|
|
707
704
|
};
|
|
@@ -739,6 +736,6 @@
|
|
|
739
736
|
})();
|
|
740
737
|
if (typeof __nccwpck_require__ !== "undefined")
|
|
741
738
|
__nccwpck_require__.ab = __dirname + "/";
|
|
742
|
-
var __webpack_exports__ = __nccwpck_require__(
|
|
739
|
+
var __webpack_exports__ = __nccwpck_require__(546);
|
|
743
740
|
module.exports = __webpack_exports__;
|
|
744
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
|
+
657: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
4156
|
+
const middleware = __nccwpck_require__(671);
|
|
4157
|
+
const getFilenameFromUrl = __nccwpck_require__(52);
|
|
4158
|
+
const setupHooks = __nccwpck_require__(74);
|
|
4159
|
+
const setupWriteToDisk = __nccwpck_require__(264);
|
|
4160
|
+
const setupOutputFileSystem = __nccwpck_require__(826);
|
|
4161
|
+
const ready = __nccwpck_require__(907);
|
|
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
|
+
671: (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__(52);
|
|
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__(163);
|
|
4222
|
+
const ready = __nccwpck_require__(907);
|
|
4223
|
+
const parseTokenList = __nccwpck_require__(819);
|
|
4224
|
+
const memorize = __nccwpck_require__(150);
|
|
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__(158);
|
|
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
|
+
163: (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
|
+
158: (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
|
+
52: (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__(275);
|
|
4705
|
+
const memorize = __nccwpck_require__(150);
|
|
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
|
+
275: (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
|
+
150: (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
|
+
819: (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
|
+
907: (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
|
+
74: (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
|
+
826: (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
|
+
264: (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__(657);
|
|
5045
5045
|
module.exports = __webpack_exports__;
|
|
5046
5046
|
})();
|
|
@@ -349,6 +349,7 @@ declare namespace Config {
|
|
|
349
349
|
RspackResolve['descriptionFiles'][number]
|
|
350
350
|
>;
|
|
351
351
|
extensions: TypedChainedSet<this, RspackResolve['extensions'][number]>;
|
|
352
|
+
extensionAlias: TypedChainedMap<this, RspackResolve['extensionAlias']>;
|
|
352
353
|
mainFields: TypedChainedSet<this, RspackResolve['mainFields'][number]>;
|
|
353
354
|
mainFiles: TypedChainedSet<this, RspackResolve['mainFiles'][number]>;
|
|
354
355
|
exportsFields: TypedChainedSet<
|
|
@@ -627,7 +627,7 @@
|
|
|
627
627
|
};
|
|
628
628
|
exports.toString = toString;
|
|
629
629
|
},
|
|
630
|
-
|
|
630
|
+
86: (module) => {
|
|
631
631
|
module.exports = class extends Function {
|
|
632
632
|
constructor() {
|
|
633
633
|
super();
|
|
@@ -640,35 +640,35 @@
|
|
|
640
640
|
}
|
|
641
641
|
};
|
|
642
642
|
},
|
|
643
|
-
|
|
644
|
-
const createMap = __nccwpck_require__(
|
|
645
|
-
const createChainable = __nccwpck_require__(
|
|
643
|
+
465: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
644
|
+
const createMap = __nccwpck_require__(670);
|
|
645
|
+
const createChainable = __nccwpck_require__(742);
|
|
646
646
|
module.exports = createMap(createChainable(Object));
|
|
647
647
|
},
|
|
648
|
-
|
|
649
|
-
const createSet = __nccwpck_require__(
|
|
650
|
-
const createChainable = __nccwpck_require__(
|
|
648
|
+
741: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
649
|
+
const createSet = __nccwpck_require__(3);
|
|
650
|
+
const createChainable = __nccwpck_require__(742);
|
|
651
651
|
module.exports = createSet(createChainable(Object));
|
|
652
652
|
},
|
|
653
|
-
|
|
654
|
-
const Callable = __nccwpck_require__(
|
|
655
|
-
const createMap = __nccwpck_require__(
|
|
656
|
-
const createChainable = __nccwpck_require__(
|
|
657
|
-
const createValue = __nccwpck_require__(
|
|
653
|
+
19: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
654
|
+
const Callable = __nccwpck_require__(86);
|
|
655
|
+
const createMap = __nccwpck_require__(670);
|
|
656
|
+
const createChainable = __nccwpck_require__(742);
|
|
657
|
+
const createValue = __nccwpck_require__(783);
|
|
658
658
|
module.exports = createValue(createMap(createChainable(Callable)));
|
|
659
659
|
},
|
|
660
|
-
|
|
661
|
-
const ChainedMap = __nccwpck_require__(
|
|
662
|
-
const ChainedValueMap = __nccwpck_require__(
|
|
663
|
-
const ChainedSet = __nccwpck_require__(
|
|
664
|
-
const Resolve = __nccwpck_require__(
|
|
665
|
-
const ResolveLoader = __nccwpck_require__(
|
|
666
|
-
const Output = __nccwpck_require__(
|
|
667
|
-
const DevServer = __nccwpck_require__(
|
|
668
|
-
const Plugin = __nccwpck_require__(
|
|
669
|
-
const Module = __nccwpck_require__(
|
|
670
|
-
const Optimization = __nccwpck_require__(
|
|
671
|
-
const Performance = __nccwpck_require__(
|
|
660
|
+
453: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
661
|
+
const ChainedMap = __nccwpck_require__(465);
|
|
662
|
+
const ChainedValueMap = __nccwpck_require__(19);
|
|
663
|
+
const ChainedSet = __nccwpck_require__(741);
|
|
664
|
+
const Resolve = __nccwpck_require__(816);
|
|
665
|
+
const ResolveLoader = __nccwpck_require__(609);
|
|
666
|
+
const Output = __nccwpck_require__(215);
|
|
667
|
+
const DevServer = __nccwpck_require__(222);
|
|
668
|
+
const Plugin = __nccwpck_require__(558);
|
|
669
|
+
const Module = __nccwpck_require__(486);
|
|
670
|
+
const Optimization = __nccwpck_require__(209);
|
|
671
|
+
const Performance = __nccwpck_require__(731);
|
|
672
672
|
module.exports = class extends ChainedMap {
|
|
673
673
|
constructor() {
|
|
674
674
|
super();
|
|
@@ -818,9 +818,9 @@
|
|
|
818
818
|
}
|
|
819
819
|
};
|
|
820
820
|
},
|
|
821
|
-
|
|
822
|
-
const ChainedMap = __nccwpck_require__(
|
|
823
|
-
const ChainedSet = __nccwpck_require__(
|
|
821
|
+
222: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
822
|
+
const ChainedMap = __nccwpck_require__(465);
|
|
823
|
+
const ChainedSet = __nccwpck_require__(741);
|
|
824
824
|
module.exports = class extends ChainedMap {
|
|
825
825
|
constructor(parent) {
|
|
826
826
|
super(parent);
|
|
@@ -892,9 +892,9 @@
|
|
|
892
892
|
}
|
|
893
893
|
};
|
|
894
894
|
},
|
|
895
|
-
|
|
896
|
-
const ChainedMap = __nccwpck_require__(
|
|
897
|
-
const Rule = __nccwpck_require__(
|
|
895
|
+
486: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
896
|
+
const ChainedMap = __nccwpck_require__(465);
|
|
897
|
+
const Rule = __nccwpck_require__(411);
|
|
898
898
|
module.exports = class extends ChainedMap {
|
|
899
899
|
constructor(parent) {
|
|
900
900
|
super(parent);
|
|
@@ -949,10 +949,10 @@
|
|
|
949
949
|
}
|
|
950
950
|
};
|
|
951
951
|
},
|
|
952
|
-
|
|
953
|
-
const ChainedMap = __nccwpck_require__(
|
|
954
|
-
const ChainedValueMap = __nccwpck_require__(
|
|
955
|
-
const Plugin = __nccwpck_require__(
|
|
952
|
+
209: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
953
|
+
const ChainedMap = __nccwpck_require__(465);
|
|
954
|
+
const ChainedValueMap = __nccwpck_require__(19);
|
|
955
|
+
const Plugin = __nccwpck_require__(558);
|
|
956
956
|
module.exports = class extends ChainedMap {
|
|
957
957
|
constructor(parent) {
|
|
958
958
|
super(parent);
|
|
@@ -1013,7 +1013,7 @@
|
|
|
1013
1013
|
}
|
|
1014
1014
|
};
|
|
1015
1015
|
},
|
|
1016
|
-
|
|
1016
|
+
570: (module) => {
|
|
1017
1017
|
module.exports = (Class) =>
|
|
1018
1018
|
class extends Class {
|
|
1019
1019
|
before(name) {
|
|
@@ -1045,8 +1045,8 @@
|
|
|
1045
1045
|
}
|
|
1046
1046
|
};
|
|
1047
1047
|
},
|
|
1048
|
-
|
|
1049
|
-
const ChainedMap = __nccwpck_require__(
|
|
1048
|
+
215: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
1049
|
+
const ChainedMap = __nccwpck_require__(465);
|
|
1050
1050
|
module.exports = class extends ChainedMap {
|
|
1051
1051
|
constructor(parent) {
|
|
1052
1052
|
super(parent);
|
|
@@ -1100,8 +1100,8 @@
|
|
|
1100
1100
|
}
|
|
1101
1101
|
};
|
|
1102
1102
|
},
|
|
1103
|
-
|
|
1104
|
-
const ChainedValueMap = __nccwpck_require__(
|
|
1103
|
+
731: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
1104
|
+
const ChainedValueMap = __nccwpck_require__(19);
|
|
1105
1105
|
module.exports = class extends ChainedValueMap {
|
|
1106
1106
|
constructor(parent) {
|
|
1107
1107
|
super(parent);
|
|
@@ -1114,9 +1114,9 @@
|
|
|
1114
1114
|
}
|
|
1115
1115
|
};
|
|
1116
1116
|
},
|
|
1117
|
-
|
|
1118
|
-
const ChainedMap = __nccwpck_require__(
|
|
1119
|
-
const Orderable = __nccwpck_require__(
|
|
1117
|
+
558: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
1118
|
+
const ChainedMap = __nccwpck_require__(465);
|
|
1119
|
+
const Orderable = __nccwpck_require__(570);
|
|
1120
1120
|
module.exports = Orderable(
|
|
1121
1121
|
class extends ChainedMap {
|
|
1122
1122
|
constructor(parent, name, type = "plugin") {
|
|
@@ -1170,7 +1170,7 @@
|
|
|
1170
1170
|
}
|
|
1171
1171
|
if (typeof plugin === "string") {
|
|
1172
1172
|
pluginPath = plugin;
|
|
1173
|
-
plugin = __nccwpck_require__(
|
|
1173
|
+
plugin = __nccwpck_require__(250)(pluginPath);
|
|
1174
1174
|
}
|
|
1175
1175
|
const constructorName = plugin.__expression
|
|
1176
1176
|
? `(${plugin.__expression})`
|
|
@@ -1188,11 +1188,11 @@
|
|
|
1188
1188
|
},
|
|
1189
1189
|
);
|
|
1190
1190
|
},
|
|
1191
|
-
|
|
1192
|
-
const ChainedMap = __nccwpck_require__(
|
|
1193
|
-
const ChainedSet = __nccwpck_require__(
|
|
1194
|
-
const Plugin = __nccwpck_require__(
|
|
1195
|
-
const childMaps = ["alias", "fallback", "byDependency"];
|
|
1191
|
+
816: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
1192
|
+
const ChainedMap = __nccwpck_require__(465);
|
|
1193
|
+
const ChainedSet = __nccwpck_require__(741);
|
|
1194
|
+
const Plugin = __nccwpck_require__(558);
|
|
1195
|
+
const childMaps = ["alias", "fallback", "byDependency", "extensionAlias"];
|
|
1196
1196
|
const childSets = [
|
|
1197
1197
|
"aliasFields",
|
|
1198
1198
|
"conditionNames",
|
|
@@ -1270,9 +1270,9 @@
|
|
|
1270
1270
|
}
|
|
1271
1271
|
};
|
|
1272
1272
|
},
|
|
1273
|
-
|
|
1274
|
-
const Resolve = __nccwpck_require__(
|
|
1275
|
-
const ChainedSet = __nccwpck_require__(
|
|
1273
|
+
609: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
1274
|
+
const Resolve = __nccwpck_require__(816);
|
|
1275
|
+
const ChainedSet = __nccwpck_require__(741);
|
|
1276
1276
|
module.exports = class extends Resolve {
|
|
1277
1277
|
constructor(parent) {
|
|
1278
1278
|
super(parent);
|
|
@@ -1299,12 +1299,12 @@
|
|
|
1299
1299
|
}
|
|
1300
1300
|
};
|
|
1301
1301
|
},
|
|
1302
|
-
|
|
1303
|
-
const ChainedMap = __nccwpck_require__(
|
|
1304
|
-
const ChainedSet = __nccwpck_require__(
|
|
1305
|
-
const Orderable = __nccwpck_require__(
|
|
1306
|
-
const Use = __nccwpck_require__(
|
|
1307
|
-
const Resolve = __nccwpck_require__(
|
|
1302
|
+
411: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
1303
|
+
const ChainedMap = __nccwpck_require__(465);
|
|
1304
|
+
const ChainedSet = __nccwpck_require__(741);
|
|
1305
|
+
const Orderable = __nccwpck_require__(570);
|
|
1306
|
+
const Use = __nccwpck_require__(182);
|
|
1307
|
+
const Resolve = __nccwpck_require__(816);
|
|
1308
1308
|
function toArray(arr) {
|
|
1309
1309
|
return Array.isArray(arr) ? arr : [arr];
|
|
1310
1310
|
}
|
|
@@ -1429,10 +1429,10 @@
|
|
|
1429
1429
|
);
|
|
1430
1430
|
module.exports = Rule;
|
|
1431
1431
|
},
|
|
1432
|
-
|
|
1432
|
+
182: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
1433
1433
|
const merge = __nccwpck_require__(964);
|
|
1434
|
-
const ChainedMap = __nccwpck_require__(
|
|
1435
|
-
const Orderable = __nccwpck_require__(
|
|
1434
|
+
const ChainedMap = __nccwpck_require__(465);
|
|
1435
|
+
const Orderable = __nccwpck_require__(570);
|
|
1436
1436
|
module.exports = Orderable(
|
|
1437
1437
|
class extends ChainedMap {
|
|
1438
1438
|
constructor(parent, name) {
|
|
@@ -1465,7 +1465,7 @@
|
|
|
1465
1465
|
},
|
|
1466
1466
|
);
|
|
1467
1467
|
},
|
|
1468
|
-
|
|
1468
|
+
742: (module) => {
|
|
1469
1469
|
module.exports = function createChainable(superClass) {
|
|
1470
1470
|
return class extends superClass {
|
|
1471
1471
|
constructor(parent) {
|
|
@@ -1482,7 +1482,7 @@
|
|
|
1482
1482
|
};
|
|
1483
1483
|
};
|
|
1484
1484
|
},
|
|
1485
|
-
|
|
1485
|
+
670: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
1486
1486
|
const merge = __nccwpck_require__(964);
|
|
1487
1487
|
module.exports = function createMap(superClass) {
|
|
1488
1488
|
return class extends superClass {
|
|
@@ -1606,7 +1606,7 @@
|
|
|
1606
1606
|
};
|
|
1607
1607
|
};
|
|
1608
1608
|
},
|
|
1609
|
-
|
|
1609
|
+
3: (module) => {
|
|
1610
1610
|
module.exports = function createSet(superClass) {
|
|
1611
1611
|
return class extends superClass {
|
|
1612
1612
|
constructor(...args) {
|
|
@@ -1656,7 +1656,7 @@
|
|
|
1656
1656
|
};
|
|
1657
1657
|
};
|
|
1658
1658
|
},
|
|
1659
|
-
|
|
1659
|
+
783: (module) => {
|
|
1660
1660
|
module.exports = function createValue(superClass) {
|
|
1661
1661
|
return class extends superClass {
|
|
1662
1662
|
constructor(...args) {
|
|
@@ -1694,7 +1694,7 @@
|
|
|
1694
1694
|
};
|
|
1695
1695
|
};
|
|
1696
1696
|
},
|
|
1697
|
-
|
|
1697
|
+
250: (module) => {
|
|
1698
1698
|
function webpackEmptyContext(req) {
|
|
1699
1699
|
var e = new Error("Cannot find module '" + req + "'");
|
|
1700
1700
|
e.code = "MODULE_NOT_FOUND";
|
|
@@ -1702,7 +1702,7 @@
|
|
|
1702
1702
|
}
|
|
1703
1703
|
webpackEmptyContext.keys = () => [];
|
|
1704
1704
|
webpackEmptyContext.resolve = webpackEmptyContext;
|
|
1705
|
-
webpackEmptyContext.id =
|
|
1705
|
+
webpackEmptyContext.id = 250;
|
|
1706
1706
|
module.exports = webpackEmptyContext;
|
|
1707
1707
|
},
|
|
1708
1708
|
};
|
|
@@ -1732,6 +1732,6 @@
|
|
|
1732
1732
|
})();
|
|
1733
1733
|
if (typeof __nccwpck_require__ !== "undefined")
|
|
1734
1734
|
__nccwpck_require__.ab = __dirname + "/";
|
|
1735
|
-
var __webpack_exports__ = __nccwpck_require__(
|
|
1735
|
+
var __webpack_exports__ = __nccwpck_require__(453);
|
|
1736
1736
|
module.exports = __webpack_exports__;
|
|
1737
1737
|
})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"rspack-chain","author":"rspack-contrib","version":"1.0.
|
|
1
|
+
{"name":"rspack-chain","author":"rspack-contrib","version":"1.0.3","license":"MPL-2.0","types":"index.d.ts","type":"commonjs"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
(() => {
|
|
2
2
|
"use strict";
|
|
3
3
|
var __webpack_modules__ = {
|
|
4
|
-
|
|
4
|
+
747: (__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.transformFiles =
|
|
7
7
|
exports.reduceChunk =
|
|
@@ -120,7 +120,7 @@
|
|
|
120
120
|
.map(standardizeFilePaths);
|
|
121
121
|
exports.transformFiles = transformFiles;
|
|
122
122
|
},
|
|
123
|
-
|
|
123
|
+
192: (__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
124
124
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
125
125
|
exports.normalModuleLoaderHook =
|
|
126
126
|
exports.getCompilerHooks =
|
|
@@ -130,7 +130,7 @@
|
|
|
130
130
|
const fs_1 = __nccwpck_require__(147);
|
|
131
131
|
const path_1 = __nccwpck_require__(17);
|
|
132
132
|
const lite_tapable_1 = __nccwpck_require__(348);
|
|
133
|
-
const helpers_1 = __nccwpck_require__(
|
|
133
|
+
const helpers_1 = __nccwpck_require__(747);
|
|
134
134
|
const compilerHookMap = new WeakMap();
|
|
135
135
|
const getCompilerHooks = (compiler) => {
|
|
136
136
|
let hooks = compilerHookMap.get(compiler);
|
|
@@ -312,7 +312,7 @@
|
|
|
312
312
|
exports.getCompilerHooks =
|
|
313
313
|
void 0;
|
|
314
314
|
const path_1 = __nccwpck_require__(17);
|
|
315
|
-
const hooks_1 = __nccwpck_require__(
|
|
315
|
+
const hooks_1 = __nccwpck_require__(192);
|
|
316
316
|
Object.defineProperty(exports, "getCompilerHooks", {
|
|
317
317
|
enumerable: true,
|
|
318
318
|
get: function () {
|