@rsbuild/core 1.2.11 → 1.2.13
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/chokidar/index.d.ts +61 -23
- package/compiled/chokidar/index.js +71 -56
- package/compiled/css-loader/index.js +309 -195
- package/compiled/html-rspack-plugin/index.js +14 -14
- package/compiled/http-proxy-middleware/index.d.ts +1 -1
- package/compiled/launch-editor-middleware/index.js +9 -6
- package/compiled/mrmime/index.js +4 -0
- package/compiled/mrmime/package.json +1 -1
- package/compiled/postcss/index.js +194 -194
- package/compiled/postcss/package.json +1 -1
- package/compiled/postcss-load-config/index.js +11 -11
- package/compiled/postcss-loader/index.js +9 -9
- package/compiled/rsbuild-dev-middleware/index.js +56 -46
- package/compiled/rsbuild-dev-middleware/package.json +1 -1
- package/compiled/rspack-manifest-plugin/index.js +4 -4
- package/compiled/sirv/index.js +8 -4
- package/compiled/sirv/package.json +1 -1
- package/compiled/style-loader/index.js +10 -10
- package/compiled/tinyglobby/index.d.ts +1 -0
- package/compiled/tinyglobby/index.js +266 -142
- package/compiled/tinyglobby/package.json +1 -1
- package/compiled/webpack-bundle-analyzer/index.js +6 -2
- package/compiled/ws/index.js +50 -49
- package/compiled/ws/package.json +1 -1
- package/dist/client/hmr.js +2 -2
- package/dist/index.cjs +146 -93
- package/dist/index.js +142 -89
- package/dist-types/helpers/index.d.ts +4 -3
- package/dist-types/index.d.ts +1 -1
- package/dist-types/loadEnv.d.ts +16 -4
- package/dist-types/logger.d.ts +14 -0
- package/dist-types/server/devServer.d.ts +2 -1
- package/dist-types/server/socketServer.d.ts +4 -2
- package/dist-types/types/config.d.ts +79 -43
- package/dist-types/types/rspack.d.ts +1 -1
- package/package.json +12 -12
- package/compiled/jiti/index.d.ts +0 -1
- package/compiled/jiti/index.js +0 -416
- package/compiled/jiti/license +0 -21
- package/compiled/jiti/package.json +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(() => {
|
|
2
2
|
var __webpack_modules__ = {
|
|
3
|
-
|
|
3
|
+
717: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
4
4
|
"use strict";
|
|
5
|
-
const { HtmlWebpackChildCompiler } = __nccwpck_require__(
|
|
5
|
+
const { HtmlWebpackChildCompiler } = __nccwpck_require__(174);
|
|
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
|
+
174: (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
|
+
902: (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
|
+
441: (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
|
+
160: (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
|
+
125: (module) => {
|
|
543
543
|
const voidTags = [
|
|
544
544
|
"area",
|
|
545
545
|
"base",
|
|
@@ -607,19 +607,19 @@
|
|
|
607
607
|
htmlTagObjectToString,
|
|
608
608
|
};
|
|
609
609
|
},
|
|
610
|
-
|
|
610
|
+
40: (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__(717);
|
|
617
617
|
const { createHtmlTagObject, htmlTagObjectToString, HtmlTagArray } =
|
|
618
|
-
__nccwpck_require__(
|
|
619
|
-
const prettyError = __nccwpck_require__(
|
|
620
|
-
const chunkSorter = __nccwpck_require__(
|
|
618
|
+
__nccwpck_require__(125);
|
|
619
|
+
const prettyError = __nccwpck_require__(441);
|
|
620
|
+
const chunkSorter = __nccwpck_require__(902);
|
|
621
621
|
const getHtmlRspackPluginHooks =
|
|
622
|
-
__nccwpck_require__(
|
|
622
|
+
__nccwpck_require__(160).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__(40);
|
|
1582
1582
|
module.exports = __webpack_exports__;
|
|
1583
1583
|
})();
|
|
@@ -44,7 +44,7 @@ declare class Server<TIncomingMessage = http.IncomingMessage, TServerResponse =
|
|
|
44
44
|
): void;
|
|
45
45
|
|
|
46
46
|
/**
|
|
47
|
-
* Used for proxying
|
|
47
|
+
* Used for proxying WS(S) requests
|
|
48
48
|
* @param req - Client request.
|
|
49
49
|
* @param socket - Client socket.
|
|
50
50
|
* @param head - Client head.
|
|
@@ -208,7 +208,7 @@
|
|
|
208
208
|
},
|
|
209
209
|
758: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
210
210
|
const path = __nccwpck_require__(928);
|
|
211
|
-
const shellQuote = __nccwpck_require__(
|
|
211
|
+
const shellQuote = __nccwpck_require__(723);
|
|
212
212
|
const childProcess = __nccwpck_require__(317);
|
|
213
213
|
const COMMON_EDITORS_MACOS = __nccwpck_require__(461);
|
|
214
214
|
const COMMON_EDITORS_LINUX = __nccwpck_require__(406);
|
|
@@ -421,12 +421,12 @@
|
|
|
421
421
|
}
|
|
422
422
|
module.exports = launchEditor;
|
|
423
423
|
},
|
|
424
|
-
|
|
424
|
+
723: (__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
425
425
|
"use strict";
|
|
426
|
-
exports.quote = __nccwpck_require__(
|
|
427
|
-
exports.parse = __nccwpck_require__(
|
|
426
|
+
exports.quote = __nccwpck_require__(99);
|
|
427
|
+
exports.parse = __nccwpck_require__(772);
|
|
428
428
|
},
|
|
429
|
-
|
|
429
|
+
772: (module) => {
|
|
430
430
|
"use strict";
|
|
431
431
|
var CONTROL =
|
|
432
432
|
"(?:" +
|
|
@@ -627,11 +627,14 @@
|
|
|
627
627
|
}, []);
|
|
628
628
|
};
|
|
629
629
|
},
|
|
630
|
-
|
|
630
|
+
99: (module) => {
|
|
631
631
|
"use strict";
|
|
632
632
|
module.exports = function quote(xs) {
|
|
633
633
|
return xs
|
|
634
634
|
.map(function (s) {
|
|
635
|
+
if (s === "") {
|
|
636
|
+
return "''";
|
|
637
|
+
}
|
|
635
638
|
if (s && typeof s === "object") {
|
|
636
639
|
return s.op.replace(/(.)/g, "\\$1");
|
|
637
640
|
}
|
package/compiled/mrmime/index.js
CHANGED
|
@@ -160,6 +160,7 @@
|
|
|
160
160
|
jsonml: "application/jsonml+json",
|
|
161
161
|
jsx: "text/jsx",
|
|
162
162
|
jt: "model/jt",
|
|
163
|
+
jxl: "image/jxl",
|
|
163
164
|
jxr: "image/jxr",
|
|
164
165
|
jxra: "image/jxra",
|
|
165
166
|
jxrs: "image/jxrs",
|
|
@@ -180,6 +181,8 @@
|
|
|
180
181
|
m1v: "video/mpeg",
|
|
181
182
|
m21: "application/mp21",
|
|
182
183
|
m2a: "audio/mpeg",
|
|
184
|
+
m2t: "video/mp2t",
|
|
185
|
+
m2ts: "video/mp2t",
|
|
183
186
|
m2v: "video/mpeg",
|
|
184
187
|
m3a: "audio/mpeg",
|
|
185
188
|
m4a: "audio/mp4",
|
|
@@ -240,6 +243,7 @@
|
|
|
240
243
|
msm: "application/octet-stream",
|
|
241
244
|
msp: "application/octet-stream",
|
|
242
245
|
mtl: "model/mtl",
|
|
246
|
+
mts: "video/mp2t",
|
|
243
247
|
musd: "application/mmt-usd+xml",
|
|
244
248
|
mxf: "application/mxf",
|
|
245
249
|
mxmf: "audio/mobile-xmf",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"mrmime","author":{"name":"Luke Edwards","email":"luke.edwards05@gmail.com","url":"https://lukeed.com"},"version":"2.0.
|
|
1
|
+
{"name":"mrmime","author":{"name":"Luke Edwards","email":"luke.edwards05@gmail.com","url":"https://lukeed.com"},"version":"2.0.1","license":"MIT","types":"index.d.ts","type":"commonjs"}
|