@rsbuild/core 1.6.10 → 1.6.12
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 +18 -18
- package/compiled/html-rspack-plugin/index.js +14 -14
- package/compiled/memfs/index.js +123 -121
- package/compiled/memfs/package.json +1 -1
- package/compiled/postcss-loader/index.js +6 -6
- package/compiled/rslog/index.js +12 -9
- package/compiled/rslog/package.json +1 -1
- package/compiled/rspack-manifest-plugin/index.js +4 -4
- 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 +144 -804
- package/dist/131.js.LICENSE.txt +0 -21
- package/dist/136.mjs +1 -1
- package/dist/index.cjs +147 -820
- 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/dist-types/types/config.d.ts +6 -0
- package/package.json +4 -4
|
@@ -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
|
|
@@ -999,6 +999,12 @@ export type ManifestObjectConfig = {
|
|
|
999
999
|
* @default (file: FileDescriptor) => !file.name.endsWith('.LICENSE.txt')
|
|
1000
1000
|
*/
|
|
1001
1001
|
filter?: (file: FileDescriptor) => boolean;
|
|
1002
|
+
/**
|
|
1003
|
+
* Controls whether the generated manifest includes the static asset prefix in file paths.
|
|
1004
|
+
* The prefix is taken from `dev.assetPrefix` and `output.assetPrefix`.
|
|
1005
|
+
* @default true
|
|
1006
|
+
*/
|
|
1007
|
+
prefix?: boolean;
|
|
1002
1008
|
};
|
|
1003
1009
|
export type ManifestConfig = string | boolean | ManifestObjectConfig;
|
|
1004
1010
|
export type CleanDistPathObject = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rsbuild/core",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.12",
|
|
4
4
|
"description": "The Rspack-based build tool.",
|
|
5
5
|
"homepage": "https://rsbuild.rs",
|
|
6
6
|
"bugs": {
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"types.d.ts"
|
|
47
47
|
],
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@rspack/core": "1.6.
|
|
49
|
+
"@rspack/core": "1.6.6",
|
|
50
50
|
"@rspack/lite-tapable": "~1.1.0",
|
|
51
51
|
"@swc/helpers": "^0.5.17",
|
|
52
52
|
"core-js": "~3.47.0",
|
|
@@ -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",
|