File tree Expand file tree Collapse file tree 3 files changed +8
-5
lines changed
runtime/plugin-runtime/src/ssr/cli Expand file tree Collapse file tree 3 files changed +8
-5
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ ' @modern-js/runtime ' : patch
3
+ ' @modern-js/utils ' : patch
4
+ ---
5
+
6
+ fix: fix ` @modern-js/utils ` subpath exports
7
+ fix: 修复 ` @modern-js/utils ` 子路径导出
Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ export default (): CliPlugin<AppTools> => ({
97
97
source : {
98
98
alias : {
99
99
// ensure that all packages use the same storage in @modern -js/utils/runtime-node
100
- '@modern-js/utils/runtime-node' : require . resolve (
100
+ '@modern-js/utils/runtime-node$ ' : require . resolve (
101
101
'@modern-js/utils/runtime-node' ,
102
102
) ,
103
103
'@modern-js/runtime/plugins' : pluginsExportsUtils . getPath ( ) ,
Original file line number Diff line number Diff line change 302
302
},
303
303
"react-dom" : {
304
304
"optional" : true
305
- },
306
- "react-router-dom" : {
307
- "optional" : true
308
305
}
309
306
},
310
307
"devDependencies" : {
311
308
"react" : " >=17.0.0" ,
312
309
"react-dom" : " >=17.0.0" ,
313
- "react-router-dom" : " ^6.8.1" ,
314
310
"@modern-js/types" : " workspace:*" ,
315
311
"@scripts/build" : " workspace:*" ,
316
312
"@scripts/jest-config" : " workspace:*" ,
You can’t perform that action at this time.
0 commit comments