File tree Expand file tree Collapse file tree 11 files changed +86
-88
lines changed Expand file tree Collapse file tree 11 files changed +86
-88
lines changed Original file line number Diff line number Diff line change 11
11
"devDependencies" : {
12
12
"@e2e/helper" : " workspace:*" ,
13
13
"@playwright/test" : " 1.43.1" ,
14
- "@rsbuild/core" : " 1.0.1-beta.10 " ,
14
+ "@rsbuild/core" : " 1.0.1-beta.11 " ,
15
15
"@rslib/core" : " workspace:*" ,
16
16
"@rslib/tsconfig" : " workspace:*" ,
17
17
"@types/fs-extra" : " ^11.0.4" ,
Original file line number Diff line number Diff line change 9
9
"@rslib/core" : " workspace:*" ,
10
10
"@types/express" : " ^4.17.21" ,
11
11
"express" : " ^4.19.2" ,
12
- "typescript" : " ^5.5.3 "
12
+ "typescript" : " ^5.5.4 "
13
13
},
14
14
"peerDependencies" : {
15
15
"express" : " ^4"
Original file line number Diff line number Diff line change 5
5
"build" : " rslib build"
6
6
},
7
7
"devDependencies" : {
8
- "@rsbuild/plugin-react" : " 1.0.1-beta.9 " ,
8
+ "@rsbuild/plugin-react" : " 1.0.1-beta.11 " ,
9
9
"@rslib/core" : " workspace:*" ,
10
10
"@types/react" : " ^18.3.3" ,
11
11
"react" : " ^18.3.1"
Original file line number Diff line number Diff line change 38
38
"fs-extra" : " ^11.2.0" ,
39
39
"nano-staged" : " ^0.8.0" ,
40
40
"nx" : " ^19.4.2" ,
41
- "prettier" : " ^3.3.2 " ,
42
- "prettier-plugin-packagejson" : " ^2.5.0 " ,
41
+ "prettier" : " ^3.3.3 " ,
42
+ "prettier-plugin-packagejson" : " ^2.5.1 " ,
43
43
"simple-git-hooks" : " ^2.11.1" ,
44
- "typescript" : " ^5.5.3 " ,
44
+ "typescript" : " ^5.5.4 " ,
45
45
"vitest" : " ^2.0.5"
46
46
},
47
47
"packageManager" :
" [email protected] " ,
Original file line number Diff line number Diff line change 38
38
"prebundle" : " prebundle"
39
39
},
40
40
"dependencies" : {
41
- "@rsbuild/core" : " 1.0.1-beta.10 " ,
41
+ "@rsbuild/core" : " 1.0.1-beta.11 " ,
42
42
"rsbuild-plugin-dts" : " workspace:*"
43
43
},
44
44
"devDependencies" : {
51
51
"picocolors" : " 1.0.1" ,
52
52
"prebundle" : " 1.1.0" ,
53
53
"rslog" : " ^1.2.2" ,
54
- "typescript" : " ^5.5.3 "
54
+ "typescript" : " ^5.5.4 "
55
55
},
56
56
"peerDependencies" : {
57
57
"@microsoft/api-extractor" : " ^7" ,
Original file line number Diff line number Diff line change @@ -10,7 +10,6 @@ export async function build(
10
10
const rsbuildInstance = await initRsbuild ( config ) ;
11
11
12
12
await rsbuildInstance . build ( {
13
- mode : 'production' ,
14
13
watch : options ?. watch ,
15
14
} ) ;
16
15
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ export type BuildOptions = CommonOptions & {
14
14
} ;
15
15
16
16
export type InspectOptions = CommonOptions & {
17
- env : RsbuildMode ;
17
+ mode : RsbuildMode ;
18
18
output : string ;
19
19
verbose ?: boolean ;
20
20
} ;
@@ -64,7 +64,7 @@ export function runCli(): void {
64
64
const rslibConfig = await loadConfig ( options . config , options . envMode ) ;
65
65
const rsbuildInstance = await initRsbuild ( rslibConfig ) ;
66
66
await rsbuildInstance . inspectConfig ( {
67
- env : options . env ,
67
+ mode : options . mode ,
68
68
verbose : options . verbose ,
69
69
outputPath : options . output ,
70
70
writeToDisk : true ,
Original file line number Diff line number Diff line change @@ -142,6 +142,7 @@ export const composeAutoExternalConfig = (options: {
142
142
143
143
export async function createInternalRsbuildConfig ( ) : Promise < RsbuildConfig > {
144
144
return defineRsbuildConfig ( {
145
+ mode : 'production' ,
145
146
dev : {
146
147
progressBar : false ,
147
148
} ,
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ exports[`Should compose create Rsbuild config correctly > Merge Rsbuild config 1
7
7
" dev" : {
8
8
" progressBar" : false ,
9
9
},
10
+ " mode" : " production" ,
10
11
" output" : {
11
12
" distPath" : {
12
13
" js" : " ./" ,
@@ -81,6 +82,7 @@ exports[`Should compose create Rsbuild config correctly > Merge Rsbuild config 1
81
82
" dev" : {
82
83
" progressBar" : false ,
83
84
},
85
+ " mode" : " production" ,
84
86
" output" : {
85
87
" distPath" : {
86
88
" js" : " ./" ,
@@ -153,6 +155,7 @@ exports[`Should compose create Rsbuild config correctly > Merge Rsbuild config 1
153
155
" dev" : {
154
156
" progressBar" : false ,
155
157
},
158
+ " mode" : " production" ,
156
159
" output" : {
157
160
" distPath" : {
158
161
" js" : " ./" ,
Original file line number Diff line number Diff line change 34
34
"picocolors" : " 1.0.1"
35
35
},
36
36
"devDependencies" : {
37
- "@microsoft/api-extractor" : " ^7.47.4 " ,
38
- "@rsbuild/core" : " 1.0.1-beta.10 " ,
37
+ "@microsoft/api-extractor" : " ^7.47.5 " ,
38
+ "@rsbuild/core" : " 1.0.1-beta.11 " ,
39
39
"@rslib/tsconfig" : " workspace:*" ,
40
- "typescript" : " ^5.5.3 "
40
+ "typescript" : " ^5.5.4 "
41
41
},
42
42
"peerDependencies" : {
43
43
"@microsoft/api-extractor" : " ^7" ,
You can’t perform that action at this time.
0 commit comments