Skip to content

Commit eb9adc9

Browse files
authored
fix: rspack ssr modernjs ssr live reload (#4247)
1 parent 0bddae0 commit eb9adc9

File tree

5 files changed

+274
-475
lines changed

5 files changed

+274
-475
lines changed

modernjs-ssr/dynamic-provider/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"@modern-js/runtime": "2.56.2",
3131
"react": "~18.3.0",
3232
"react-dom": "~18.3.0",
33-
"@module-federation/modern-js":"0.0.0-next-20240725061440"
33+
"@module-federation/modern-js":"0.3.3"
3434
},
3535
"devDependencies": {
3636
"@modern-js/app-tools": "2.56.2",

modernjs-ssr/host/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"@modern-js/runtime": "2.56.2",
3131
"react": "^18.2.0",
3232
"react-dom": "^18.2.0",
33-
"@module-federation/modern-js":"0.0.0-next-20240725061440"
33+
"@module-federation/modern-js":"0.3.3"
3434
},
3535
"devDependencies": {
3636
"@modern-js/app-tools": "2.56.2",

modernjs-ssr/host/src/routes/page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { createRemoteSSRComponent, loadRemote, registerRemotes } from '@modern-js/runtime/mf';
2-
import {DynamicRemoteSSRComponents} from '../components/dynamic-remote'
1+
import { createRemoteSSRComponent } from '@modern-js/runtime/mf';
2+
import {DynamicRemoteSSRComponents } from '../components/dynamic-remote'
33
import './index.css';
44

55
const RemoteSSRComponent = createRemoteSSRComponent({

modernjs-ssr/provider/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"@modern-js/runtime": "2.56.2",
3131
"react": "~18.3.0",
3232
"react-dom": "~18.3.0",
33-
"@module-federation/modern-js":"0.0.0-next-20240725061440"
33+
"@module-federation/modern-js":"0.3.3"
3434
},
3535
"devDependencies": {
3636
"@modern-js/app-tools": "2.56.2",

0 commit comments

Comments
 (0)