@module-federation/rspack 2.0.1 → 2.1.0

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.
@@ -196,7 +196,10 @@ class ModuleFederationPlugin {
196
196
  };
197
197
  const runtimeESMPath = resolveRuntimePath([
198
198
  '@module-federation/runtime/dist/index.js',
199
- '@module-federation/runtime/dist/index.esm.js'
199
+ '@module-federation/runtime/dist/index.esm.js',
200
+ '@module-federation/runtime/dist/index.cjs',
201
+ '@module-federation/runtime/dist/index.cjs.cjs',
202
+ '@module-federation/runtime'
200
203
  ]);
201
204
  compiler.hooks.afterPlugins.tap('PatchAliasWebpackPlugin', ()=>{
202
205
  compiler.options.resolve.alias = {
@@ -206,7 +209,7 @@ class ModuleFederationPlugin {
206
209
  });
207
210
  if (!disableManifest) {
208
211
  this._statsPlugin = new manifest_namespaceObject.StatsPlugin(options, {
209
- pluginVersion: "2.0.1",
212
+ pluginVersion: "2.1.0",
210
213
  bundler: 'rspack'
211
214
  });
212
215
  // @ts-ignore
@@ -142,7 +142,10 @@ class ModuleFederationPlugin {
142
142
  };
143
143
  const runtimeESMPath = resolveRuntimePath([
144
144
  '@module-federation/runtime/dist/index.js',
145
- '@module-federation/runtime/dist/index.esm.js'
145
+ '@module-federation/runtime/dist/index.esm.js',
146
+ '@module-federation/runtime/dist/index.cjs',
147
+ '@module-federation/runtime/dist/index.cjs.cjs',
148
+ '@module-federation/runtime'
146
149
  ]);
147
150
  compiler.hooks.afterPlugins.tap('PatchAliasWebpackPlugin', ()=>{
148
151
  compiler.options.resolve.alias = {
@@ -152,7 +155,7 @@ class ModuleFederationPlugin {
152
155
  });
153
156
  if (!disableManifest) {
154
157
  this._statsPlugin = new StatsPlugin(options, {
155
- pluginVersion: "2.0.1",
158
+ pluginVersion: "2.1.0",
156
159
  bundler: 'rspack'
157
160
  });
158
161
  // @ts-ignore
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@module-federation/rspack",
3
- "version": "2.0.1",
3
+ "version": "2.1.0",
4
4
  "license": "MIT",
5
5
  "keywords": [
6
6
  "Module Federation",
@@ -25,13 +25,13 @@
25
25
  "types": "./dist/index.d.ts",
26
26
  "dependencies": {
27
27
  "btoa": "1.2.1",
28
- "@module-federation/bridge-react-webpack-plugin": "2.0.1",
29
- "@module-federation/dts-plugin": "2.0.1",
30
- "@module-federation/managers": "2.0.1",
31
- "@module-federation/runtime-tools": "2.0.1",
32
- "@module-federation/manifest": "2.0.1",
33
- "@module-federation/inject-external-runtime-core-plugin": "2.0.1",
34
- "@module-federation/sdk": "2.0.1"
28
+ "@module-federation/bridge-react-webpack-plugin": "2.1.0",
29
+ "@module-federation/managers": "2.1.0",
30
+ "@module-federation/manifest": "2.1.0",
31
+ "@module-federation/runtime-tools": "2.1.0",
32
+ "@module-federation/sdk": "2.1.0",
33
+ "@module-federation/inject-external-runtime-core-plugin": "2.1.0",
34
+ "@module-federation/dts-plugin": "2.1.0"
35
35
  },
36
36
  "devDependencies": {
37
37
  "@rspack/core": "^1.0.2"