@rsbuild/core 1.6.10 → 1.6.11
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/memfs/index.js +123 -121
- package/compiled/memfs/package.json +1 -1
- package/compiled/rslog/index.js +12 -9
- package/compiled/rslog/package.json +1 -1
- package/compiled/webpack-merge/index.d.ts +31 -0
- package/compiled/webpack-merge/index.js +1200 -0
- package/compiled/webpack-merge/license +20 -0
- package/compiled/webpack-merge/package.json +1 -0
- package/dist/131.js +71 -742
- package/dist/131.js.LICENSE.txt +0 -21
- package/dist/136.mjs +1 -1
- package/dist/index.cjs +71 -754
- package/dist/index.cjs.LICENSE.txt +0 -21
- package/dist/rslib-runtime.js +1 -1
- package/dist-types/constants.d.ts +1 -0
- package/dist-types/helpers/vendors.d.ts +1 -0
- package/dist-types/server/socketServer.d.ts +4 -0
- package/package.json +3 -3
|
@@ -4,20 +4,6 @@
|
|
|
4
4
|
* MIT Licensed
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
/*!
|
|
8
|
-
* is-plain-object <https://github.com/jonschlinkert/is-plain-object>
|
|
9
|
-
*
|
|
10
|
-
* Copyright (c) 2014-2017, Jon Schlinkert.
|
|
11
|
-
* Released under the MIT License.
|
|
12
|
-
*/
|
|
13
|
-
|
|
14
|
-
/*!
|
|
15
|
-
* isobject <https://github.com/jonschlinkert/isobject>
|
|
16
|
-
*
|
|
17
|
-
* Copyright (c) 2014-2017, Jon Schlinkert.
|
|
18
|
-
* Released under the MIT License.
|
|
19
|
-
*/
|
|
20
|
-
|
|
21
7
|
/*!
|
|
22
8
|
* on-finished
|
|
23
9
|
* Copyright(c) 2013 Jonathan Ong
|
|
@@ -25,13 +11,6 @@
|
|
|
25
11
|
* MIT Licensed
|
|
26
12
|
*/
|
|
27
13
|
|
|
28
|
-
/*!
|
|
29
|
-
* shallow-clone <https://github.com/jonschlinkert/shallow-clone>
|
|
30
|
-
*
|
|
31
|
-
* Copyright (c) 2015-present, Jon Schlinkert.
|
|
32
|
-
* Released under the MIT License.
|
|
33
|
-
*/
|
|
34
|
-
|
|
35
14
|
/**
|
|
36
15
|
* Autoload Config for PostCSS
|
|
37
16
|
*
|
package/dist/rslib-runtime.js
CHANGED
|
@@ -5,7 +5,7 @@ function __webpack_require__(moduleId) {
|
|
|
5
5
|
var module = __webpack_module_cache__[moduleId] = {
|
|
6
6
|
exports: {}
|
|
7
7
|
};
|
|
8
|
-
return __webpack_modules__[moduleId]
|
|
8
|
+
return __webpack_modules__[moduleId](module, module.exports, __webpack_require__), module.exports;
|
|
9
9
|
}
|
|
10
10
|
__webpack_require__.m = __webpack_modules__, __webpack_require__.add = function registerModules(modules) {
|
|
11
11
|
Object.assign(__webpack_require__.m, modules);
|
|
@@ -15,6 +15,7 @@ export declare const MEDIA_DIST_DIR = "static/media";
|
|
|
15
15
|
export declare const ASSETS_DIST_DIR = "static/assets";
|
|
16
16
|
export declare const LOADER_PATH: string;
|
|
17
17
|
export declare const STATIC_PATH: string;
|
|
18
|
+
export declare const CLIENT_PATH: string;
|
|
18
19
|
export declare const COMPILED_PATH: string;
|
|
19
20
|
export declare const TS_CONFIG_FILE = "tsconfig.json";
|
|
20
21
|
export declare const HMR_SOCKET_PATH = "/rsbuild-hmr";
|
|
@@ -9,6 +9,7 @@ type CompiledPackages = {
|
|
|
9
9
|
chokidar: typeof import('../../compiled/chokidar').default;
|
|
10
10
|
tinyglobby: typeof import('../../compiled/tinyglobby');
|
|
11
11
|
picocolors: typeof import('../../compiled/picocolors').default;
|
|
12
|
+
'webpack-merge': typeof import('../../compiled/webpack-merge');
|
|
12
13
|
'html-rspack-plugin': typeof import('../../compiled/html-rspack-plugin').default;
|
|
13
14
|
'http-proxy-middleware': typeof import('../../compiled/http-proxy-middleware');
|
|
14
15
|
'webpack-bundle-analyzer': typeof import('../../compiled/webpack-bundle-analyzer');
|
|
@@ -54,6 +54,10 @@ export declare class SocketServer {
|
|
|
54
54
|
* Send error messages to the client and render error overlay
|
|
55
55
|
*/
|
|
56
56
|
sendError(errors: Rspack.StatsError[], token: string): void;
|
|
57
|
+
/**
|
|
58
|
+
* Send warning messages to the client
|
|
59
|
+
*/
|
|
60
|
+
sendWarning(warnings: Rspack.StatsError[], token: string): void;
|
|
57
61
|
/**
|
|
58
62
|
* Write message to each socket
|
|
59
63
|
* @param message - The message to send
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rsbuild/core",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.11",
|
|
4
4
|
"description": "The Rspack-based build tool.",
|
|
5
5
|
"homepage": "https://rsbuild.rs",
|
|
6
6
|
"bugs": {
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"html-rspack-plugin": "6.1.4",
|
|
75
75
|
"http-proxy-middleware": "^2.0.9",
|
|
76
76
|
"launch-editor-middleware": "^2.12.0",
|
|
77
|
-
"memfs": "^4.51.
|
|
77
|
+
"memfs": "^4.51.1",
|
|
78
78
|
"mrmime": "^2.0.1",
|
|
79
79
|
"on-finished": "2.4.1",
|
|
80
80
|
"open": "^11.0.0",
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
"prebundle": "1.6.0",
|
|
86
86
|
"range-parser": "^1.2.1",
|
|
87
87
|
"reduce-configs": "^1.1.1",
|
|
88
|
-
"rslog": "^1.3.
|
|
88
|
+
"rslog": "^1.3.2",
|
|
89
89
|
"rspack-chain": "^1.4.1",
|
|
90
90
|
"rspack-manifest-plugin": "5.2.0",
|
|
91
91
|
"sirv": "^3.0.2",
|