@rsbuild/core 1.2.8 → 1.2.10
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/README.md +10 -2
- package/compiled/css-loader/index.js +18 -18
- package/compiled/html-rspack-plugin/index.js +14 -14
- package/compiled/launch-editor-middleware/index.js +22 -15
- package/compiled/launch-editor-middleware/package.json +1 -1
- package/compiled/postcss-loader/index.js +6 -6
- package/compiled/rsbuild-dev-middleware/index.js +25 -25
- package/compiled/rspack-manifest-plugin/index.js +4 -4
- package/compiled/style-loader/index.js +10 -10
- package/dist/index.cjs +93 -60
- package/dist/index.js +93 -60
- package/dist-types/server/devServer.d.ts +11 -6
- package/dist-types/server/getDevMiddlewares.d.ts +4 -0
- package/dist-types/server/middlewares.d.ts +1 -0
- package/dist-types/types/hooks.d.ts +1 -1
- package/dist-types/types/plugin.d.ts +63 -8
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -2,13 +2,21 @@
|
|
|
2
2
|
<a href="https://rsbuild.dev" target="blank"><img src="https://assets.rspack.dev/rsbuild/rsbuild-banner.png" alt="Rsbuild Logo" /></a>
|
|
3
3
|
</p>
|
|
4
4
|
|
|
5
|
-
#
|
|
5
|
+
# @rsbuild/core
|
|
6
6
|
|
|
7
7
|
The Rspack-based build tool. It's fast, out-of-the-box and extensible.
|
|
8
8
|
|
|
9
|
+
<p>
|
|
10
|
+
<a href="https://npmjs.com/package/@rsbuild/core">
|
|
11
|
+
<img src="https://img.shields.io/npm/v/@rsbuild/core?style=flat-square&colorA=564341&colorB=EDED91" alt="npm version" />
|
|
12
|
+
</a>
|
|
13
|
+
<img src="https://img.shields.io/badge/License-MIT-blue.svg?style=flat-square&colorA=564341&colorB=EDED91" alt="license" />
|
|
14
|
+
<a href="https://npmcharts.com/compare/@rsbuild/core?minimal=true"><img src="https://img.shields.io/npm/dm/@rsbuild/core.svg?style=flat-square&colorA=564341&colorB=EDED91" alt="downloads" /></a>
|
|
15
|
+
</p>
|
|
16
|
+
|
|
9
17
|
## Documentation
|
|
10
18
|
|
|
11
|
-
https://rsbuild.dev/
|
|
19
|
+
See [Documentation](https://rsbuild.dev/).
|
|
12
20
|
|
|
13
21
|
## Contributing
|
|
14
22
|
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
(() => {
|
|
2
2
|
var __webpack_modules__ = {
|
|
3
|
-
|
|
3
|
+
1955: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
4
4
|
"use strict";
|
|
5
|
-
const loader = __nccwpck_require__(
|
|
5
|
+
const loader = __nccwpck_require__(989);
|
|
6
6
|
module.exports = loader.default;
|
|
7
7
|
module.exports.defaultGetLocalIdent =
|
|
8
|
-
__nccwpck_require__(
|
|
8
|
+
__nccwpck_require__(4808).defaultGetLocalIdent;
|
|
9
9
|
},
|
|
10
|
-
|
|
10
|
+
989: (__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__(9409));
|
|
15
|
-
var _plugins = __nccwpck_require__(
|
|
16
|
-
var _utils = __nccwpck_require__(
|
|
15
|
+
var _plugins = __nccwpck_require__(642);
|
|
16
|
+
var _utils = __nccwpck_require__(4808);
|
|
17
17
|
function _interopRequireDefault(obj) {
|
|
18
18
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
19
19
|
}
|
|
@@ -236,7 +236,7 @@
|
|
|
236
236
|
callback(null, `${importCode}${moduleCode}${exportCode}`);
|
|
237
237
|
}
|
|
238
238
|
},
|
|
239
|
-
|
|
239
|
+
642: (__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
240
240
|
"use strict";
|
|
241
241
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
242
242
|
Object.defineProperty(exports, "icssParser", {
|
|
@@ -258,22 +258,22 @@
|
|
|
258
258
|
},
|
|
259
259
|
});
|
|
260
260
|
var _postcssImportParser = _interopRequireDefault(
|
|
261
|
-
__nccwpck_require__(
|
|
261
|
+
__nccwpck_require__(3265),
|
|
262
262
|
);
|
|
263
263
|
var _postcssIcssParser = _interopRequireDefault(
|
|
264
|
-
__nccwpck_require__(
|
|
264
|
+
__nccwpck_require__(2328),
|
|
265
265
|
);
|
|
266
|
-
var _postcssUrlParser = _interopRequireDefault(__nccwpck_require__(
|
|
266
|
+
var _postcssUrlParser = _interopRequireDefault(__nccwpck_require__(4607));
|
|
267
267
|
function _interopRequireDefault(obj) {
|
|
268
268
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
269
269
|
}
|
|
270
270
|
},
|
|
271
|
-
|
|
271
|
+
2328: (__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
272
272
|
"use strict";
|
|
273
273
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
274
274
|
exports["default"] = void 0;
|
|
275
275
|
var _icssUtils = __nccwpck_require__(5032);
|
|
276
|
-
var _utils = __nccwpck_require__(
|
|
276
|
+
var _utils = __nccwpck_require__(4808);
|
|
277
277
|
const plugin = (options = {}) => ({
|
|
278
278
|
postcssPlugin: "postcss-icss-parser",
|
|
279
279
|
async OnceExit(root) {
|
|
@@ -372,14 +372,14 @@
|
|
|
372
372
|
plugin.postcss = true;
|
|
373
373
|
var _default = (exports["default"] = plugin);
|
|
374
374
|
},
|
|
375
|
-
|
|
375
|
+
3265: (__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
376
376
|
"use strict";
|
|
377
377
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
378
378
|
exports["default"] = void 0;
|
|
379
379
|
var _postcssValueParser = _interopRequireDefault(
|
|
380
380
|
__nccwpck_require__(2948),
|
|
381
381
|
);
|
|
382
|
-
var _utils = __nccwpck_require__(
|
|
382
|
+
var _utils = __nccwpck_require__(4808);
|
|
383
383
|
function _interopRequireDefault(obj) {
|
|
384
384
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
385
385
|
}
|
|
@@ -684,14 +684,14 @@
|
|
|
684
684
|
plugin.postcss = true;
|
|
685
685
|
var _default = (exports["default"] = plugin);
|
|
686
686
|
},
|
|
687
|
-
|
|
687
|
+
4607: (__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
688
688
|
"use strict";
|
|
689
689
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
690
690
|
exports["default"] = void 0;
|
|
691
691
|
var _postcssValueParser = _interopRequireDefault(
|
|
692
692
|
__nccwpck_require__(2948),
|
|
693
693
|
);
|
|
694
|
-
var _utils = __nccwpck_require__(
|
|
694
|
+
var _utils = __nccwpck_require__(4808);
|
|
695
695
|
function _interopRequireDefault(obj) {
|
|
696
696
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
697
697
|
}
|
|
@@ -1034,7 +1034,7 @@
|
|
|
1034
1034
|
plugin.postcss = true;
|
|
1035
1035
|
var _default = (exports["default"] = plugin);
|
|
1036
1036
|
},
|
|
1037
|
-
|
|
1037
|
+
4808: (__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
1038
1038
|
"use strict";
|
|
1039
1039
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1040
1040
|
exports.WEBPACK_IGNORE_COMMENT_REGEXP = void 0;
|
|
@@ -7984,6 +7984,6 @@
|
|
|
7984
7984
|
}
|
|
7985
7985
|
if (typeof __nccwpck_require__ !== "undefined")
|
|
7986
7986
|
__nccwpck_require__.ab = __dirname + "/";
|
|
7987
|
-
var __webpack_exports__ = __nccwpck_require__(
|
|
7987
|
+
var __webpack_exports__ = __nccwpck_require__(1955);
|
|
7988
7988
|
module.exports = __webpack_exports__;
|
|
7989
7989
|
})();
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(() => {
|
|
2
2
|
var __webpack_modules__ = {
|
|
3
|
-
|
|
3
|
+
986: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
4
4
|
"use strict";
|
|
5
|
-
const { HtmlWebpackChildCompiler } = __nccwpck_require__(
|
|
5
|
+
const { HtmlWebpackChildCompiler } = __nccwpck_require__(955);
|
|
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
|
+
955: (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
|
+
913: (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
|
+
672: (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
|
+
871: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
517
517
|
"use strict";
|
|
518
518
|
const { AsyncSeriesWaterfallHook } = __nccwpck_require__(408);
|
|
519
519
|
const htmlWebpackPluginHooksMap = new WeakMap();
|
|
@@ -539,7 +539,7 @@
|
|
|
539
539
|
}
|
|
540
540
|
module.exports = { getHtmlRspackPluginHooks };
|
|
541
541
|
},
|
|
542
|
-
|
|
542
|
+
638: (module) => {
|
|
543
543
|
const voidTags = [
|
|
544
544
|
"area",
|
|
545
545
|
"base",
|
|
@@ -607,19 +607,19 @@
|
|
|
607
607
|
htmlTagObjectToString,
|
|
608
608
|
};
|
|
609
609
|
},
|
|
610
|
-
|
|
610
|
+
791: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
611
611
|
"use strict";
|
|
612
612
|
const promisify = __nccwpck_require__(23).promisify;
|
|
613
613
|
const vm = __nccwpck_require__(154);
|
|
614
614
|
const fs = __nccwpck_require__(896);
|
|
615
615
|
const path = __nccwpck_require__(928);
|
|
616
|
-
const { CachedChildCompilation } = __nccwpck_require__(
|
|
616
|
+
const { CachedChildCompilation } = __nccwpck_require__(986);
|
|
617
617
|
const { createHtmlTagObject, htmlTagObjectToString, HtmlTagArray } =
|
|
618
|
-
__nccwpck_require__(
|
|
619
|
-
const prettyError = __nccwpck_require__(
|
|
620
|
-
const chunkSorter = __nccwpck_require__(
|
|
618
|
+
__nccwpck_require__(638);
|
|
619
|
+
const prettyError = __nccwpck_require__(672);
|
|
620
|
+
const chunkSorter = __nccwpck_require__(913);
|
|
621
621
|
const getHtmlRspackPluginHooks =
|
|
622
|
-
__nccwpck_require__(
|
|
622
|
+
__nccwpck_require__(871).getHtmlRspackPluginHooks;
|
|
623
623
|
class HtmlRspackPlugin {
|
|
624
624
|
constructor(userOptions = {}) {
|
|
625
625
|
this.version = HtmlRspackPlugin.version;
|
|
@@ -1578,6 +1578,6 @@
|
|
|
1578
1578
|
}
|
|
1579
1579
|
if (typeof __nccwpck_require__ !== "undefined")
|
|
1580
1580
|
__nccwpck_require__.ab = __dirname + "/";
|
|
1581
|
-
var __webpack_exports__ = __nccwpck_require__(
|
|
1581
|
+
var __webpack_exports__ = __nccwpck_require__(791);
|
|
1582
1582
|
module.exports = __webpack_exports__;
|
|
1583
1583
|
})();
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
(() => {
|
|
2
2
|
var __webpack_modules__ = {
|
|
3
|
-
|
|
3
|
+
285: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
4
4
|
const url = __nccwpck_require__(16);
|
|
5
5
|
const path = __nccwpck_require__(928);
|
|
6
|
-
const launch = __nccwpck_require__(
|
|
6
|
+
const launch = __nccwpck_require__(83);
|
|
7
7
|
module.exports = (specifiedEditor, srcRoot, onErrorCallback) => {
|
|
8
8
|
if (typeof specifiedEditor === "function") {
|
|
9
9
|
onErrorCallback = specifiedEditor;
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
};
|
|
33
33
|
};
|
|
34
34
|
},
|
|
35
|
-
|
|
35
|
+
406: (module) => {
|
|
36
36
|
module.exports = {
|
|
37
37
|
atom: "atom",
|
|
38
38
|
Brackets: "brackets",
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"rider.sh": "rider",
|
|
61
61
|
};
|
|
62
62
|
},
|
|
63
|
-
|
|
63
|
+
461: (module) => {
|
|
64
64
|
module.exports = {
|
|
65
65
|
"/Applications/Atom.app/Contents/MacOS/Atom": "atom",
|
|
66
66
|
"/Applications/Atom Beta.app/Contents/MacOS/Atom Beta":
|
|
@@ -107,12 +107,13 @@
|
|
|
107
107
|
"/Applications/Zed.app/Contents/MacOS/zed": "zed",
|
|
108
108
|
};
|
|
109
109
|
},
|
|
110
|
-
|
|
110
|
+
773: (module) => {
|
|
111
111
|
module.exports = [
|
|
112
112
|
"Brackets.exe",
|
|
113
113
|
"Code.exe",
|
|
114
114
|
"Code - Insiders.exe",
|
|
115
115
|
"VSCodium.exe",
|
|
116
|
+
"Cursor.exe",
|
|
116
117
|
"atom.exe",
|
|
117
118
|
"sublime_text.exe",
|
|
118
119
|
"notepad++.exe",
|
|
@@ -134,7 +135,7 @@
|
|
|
134
135
|
"rider64.exe",
|
|
135
136
|
];
|
|
136
137
|
},
|
|
137
|
-
|
|
138
|
+
673: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
138
139
|
const path = __nccwpck_require__(928);
|
|
139
140
|
module.exports = function getArgumentsForPosition(
|
|
140
141
|
editor,
|
|
@@ -205,13 +206,13 @@
|
|
|
205
206
|
return [fileName];
|
|
206
207
|
};
|
|
207
208
|
},
|
|
208
|
-
|
|
209
|
+
758: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
209
210
|
const path = __nccwpck_require__(928);
|
|
210
211
|
const shellQuote = __nccwpck_require__(32);
|
|
211
212
|
const childProcess = __nccwpck_require__(317);
|
|
212
|
-
const COMMON_EDITORS_MACOS = __nccwpck_require__(
|
|
213
|
-
const COMMON_EDITORS_LINUX = __nccwpck_require__(
|
|
214
|
-
const COMMON_EDITORS_WIN = __nccwpck_require__(
|
|
213
|
+
const COMMON_EDITORS_MACOS = __nccwpck_require__(461);
|
|
214
|
+
const COMMON_EDITORS_LINUX = __nccwpck_require__(406);
|
|
215
|
+
const COMMON_EDITORS_WIN = __nccwpck_require__(773);
|
|
215
216
|
module.exports = function guessEditor(specifiedEditor) {
|
|
216
217
|
if (specifiedEditor) {
|
|
217
218
|
return shellQuote.parse(specifiedEditor);
|
|
@@ -253,7 +254,10 @@
|
|
|
253
254
|
} else if (process.platform === "win32") {
|
|
254
255
|
const output = childProcess
|
|
255
256
|
.execSync(
|
|
256
|
-
'powershell -NoProfile -Command "
|
|
257
|
+
'powershell -NoProfile -Command "' +
|
|
258
|
+
"[Console]::OutputEncoding=[Text.Encoding]::UTF8;" +
|
|
259
|
+
'Get-CimInstance -Query \\"select executablepath from win32_process where executablepath is not null\\" | % { $_.ExecutablePath }' +
|
|
260
|
+
'"',
|
|
257
261
|
{ stdio: ["pipe", "pipe", "ignore"] },
|
|
258
262
|
)
|
|
259
263
|
.toString();
|
|
@@ -288,14 +292,14 @@
|
|
|
288
292
|
return [null];
|
|
289
293
|
};
|
|
290
294
|
},
|
|
291
|
-
|
|
295
|
+
83: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
292
296
|
const fs = __nccwpck_require__(896);
|
|
293
297
|
const os = __nccwpck_require__(857);
|
|
294
298
|
const path = __nccwpck_require__(928);
|
|
295
299
|
const colors = __nccwpck_require__(717);
|
|
296
300
|
const childProcess = __nccwpck_require__(317);
|
|
297
|
-
const guessEditor = __nccwpck_require__(
|
|
298
|
-
const getArgumentsForPosition = __nccwpck_require__(
|
|
301
|
+
const guessEditor = __nccwpck_require__(758);
|
|
302
|
+
const getArgumentsForPosition = __nccwpck_require__(673);
|
|
299
303
|
function wrapErrorCallback(cb) {
|
|
300
304
|
return (fileName, errorMessage) => {
|
|
301
305
|
console.log();
|
|
@@ -329,6 +333,9 @@
|
|
|
329
333
|
}
|
|
330
334
|
const positionRE = /:(\d+)(:(\d+))?$/;
|
|
331
335
|
function parseFile(file) {
|
|
336
|
+
if (file.startsWith("file://")) {
|
|
337
|
+
file = __nccwpck_require__(16).fileURLToPath(file);
|
|
338
|
+
}
|
|
332
339
|
const fileName = file.replace(positionRE, "");
|
|
333
340
|
const match = file.match(positionRE);
|
|
334
341
|
const lineNumber = match && match[1];
|
|
@@ -689,6 +696,6 @@
|
|
|
689
696
|
}
|
|
690
697
|
if (typeof __nccwpck_require__ !== "undefined")
|
|
691
698
|
__nccwpck_require__.ab = __dirname + "/";
|
|
692
|
-
var __webpack_exports__ = __nccwpck_require__(
|
|
699
|
+
var __webpack_exports__ = __nccwpck_require__(285);
|
|
693
700
|
module.exports = __webpack_exports__;
|
|
694
701
|
})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"launch-editor-middleware","author":"Evan You","version":"2.
|
|
1
|
+
{"name":"launch-editor-middleware","author":"Evan You","version":"2.10.0","license":"MIT","types":"index.d.ts","type":"commonjs"}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
(() => {
|
|
2
2
|
"use strict";
|
|
3
3
|
var __webpack_modules__ = {
|
|
4
|
-
|
|
5
|
-
module.exports = __nccwpck_require__(
|
|
4
|
+
292: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
5
|
+
module.exports = __nccwpck_require__(194)["default"];
|
|
6
6
|
},
|
|
7
|
-
|
|
7
|
+
194: (__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__(928));
|
|
12
|
-
var _utils = __nccwpck_require__(
|
|
12
|
+
var _utils = __nccwpck_require__(131);
|
|
13
13
|
function _interopRequireDefault(obj) {
|
|
14
14
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
15
15
|
}
|
|
@@ -179,7 +179,7 @@
|
|
|
179
179
|
callback(null, result.css, map, { ast });
|
|
180
180
|
}
|
|
181
181
|
},
|
|
182
|
-
|
|
182
|
+
131: (module, exports, __nccwpck_require__) => {
|
|
183
183
|
module = __nccwpck_require__.nmd(module);
|
|
184
184
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
185
185
|
exports.exec = exec;
|
|
@@ -716,6 +716,6 @@
|
|
|
716
716
|
})();
|
|
717
717
|
if (typeof __nccwpck_require__ !== "undefined")
|
|
718
718
|
__nccwpck_require__.ab = __dirname + "/";
|
|
719
|
-
var __webpack_exports__ = __nccwpck_require__(
|
|
719
|
+
var __webpack_exports__ = __nccwpck_require__(292);
|
|
720
720
|
module.exports = __webpack_exports__;
|
|
721
721
|
})();
|
|
@@ -4449,14 +4449,14 @@
|
|
|
4449
4449
|
return a.start - b.start;
|
|
4450
4450
|
}
|
|
4451
4451
|
},
|
|
4452
|
-
|
|
4452
|
+
5152: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
4453
4453
|
"use strict";
|
|
4454
|
-
const middleware = __nccwpck_require__(
|
|
4455
|
-
const getFilenameFromUrl = __nccwpck_require__(
|
|
4456
|
-
const setupHooks = __nccwpck_require__(
|
|
4457
|
-
const setupWriteToDisk = __nccwpck_require__(
|
|
4458
|
-
const setupOutputFileSystem = __nccwpck_require__(
|
|
4459
|
-
const ready = __nccwpck_require__(
|
|
4454
|
+
const middleware = __nccwpck_require__(3678);
|
|
4455
|
+
const getFilenameFromUrl = __nccwpck_require__(7114);
|
|
4456
|
+
const setupHooks = __nccwpck_require__(9447);
|
|
4457
|
+
const setupWriteToDisk = __nccwpck_require__(5672);
|
|
4458
|
+
const setupOutputFileSystem = __nccwpck_require__(6673);
|
|
4459
|
+
const ready = __nccwpck_require__(5653);
|
|
4460
4460
|
const noop = () => {};
|
|
4461
4461
|
function wdm(compiler, options = {}) {
|
|
4462
4462
|
const context = {
|
|
@@ -4511,14 +4511,14 @@
|
|
|
4511
4511
|
}
|
|
4512
4512
|
module.exports = wdm;
|
|
4513
4513
|
},
|
|
4514
|
-
|
|
4514
|
+
3678: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
4515
4515
|
"use strict";
|
|
4516
4516
|
const mrmime = __nccwpck_require__(8311);
|
|
4517
4517
|
const onFinishedStream = __nccwpck_require__(21);
|
|
4518
|
-
const getFilenameFromUrl = __nccwpck_require__(
|
|
4519
|
-
const ready = __nccwpck_require__(
|
|
4520
|
-
const parseTokenList = __nccwpck_require__(
|
|
4521
|
-
const memorize = __nccwpck_require__(
|
|
4518
|
+
const getFilenameFromUrl = __nccwpck_require__(7114);
|
|
4519
|
+
const ready = __nccwpck_require__(5653);
|
|
4520
|
+
const parseTokenList = __nccwpck_require__(5832);
|
|
4521
|
+
const memorize = __nccwpck_require__(4590);
|
|
4522
4522
|
async function getEtag(stat) {
|
|
4523
4523
|
const mtime = stat.mtime.getTime().toString(16);
|
|
4524
4524
|
const size = stat.size.toString(16);
|
|
@@ -4610,7 +4610,7 @@
|
|
|
4610
4610
|
return;
|
|
4611
4611
|
}
|
|
4612
4612
|
function sendError(status, options) {
|
|
4613
|
-
const escapeHtml = __nccwpck_require__(
|
|
4613
|
+
const escapeHtml = __nccwpck_require__(1410);
|
|
4614
4614
|
const content = statuses[status] || String(status);
|
|
4615
4615
|
const document = Buffer.from(
|
|
4616
4616
|
`<!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>`,
|
|
@@ -4915,7 +4915,7 @@
|
|
|
4915
4915
|
}
|
|
4916
4916
|
module.exports = wrapper;
|
|
4917
4917
|
},
|
|
4918
|
-
|
|
4918
|
+
1410: (module) => {
|
|
4919
4919
|
"use strict";
|
|
4920
4920
|
const matchHtmlRegExp = /["'&<>]/;
|
|
4921
4921
|
function escapeHtml(string) {
|
|
@@ -4960,13 +4960,13 @@
|
|
|
4960
4960
|
}
|
|
4961
4961
|
module.exports = escapeHtml;
|
|
4962
4962
|
},
|
|
4963
|
-
|
|
4963
|
+
7114: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
4964
4964
|
"use strict";
|
|
4965
4965
|
const path = __nccwpck_require__(6928);
|
|
4966
4966
|
const { parse } = __nccwpck_require__(7016);
|
|
4967
4967
|
const querystring = __nccwpck_require__(3480);
|
|
4968
|
-
const getPaths = __nccwpck_require__(
|
|
4969
|
-
const memorize = __nccwpck_require__(
|
|
4968
|
+
const getPaths = __nccwpck_require__(276);
|
|
4969
|
+
const memorize = __nccwpck_require__(4590);
|
|
4970
4970
|
const memoizedParse = memorize(parse, undefined, (value) => {
|
|
4971
4971
|
if (value.pathname) {
|
|
4972
4972
|
value.pathname = decode(value.pathname);
|
|
@@ -5049,7 +5049,7 @@
|
|
|
5049
5049
|
}
|
|
5050
5050
|
module.exports = getFilenameFromUrl;
|
|
5051
5051
|
},
|
|
5052
|
-
|
|
5052
|
+
276: (module) => {
|
|
5053
5053
|
"use strict";
|
|
5054
5054
|
function getPaths(context) {
|
|
5055
5055
|
const { stats, options } = context;
|
|
@@ -5070,7 +5070,7 @@
|
|
|
5070
5070
|
}
|
|
5071
5071
|
module.exports = getPaths;
|
|
5072
5072
|
},
|
|
5073
|
-
|
|
5073
|
+
4590: (module) => {
|
|
5074
5074
|
"use strict";
|
|
5075
5075
|
const cacheStore = new WeakMap();
|
|
5076
5076
|
function memorize(fn, { cache = new Map() } = {}, callback) {
|
|
@@ -5092,7 +5092,7 @@
|
|
|
5092
5092
|
}
|
|
5093
5093
|
module.exports = memorize;
|
|
5094
5094
|
},
|
|
5095
|
-
|
|
5095
|
+
5832: (module) => {
|
|
5096
5096
|
"use strict";
|
|
5097
5097
|
function parseTokenList(str) {
|
|
5098
5098
|
let end = 0;
|
|
@@ -5125,7 +5125,7 @@
|
|
|
5125
5125
|
}
|
|
5126
5126
|
module.exports = parseTokenList;
|
|
5127
5127
|
},
|
|
5128
|
-
|
|
5128
|
+
5653: (module) => {
|
|
5129
5129
|
"use strict";
|
|
5130
5130
|
function ready(context, callback, req) {
|
|
5131
5131
|
if (context.state) {
|
|
@@ -5140,7 +5140,7 @@
|
|
|
5140
5140
|
}
|
|
5141
5141
|
module.exports = ready;
|
|
5142
5142
|
},
|
|
5143
|
-
|
|
5143
|
+
9447: (module) => {
|
|
5144
5144
|
"use strict";
|
|
5145
5145
|
function setupHooks(context) {
|
|
5146
5146
|
function invalid() {
|
|
@@ -5172,7 +5172,7 @@
|
|
|
5172
5172
|
}
|
|
5173
5173
|
module.exports = setupHooks;
|
|
5174
5174
|
},
|
|
5175
|
-
|
|
5175
|
+
6673: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
5176
5176
|
"use strict";
|
|
5177
5177
|
const memfs = __nccwpck_require__(5590);
|
|
5178
5178
|
function setupOutputFileSystem(context) {
|
|
@@ -5199,7 +5199,7 @@
|
|
|
5199
5199
|
}
|
|
5200
5200
|
module.exports = setupOutputFileSystem;
|
|
5201
5201
|
},
|
|
5202
|
-
|
|
5202
|
+
5672: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
5203
5203
|
"use strict";
|
|
5204
5204
|
const fs = __nccwpck_require__(9896);
|
|
5205
5205
|
const path = __nccwpck_require__(6928);
|
|
@@ -6185,6 +6185,6 @@
|
|
|
6185
6185
|
}
|
|
6186
6186
|
if (typeof __nccwpck_require__ !== "undefined")
|
|
6187
6187
|
__nccwpck_require__.ab = __dirname + "/";
|
|
6188
|
-
var __webpack_exports__ = __nccwpck_require__(
|
|
6188
|
+
var __webpack_exports__ = __nccwpck_require__(5152);
|
|
6189
6189
|
module.exports = __webpack_exports__;
|
|
6190
6190
|
})();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
(() => {
|
|
2
2
|
"use strict";
|
|
3
3
|
var __webpack_modules__ = {
|
|
4
|
-
|
|
4
|
+
427: (__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
|
+
262: (__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__(896);
|
|
131
131
|
const path_1 = __nccwpck_require__(928);
|
|
132
132
|
const lite_tapable_1 = __nccwpck_require__(408);
|
|
133
|
-
const helpers_1 = __nccwpck_require__(
|
|
133
|
+
const helpers_1 = __nccwpck_require__(427);
|
|
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__(928);
|
|
315
|
-
const hooks_1 = __nccwpck_require__(
|
|
315
|
+
const hooks_1 = __nccwpck_require__(262);
|
|
316
316
|
Object.defineProperty(exports, "getCompilerHooks", {
|
|
317
317
|
enumerable: true,
|
|
318
318
|
get: function () {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
(() => {
|
|
2
2
|
"use strict";
|
|
3
3
|
var __webpack_modules__ = {
|
|
4
|
-
|
|
5
|
-
const loader = __nccwpck_require__(
|
|
4
|
+
69: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
5
|
+
const loader = __nccwpck_require__(935);
|
|
6
6
|
module.exports = loader.default;
|
|
7
7
|
},
|
|
8
|
-
|
|
8
|
+
935: (__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
10
|
exports["default"] = void 0;
|
|
11
11
|
var _path = _interopRequireDefault(__nccwpck_require__(928));
|
|
12
|
-
var _utils = __nccwpck_require__(
|
|
13
|
-
var _options = _interopRequireDefault(__nccwpck_require__(
|
|
12
|
+
var _utils = __nccwpck_require__(58);
|
|
13
|
+
var _options = _interopRequireDefault(__nccwpck_require__(542));
|
|
14
14
|
function _interopRequireDefault(obj) {
|
|
15
15
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
16
16
|
}
|
|
@@ -104,7 +104,7 @@
|
|
|
104
104
|
};
|
|
105
105
|
var _default = (exports["default"] = loader);
|
|
106
106
|
},
|
|
107
|
-
|
|
107
|
+
196: (module) => {
|
|
108
108
|
function isEqualLocals(a, b, isNamedExport) {
|
|
109
109
|
if ((!a && b) || (a && !b)) {
|
|
110
110
|
return false;
|
|
@@ -130,7 +130,7 @@
|
|
|
130
130
|
}
|
|
131
131
|
module.exports = isEqualLocals;
|
|
132
132
|
},
|
|
133
|
-
|
|
133
|
+
58: (__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
134
134
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
135
135
|
exports.getExportLazyStyleCode = getExportLazyStyleCode;
|
|
136
136
|
exports.getExportStyleCode = getExportStyleCode;
|
|
@@ -151,7 +151,7 @@
|
|
|
151
151
|
exports.getdomAPI = getdomAPI;
|
|
152
152
|
exports.stringifyRequest = stringifyRequest;
|
|
153
153
|
var _path = _interopRequireDefault(__nccwpck_require__(928));
|
|
154
|
-
var _isEqualLocals = _interopRequireDefault(__nccwpck_require__(
|
|
154
|
+
var _isEqualLocals = _interopRequireDefault(__nccwpck_require__(196));
|
|
155
155
|
function _interopRequireDefault(obj) {
|
|
156
156
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
157
157
|
}
|
|
@@ -394,7 +394,7 @@
|
|
|
394
394
|
928: (module) => {
|
|
395
395
|
module.exports = require("path");
|
|
396
396
|
},
|
|
397
|
-
|
|
397
|
+
542: (module) => {
|
|
398
398
|
module.exports = JSON.parse(
|
|
399
399
|
'{"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}',
|
|
400
400
|
);
|
|
@@ -422,6 +422,6 @@
|
|
|
422
422
|
}
|
|
423
423
|
if (typeof __nccwpck_require__ !== "undefined")
|
|
424
424
|
__nccwpck_require__.ab = __dirname + "/";
|
|
425
|
-
var __webpack_exports__ = __nccwpck_require__(
|
|
425
|
+
var __webpack_exports__ = __nccwpck_require__(69);
|
|
426
426
|
module.exports = __webpack_exports__;
|
|
427
427
|
})();
|