File tree Expand file tree Collapse file tree 10 files changed +421
-312
lines changed Expand file tree Collapse file tree 10 files changed +421
-312
lines changed Original file line number Diff line number Diff line change 18
18
},
19
19
"devDependencies" : {
20
20
"@module-federation/rsbuild-plugin" : " workspace:*" ,
21
- "@rsbuild/core" : " ^1.0.7 " ,
21
+ "@rsbuild/core" : " ^1.0.16 " ,
22
22
"@rsbuild/plugin-react" : " ^1.0.3" ,
23
23
"@types/react" : " ^18.2.79" ,
24
24
"@types/react-dom" : " ^18.3.0" ,
Original file line number Diff line number Diff line change 19
19
},
20
20
"devDependencies" : {
21
21
"@module-federation/rsbuild-plugin" : " workspace:*" ,
22
- "@rsbuild/core" : " ^1.0.7 " ,
22
+ "@rsbuild/core" : " ^1.0.16 " ,
23
23
"@rsbuild/plugin-react" : " ^1.0.3" ,
24
24
"@types/react" : " ^18.2.79" ,
25
25
"@types/react-dom" : " ^18.3.0" ,
Original file line number Diff line number Diff line change 15
15
},
16
16
"devDependencies" : {
17
17
"@module-federation/rsbuild-plugin" : " workspace:*" ,
18
- "@rsbuild/core" : " ^1.0.7 " ,
18
+ "@rsbuild/core" : " ^1.0.16 " ,
19
19
"@rsbuild/plugin-vue" : " ^1.0.1" ,
20
20
"tailwindcss" : " ^3.4.3" ,
21
21
"typescript" : " ^5.4.2"
Original file line number Diff line number Diff line change 18
18
},
19
19
"devDependencies" : {
20
20
"@ant-design/cssinjs" : " ^1.20.0" ,
21
- "@rsbuild/core" : " ^1.0.7 " ,
21
+ "@rsbuild/core" : " ^1.0.16 " ,
22
22
"@rsbuild/plugin-react" : " ^1.0.3" ,
23
23
"@rsbuild/shared" : " ^0.7.10" ,
24
24
"@types/react" : " ^18.2.79" ,
Original file line number Diff line number Diff line change 17
17
"react-router-dom" : " 6.24.1"
18
18
},
19
19
"devDependencies" : {
20
- "@rsbuild/core" : " ^1.0.7 " ,
20
+ "@rsbuild/core" : " ^1.0.16 " ,
21
21
"@rsbuild/plugin-react" : " ^1.0.3" ,
22
22
"@types/react" : " ^18.2.79" ,
23
23
"@types/react-dom" : " ^18.3.0" ,
Original file line number Diff line number Diff line change 14
14
"vue-router" : " ^4.3.2"
15
15
},
16
16
"devDependencies" : {
17
- "@rsbuild/core" : " ^1.0.7 " ,
17
+ "@rsbuild/core" : " ^1.0.16 " ,
18
18
"@rsbuild/plugin-vue" : " ^1.0.1" ,
19
19
"@vue/tsconfig" : " ^0.5.1" ,
20
20
"tailwindcss" : " ^3.4.3" ,
Original file line number Diff line number Diff line change 17
17
"react-router-dom" : " 6.24.1"
18
18
},
19
19
"devDependencies" : {
20
- "@rsbuild/core" : " ^1.0.7 " ,
20
+ "@rsbuild/core" : " ^1.0.16 " ,
21
21
"@rsbuild/plugin-react" : " ^1.0.3" ,
22
22
"@types/react" : " ^18.2.79" ,
23
23
"@types/react-dom" : " ^18.3.0" ,
Original file line number Diff line number Diff line change 35
35
"@module-federation/sdk" : " workspace:*"
36
36
},
37
37
"devDependencies" : {
38
- "@rsbuild/core" : " 1.x "
38
+ "@rsbuild/core" : " ^1.0.16 "
39
39
},
40
40
"peerDependencies" : {
41
41
"@rsbuild/core" : " 1.x" ,
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ export const pluginModuleFederation = (
60
60
const originalConfig = api . getRsbuildConfig ( 'original' ) ;
61
61
if (
62
62
originalConfig . dev ?. assetPrefix === undefined &&
63
- config . dev . assetPrefix === DEFAULT_ASSET_PREFIX
63
+ config . dev . assetPrefix === config . server ?. base
64
64
) {
65
65
config . dev . assetPrefix = true ;
66
66
}
You can’t perform that action at this time.
0 commit comments