@modern-js/plugin-garfish 2.54.1 → 2.54.2

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.
@@ -109,16 +109,6 @@ const garfishPlugin = ({ pluginName = "@modern-js/plugin-garfish", runtimePlugin
109
109
  "Access-Control-Allow-Origin": "*"
110
110
  }
111
111
  },
112
- rspack: (config2) => {
113
- var _resolveOptions_deploy;
114
- var _config;
115
- var _builtins;
116
- (_builtins = (_config = config2).builtins) !== null && _builtins !== void 0 ? _builtins : _config.builtins = {};
117
- const resolveOptions = useResolvedConfigContext();
118
- if ((resolveOptions === null || resolveOptions === void 0 ? void 0 : (_resolveOptions_deploy = resolveOptions.deploy) === null || _resolveOptions_deploy === void 0 ? void 0 : _resolveOptions_deploy.microFrontend) && !config2.externalsType) {
119
- config2.externalsType = "commonjs";
120
- }
121
- },
122
112
  bundlerChain: (chain, { env, CHAIN_ID, bundler }) => {
123
113
  var _resolveOptions_deploy, _resolveConfig_resolve;
124
114
  if (bundler.BannerPlugin) {
@@ -95,16 +95,6 @@ var garfishPlugin = function() {
95
95
  "Access-Control-Allow-Origin": "*"
96
96
  }
97
97
  },
98
- rspack: function(config3) {
99
- var _resolveOptions_deploy;
100
- var _config;
101
- var _builtins;
102
- (_builtins = (_config = config3).builtins) !== null && _builtins !== void 0 ? _builtins : _config.builtins = {};
103
- var resolveOptions = useResolvedConfigContext();
104
- if ((resolveOptions === null || resolveOptions === void 0 ? void 0 : (_resolveOptions_deploy = resolveOptions.deploy) === null || _resolveOptions_deploy === void 0 ? void 0 : _resolveOptions_deploy.microFrontend) && !config3.externalsType) {
105
- config3.externalsType = "commonjs";
106
- }
107
- },
108
98
  bundlerChain: function(chain, param2) {
109
99
  var env = param2.env, CHAIN_ID = param2.CHAIN_ID, bundler = param2.bundler;
110
100
  var _resolveOptions_deploy, _resolveConfig_resolve;
@@ -83,16 +83,6 @@ const garfishPlugin = ({ pluginName = "@modern-js/plugin-garfish", runtimePlugin
83
83
  "Access-Control-Allow-Origin": "*"
84
84
  }
85
85
  },
86
- rspack: (config2) => {
87
- var _resolveOptions_deploy;
88
- var _config;
89
- var _builtins;
90
- (_builtins = (_config = config2).builtins) !== null && _builtins !== void 0 ? _builtins : _config.builtins = {};
91
- const resolveOptions = useResolvedConfigContext();
92
- if ((resolveOptions === null || resolveOptions === void 0 ? void 0 : (_resolveOptions_deploy = resolveOptions.deploy) === null || _resolveOptions_deploy === void 0 ? void 0 : _resolveOptions_deploy.microFrontend) && !config2.externalsType) {
93
- config2.externalsType = "commonjs";
94
- }
95
- },
96
86
  bundlerChain: (chain, { env, CHAIN_ID, bundler }) => {
97
87
  var _resolveOptions_deploy, _resolveConfig_resolve;
98
88
  if (bundler.BannerPlugin) {
package/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  "modern",
16
16
  "modern.js"
17
17
  ],
18
- "version": "2.54.1",
18
+ "version": "2.54.2",
19
19
  "jsnext:source": "./src/cli/index.ts",
20
20
  "types": "./dist/types/cli/index.d.ts",
21
21
  "typesVersions": {
@@ -70,10 +70,10 @@
70
70
  "hoist-non-react-statics": "^3.3.2",
71
71
  "react-loadable": "^5.5.0",
72
72
  "@swc/helpers": "0.5.3",
73
- "@modern-js/utils": "2.54.1"
73
+ "@modern-js/utils": "2.54.2"
74
74
  },
75
75
  "peerDependencies": {
76
- "@modern-js/runtime": "^2.54.1",
76
+ "@modern-js/runtime": "^2.54.2",
77
77
  "react": ">=17",
78
78
  "react-dom": ">=17"
79
79
  },
@@ -93,13 +93,13 @@
93
93
  "react-dom": "^18",
94
94
  "react-router-dom": "6.22.0",
95
95
  "typescript": "^5",
96
- "@modern-js/core": "2.54.1",
97
- "@modern-js/plugin-router-v5": "2.54.1",
98
- "@modern-js/runtime": "2.54.1",
99
- "@modern-js/types": "2.54.1",
100
- "@scripts/build": "2.54.1",
101
- "@scripts/jest-config": "2.54.1",
102
- "@modern-js/app-tools": "2.54.1"
96
+ "@modern-js/app-tools": "2.54.2",
97
+ "@modern-js/plugin-router-v5": "2.54.2",
98
+ "@modern-js/core": "2.54.2",
99
+ "@modern-js/runtime": "2.54.2",
100
+ "@modern-js/types": "2.54.2",
101
+ "@scripts/jest-config": "2.54.2",
102
+ "@scripts/build": "2.54.2"
103
103
  },
104
104
  "sideEffects": false,
105
105
  "publishConfig": {