@module-federation/modern-js 0.0.0-next-20240816084239 → 0.0.0-next-20240816102736

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.
@@ -37,6 +37,9 @@ var import_SSRLiveReload = require("./SSRLiveReload");
37
37
  console.log("mfSSRPlugin trigger");
38
38
  const mfSSRPlugin = () => ({
39
39
  name: "@module-federation/modern-js",
40
+ pre: [
41
+ "@modern-js/plugin-router"
42
+ ],
40
43
  setup: () => {
41
44
  return {
42
45
  async beforeRender() {
@@ -8,6 +8,9 @@ console.log("mfSSRPlugin trigger");
8
8
  var mfSSRPlugin = function() {
9
9
  return {
10
10
  name: "@module-federation/modern-js",
11
+ pre: [
12
+ "@modern-js/plugin-router"
13
+ ],
11
14
  setup: function() {
12
15
  return {
13
16
  beforeRender: function beforeRender() {
@@ -4,6 +4,9 @@ import { SSRLiveReload } from "./SSRLiveReload";
4
4
  console.log("mfSSRPlugin trigger");
5
5
  const mfSSRPlugin = () => ({
6
6
  name: "@module-federation/modern-js",
7
+ pre: [
8
+ "@modern-js/plugin-router"
9
+ ],
7
10
  setup: () => {
8
11
  return {
9
12
  async beforeRender() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@module-federation/modern-js",
3
- "version": "0.0.0-next-20240816084239",
3
+ "version": "0.0.0-next-20240816102736",
4
4
  "files": [
5
5
  "dist/",
6
6
  "types.d.ts",
@@ -84,21 +84,21 @@
84
84
  "@babel/parser": "7.25.3",
85
85
  "@babel/traverse": "7.25.3",
86
86
  "@babel/types": "7.25.2",
87
- "@module-federation/sdk": "0.0.0-next-20240816084239",
88
- "@module-federation/enhanced": "0.0.0-next-20240816084239",
89
- "@module-federation/node": "0.0.0-next-20240816084239"
87
+ "@module-federation/sdk": "0.0.0-next-20240816102736",
88
+ "@module-federation/enhanced": "0.0.0-next-20240816102736",
89
+ "@module-federation/node": "0.0.0-next-20240816102736"
90
90
  },
91
91
  "devDependencies": {
92
92
  "@types/babel__traverse": "7.20.6",
93
93
  "@types/babel__generator": "7.6.8",
94
94
  "@types/hoist-non-react-statics": "3.3.2",
95
- "@modern-js/server-core": "0.0.0-next-20240814063139",
96
- "@modern-js/app-tools": "0.0.0-next-20240814063139",
97
- "@modern-js/core": "0.0.0-next-20240814063139",
98
- "@modern-js/runtime": "0.0.0-next-20240814063139",
99
- "@modern-js/module-tools": "0.0.0-next-20240814063139",
100
- "@modern-js/tsconfig": "0.0.0-next-20240814063139",
101
- "@module-federation/manifest": "0.0.0-next-20240816084239"
95
+ "@modern-js/server-core": "0.0.0-next-20240816082741",
96
+ "@modern-js/app-tools": "0.0.0-next-20240816082741",
97
+ "@modern-js/core": "0.0.0-next-20240816082741",
98
+ "@modern-js/runtime": "0.0.0-next-20240816082741",
99
+ "@modern-js/module-tools": "0.0.0-next-20240816082741",
100
+ "@modern-js/tsconfig": "0.0.0-next-20240816082741",
101
+ "@module-federation/manifest": "0.0.0-next-20240816102736"
102
102
  },
103
103
  "peerDependencies": {
104
104
  "react": ">=17",