@module-federation/modern-js 0.0.0-next-20240516035452 → 0.0.0-next-20240516090436

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.
@@ -61,6 +61,7 @@ const moduleFederationPlugin = (userConfig = {}) => ({
61
61
  var _useConfig_dev;
62
62
  if (enableSSR) {
63
63
  process.env["MF_DISABLE_EMIT_STATS"] = "true";
64
+ process.env["MF_SSR_PRJ"] = "true";
64
65
  }
65
66
  const modifyBundlerConfig = (config, isServer) => {
66
67
  const envConfig = (0, import_utils2.getTargetEnvConfig)(mfConfig, isServer);
@@ -39,6 +39,7 @@ var moduleFederationPlugin = function() {
39
39
  var _useConfig_dev;
40
40
  if (enableSSR) {
41
41
  process.env["MF_DISABLE_EMIT_STATS"] = "true";
42
+ process.env["MF_SSR_PRJ"] = "true";
42
43
  }
43
44
  var modifyBundlerConfig = function(config, isServer) {
44
45
  var envConfig = getTargetEnvConfig(mfConfig, isServer);
@@ -25,6 +25,7 @@ const moduleFederationPlugin = (userConfig = {}) => ({
25
25
  var _useConfig_dev;
26
26
  if (enableSSR) {
27
27
  process.env["MF_DISABLE_EMIT_STATS"] = "true";
28
+ process.env["MF_SSR_PRJ"] = "true";
28
29
  }
29
30
  const modifyBundlerConfig = (config, isServer) => {
30
31
  const envConfig = getTargetEnvConfig(mfConfig, isServer);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@module-federation/modern-js",
3
- "version": "0.0.0-next-20240516035452",
3
+ "version": "0.0.0-next-20240516090436",
4
4
  "files": [
5
5
  "dist/",
6
6
  "types.d.ts",
@@ -38,9 +38,9 @@
38
38
  "@swc/helpers": "0.5.3",
39
39
  "@modern-js/utils": "^2.49.2",
40
40
  "@modern-js/node-bundle-require": "^2.49.2",
41
- "@module-federation/sdk": "0.0.0-next-20240516035452",
42
- "@module-federation/enhanced": "0.0.0-next-20240516035452",
43
- "@module-federation/node": "0.0.0-next-20240516035452"
41
+ "@module-federation/sdk": "0.0.0-next-20240516090436",
42
+ "@module-federation/enhanced": "0.0.0-next-20240516090436",
43
+ "@module-federation/node": "0.0.0-next-20240516090436"
44
44
  },
45
45
  "devDependencies": {
46
46
  "@modern-js/app-tools": "^2.49.2",
@@ -48,7 +48,7 @@
48
48
  "@modern-js/runtime": "^2.49.2",
49
49
  "@modern-js/module-tools": "^2.35.0",
50
50
  "@modern-js/tsconfig": "^2.35.0",
51
- "@module-federation/manifest": "0.0.0-next-20240516035452"
51
+ "@module-federation/manifest": "0.0.0-next-20240516090436"
52
52
  },
53
53
  "scripts": {
54
54
  "build": "modern build"