@rsbuild/core 1.1.2 → 1.1.3
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/bin/rsbuild.js +2 -10
- package/compiled/css-loader/index.js +46 -46
- package/compiled/html-rspack-plugin/index.js +14 -14
- package/compiled/postcss/index.js +135 -117
- package/compiled/postcss/package.json +1 -1
- package/compiled/postcss-load-config/index.js +10 -10
- package/compiled/postcss-loader/index.js +11 -11
- package/compiled/rspack-manifest-plugin/index.js +4 -4
- package/dist/client/hmr.js +10 -1
- package/dist/index.cjs +406 -453
- package/dist/index.js +309 -358
- package/dist-types/cli/commands.d.ts +1 -1
- package/dist-types/cli/index.d.ts +1 -0
- package/dist-types/helpers/stats.d.ts +2 -3
- package/dist-types/index.d.ts +1 -0
- package/dist-types/internal.d.ts +0 -2
- package/package.json +4 -6
- package/dist/index.cjs.LICENSE.txt +0 -13
- package/dist/index.js.LICENSE.txt +0 -13
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function runCLI(): Promise<void>;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import type { StatsCompilation
|
|
1
|
+
import type { StatsCompilation } from '@rspack/core';
|
|
2
2
|
import type { Rspack } from '../types';
|
|
3
|
-
import { isMultiCompiler } from './';
|
|
4
3
|
export declare const getAllStatsErrors: (statsData: StatsCompilation) => Rspack.StatsError[] | undefined;
|
|
5
4
|
export declare const getAllStatsWarnings: (statsData: StatsCompilation) => Rspack.StatsError[] | undefined;
|
|
6
|
-
export declare function getStatsOptions(compiler:
|
|
5
|
+
export declare function getStatsOptions(compiler: Rspack.Compiler | Rspack.MultiCompiler): Rspack.StatsOptions;
|
|
7
6
|
export declare function formatStats(statsData: Rspack.StatsCompilation, hasErrors: boolean): {
|
|
8
7
|
message?: string;
|
|
9
8
|
level?: string;
|
package/dist-types/index.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ import * as __internalHelper from './internal';
|
|
|
8
8
|
export { loadEnv } from './loadEnv';
|
|
9
9
|
export { createRsbuild } from './createRsbuild';
|
|
10
10
|
export { loadConfig, defineConfig } from './config';
|
|
11
|
+
export { runCLI } from './cli';
|
|
11
12
|
export declare const version: string;
|
|
12
13
|
export { rspack };
|
|
13
14
|
export type { Rspack };
|
package/dist-types/internal.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rsbuild/core",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.3",
|
|
4
4
|
"description": "The Rspack-based build tool.",
|
|
5
5
|
"homepage": "https://rsbuild.dev",
|
|
6
6
|
"bugs": {
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"types.d.ts"
|
|
47
47
|
],
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@rspack/core": "
|
|
49
|
+
"@rspack/core": "1.1.0",
|
|
50
50
|
"@rspack/lite-tapable": "~1.0.1",
|
|
51
51
|
"@swc/helpers": "^0.5.15",
|
|
52
52
|
"core-js": "~3.39.0"
|
|
@@ -55,7 +55,6 @@
|
|
|
55
55
|
"@rslib/core": "0.0.18",
|
|
56
56
|
"@types/connect": "3.4.38",
|
|
57
57
|
"@types/fs-extra": "^11.0.4",
|
|
58
|
-
"@types/is-glob": "^4.0.4",
|
|
59
58
|
"@types/node": "^22.9.0",
|
|
60
59
|
"@types/on-finished": "2.3.4",
|
|
61
60
|
"@types/webpack-bundle-analyzer": "4.7.0",
|
|
@@ -68,18 +67,17 @@
|
|
|
68
67
|
"css-loader": "7.1.2",
|
|
69
68
|
"deepmerge": "^4.3.1",
|
|
70
69
|
"dotenv": "16.4.5",
|
|
71
|
-
"dotenv-expand": "11.0.
|
|
70
|
+
"dotenv-expand": "11.0.7",
|
|
72
71
|
"fs-extra": "^11.2.0",
|
|
73
72
|
"html-rspack-plugin": "6.0.2",
|
|
74
73
|
"http-proxy-middleware": "^2.0.6",
|
|
75
|
-
"is-glob": "^4.0.3",
|
|
76
74
|
"jiti": "^1.21.6",
|
|
77
75
|
"launch-editor-middleware": "^2.9.1",
|
|
78
76
|
"mrmime": "^2.0.0",
|
|
79
77
|
"on-finished": "2.4.1",
|
|
80
78
|
"open": "^8.4.0",
|
|
81
79
|
"picocolors": "^1.1.1",
|
|
82
|
-
"postcss": "^8.4.
|
|
80
|
+
"postcss": "^8.4.49",
|
|
83
81
|
"postcss-load-config": "6.0.1",
|
|
84
82
|
"postcss-loader": "8.1.1",
|
|
85
83
|
"prebundle": "1.2.5",
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* is-extglob <https://github.com/jonschlinkert/is-extglob>
|
|
3
|
-
*
|
|
4
|
-
* Copyright (c) 2014-2016, Jon Schlinkert.
|
|
5
|
-
* Licensed under the MIT License.
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
/*!
|
|
9
|
-
* is-glob <https://github.com/jonschlinkert/is-glob>
|
|
10
|
-
*
|
|
11
|
-
* Copyright (c) 2014-2017, Jon Schlinkert.
|
|
12
|
-
* Released under the MIT License.
|
|
13
|
-
*/
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* is-extglob <https://github.com/jonschlinkert/is-extglob>
|
|
3
|
-
*
|
|
4
|
-
* Copyright (c) 2014-2016, Jon Schlinkert.
|
|
5
|
-
* Licensed under the MIT License.
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
/*!
|
|
9
|
-
* is-glob <https://github.com/jonschlinkert/is-glob>
|
|
10
|
-
*
|
|
11
|
-
* Copyright (c) 2014-2017, Jon Schlinkert.
|
|
12
|
-
* Released under the MIT License.
|
|
13
|
-
*/
|