@module-federation/vite 1.2.3 → 1.2.4

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.
package/lib/index.cjs CHANGED
@@ -776,7 +776,7 @@ var Manifest = function Manifest() {
776
776
  res.end(JSON.stringify(_extends({}, generateMFManifest({}), {
777
777
  id: name,
778
778
  name: name,
779
- metaData: _extends({
779
+ metaData: {
780
780
  name: name,
781
781
  type: 'app',
782
782
  buildInfo: {
@@ -798,12 +798,9 @@ var Manifest = function Manifest() {
798
798
  name: ''
799
799
  },
800
800
  globalName: name,
801
- pluginVersion: '0.2.5'
802
- }, !!getPublicPath ? {
803
- publicPath: getPublicPath
804
- } : {
801
+ pluginVersion: '0.2.5',
805
802
  publicPath: publicPath
806
- })
803
+ }
807
804
  })));
808
805
  } else {
809
806
  next();
@@ -1038,7 +1035,7 @@ var Manifest = function Manifest() {
1038
1035
  globalName: name,
1039
1036
  pluginVersion: '0.2.5'
1040
1037
  }, !!getPublicPath ? {
1041
- publicPath: getPublicPath
1038
+ getPublicPath: getPublicPath
1042
1039
  } : {
1043
1040
  publicPath: publicPath
1044
1041
  }),
package/lib/index.esm.js CHANGED
@@ -752,7 +752,7 @@ var Manifest = function Manifest() {
752
752
  res.end(JSON.stringify(_extends({}, generateMFManifest({}), {
753
753
  id: name,
754
754
  name: name,
755
- metaData: _extends({
755
+ metaData: {
756
756
  name: name,
757
757
  type: 'app',
758
758
  buildInfo: {
@@ -774,12 +774,9 @@ var Manifest = function Manifest() {
774
774
  name: ''
775
775
  },
776
776
  globalName: name,
777
- pluginVersion: '0.2.5'
778
- }, !!getPublicPath ? {
779
- publicPath: getPublicPath
780
- } : {
777
+ pluginVersion: '0.2.5',
781
778
  publicPath: publicPath
782
- })
779
+ }
783
780
  })));
784
781
  } else {
785
782
  next();
@@ -1014,7 +1011,7 @@ var Manifest = function Manifest() {
1014
1011
  globalName: name,
1015
1012
  pluginVersion: '0.2.5'
1016
1013
  }, !!getPublicPath ? {
1017
- publicPath: getPublicPath
1014
+ getPublicPath: getPublicPath
1018
1015
  } : {
1019
1016
  publicPath: publicPath
1020
1017
  }),
@@ -853,7 +853,7 @@ const Manifest = () => {
853
853
  res.end(JSON.stringify(_extends({}, generateMFManifest({}), {
854
854
  id: name,
855
855
  name: name,
856
- metaData: _extends({
856
+ metaData: {
857
857
  name: name,
858
858
  type: 'app',
859
859
  buildInfo: {
@@ -875,12 +875,9 @@ const Manifest = () => {
875
875
  name: ''
876
876
  },
877
877
  globalName: name,
878
- pluginVersion: '0.2.5'
879
- }, !!getPublicPath ? {
880
- publicPath: getPublicPath
881
- } : {
878
+ pluginVersion: '0.2.5',
882
879
  publicPath
883
- })
880
+ }
884
881
  })));
885
882
  } else {
886
883
  next();
@@ -1088,7 +1085,7 @@ const Manifest = () => {
1088
1085
  globalName: name,
1089
1086
  pluginVersion: '0.2.5'
1090
1087
  }, !!getPublicPath ? {
1091
- publicPath: getPublicPath
1088
+ getPublicPath
1092
1089
  } : {
1093
1090
  publicPath
1094
1091
  }),
package/lib/index.umd.js CHANGED
@@ -774,7 +774,7 @@
774
774
  res.end(JSON.stringify(_extends({}, generateMFManifest({}), {
775
775
  id: name,
776
776
  name: name,
777
- metaData: _extends({
777
+ metaData: {
778
778
  name: name,
779
779
  type: 'app',
780
780
  buildInfo: {
@@ -796,12 +796,9 @@
796
796
  name: ''
797
797
  },
798
798
  globalName: name,
799
- pluginVersion: '0.2.5'
800
- }, !!getPublicPath ? {
801
- publicPath: getPublicPath
802
- } : {
799
+ pluginVersion: '0.2.5',
803
800
  publicPath: publicPath
804
- })
801
+ }
805
802
  })));
806
803
  } else {
807
804
  next();
@@ -1036,7 +1033,7 @@
1036
1033
  globalName: name,
1037
1034
  pluginVersion: '0.2.5'
1038
1035
  }, !!getPublicPath ? {
1039
- publicPath: getPublicPath
1036
+ getPublicPath: getPublicPath
1040
1037
  } : {
1041
1038
  publicPath: publicPath
1042
1039
  }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@module-federation/vite",
3
- "version": "1.2.3",
3
+ "version": "1.2.4",
4
4
  "description": "Vite plugin for Module Federation",
5
5
  "type": "module",
6
6
  "source": "src/index.ts",