@module-federation/rspack
Advanced tools
Comparing version 0.0.0-next-20240523121007 to 0.0.0-next-20240523224941
@@ -98,3 +98,2 @@ 'use strict'; | ||
_define_property(this, "_options", void 0); | ||
_define_property(this, "_statsPlugin", void 0); | ||
this._options = options; | ||
@@ -168,8 +167,6 @@ } | ||
if (!disableManifest) { | ||
this._statsPlugin = new manifest.StatsPlugin(options, { | ||
new manifest.StatsPlugin(options, { | ||
pluginVersion: "0.1.15", | ||
bundler: 'rspack' | ||
}); | ||
// @ts-ignore | ||
this._statsPlugin.apply(compiler); | ||
}).apply(compiler); | ||
} | ||
@@ -238,9 +235,2 @@ } | ||
} | ||
}, | ||
{ | ||
key: "statsResourceInfo", | ||
get: function get() { | ||
var _this__statsPlugin; | ||
return (_this__statsPlugin = this._statsPlugin) === null || _this__statsPlugin === void 0 ? void 0 : _this__statsPlugin.resourceInfo; | ||
} | ||
} | ||
@@ -247,0 +237,0 @@ ]); |
@@ -94,3 +94,2 @@ import { composeKeyWithSeparator } from '@module-federation/sdk'; | ||
_define_property(this, "_options", void 0); | ||
_define_property(this, "_statsPlugin", void 0); | ||
this._options = options; | ||
@@ -164,8 +163,6 @@ } | ||
if (!disableManifest) { | ||
this._statsPlugin = new StatsPlugin(options, { | ||
new StatsPlugin(options, { | ||
pluginVersion: "0.1.15", | ||
bundler: 'rspack' | ||
}); | ||
// @ts-ignore | ||
this._statsPlugin.apply(compiler); | ||
}).apply(compiler); | ||
} | ||
@@ -234,9 +231,2 @@ } | ||
} | ||
}, | ||
{ | ||
key: "statsResourceInfo", | ||
get: function get() { | ||
var _this__statsPlugin; | ||
return (_this__statsPlugin = this._statsPlugin) === null || _this__statsPlugin === void 0 ? void 0 : _this__statsPlugin.resourceInfo; | ||
} | ||
} | ||
@@ -243,0 +233,0 @@ ]); |
@@ -6,3 +6,2 @@ import { Compiler, RspackPluginInstance } from '@rspack/core'; | ||
private _options; | ||
private _statsPlugin?; | ||
constructor(options: moduleFederationPlugin.ModuleFederationPluginOptions); | ||
@@ -13,3 +12,2 @@ private _patchBundlerConfig; | ||
private _patchChunkSplit; | ||
get statsResourceInfo(): Partial<import("@module-federation/manifest").ResourceInfo> | undefined; | ||
} |
{ | ||
"name": "@module-federation/rspack", | ||
"version": "0.0.0-next-20240523121007", | ||
"version": "0.0.0-next-20240523224941", | ||
"license": "MIT", | ||
@@ -22,7 +22,7 @@ "keywords": [ | ||
"dependencies": { | ||
"@module-federation/sdk": "0.0.0-next-20240523121007", | ||
"@module-federation/runtime-tools": "0.0.0-next-20240523121007", | ||
"@module-federation/manifest": "0.0.0-next-20240523121007", | ||
"@module-federation/managers": "0.0.0-next-20240523121007", | ||
"@module-federation/dts-plugin": "0.0.0-next-20240523121007" | ||
"@module-federation/sdk": "0.0.0-next-20240523224941", | ||
"@module-federation/runtime-tools": "0.0.0-next-20240523224941", | ||
"@module-federation/manifest": "0.0.0-next-20240523224941", | ||
"@module-federation/managers": "0.0.0-next-20240523224941", | ||
"@module-federation/dts-plugin": "0.0.0-next-20240523224941" | ||
}, | ||
@@ -29,0 +29,0 @@ "devDependencies": { |
25191
479
+ Added@module-federation/dts-plugin@0.0.0-next-20240523224941(transitive)
+ Added@module-federation/managers@0.0.0-next-20240523224941(transitive)
+ Added@module-federation/manifest@0.0.0-next-20240523224941(transitive)
+ Added@module-federation/runtime@0.0.0-next-20240523224941(transitive)
+ Added@module-federation/runtime-tools@0.0.0-next-20240523224941(transitive)
+ Added@module-federation/sdk@0.0.0-next-20240523224941(transitive)
+ Added@module-federation/third-party-dts-extractor@0.0.0-next-20240523224941(transitive)
+ Added@module-federation/webpack-bundler-runtime@0.0.0-next-20240523224941(transitive)
- Removed@module-federation/dts-plugin@0.0.0-next-20240523121007(transitive)
- Removed@module-federation/managers@0.0.0-next-20240523121007(transitive)
- Removed@module-federation/manifest@0.0.0-next-20240523121007(transitive)
- Removed@module-federation/runtime@0.0.0-next-20240523121007(transitive)
- Removed@module-federation/runtime-tools@0.0.0-next-20240523121007(transitive)
- Removed@module-federation/sdk@0.0.0-next-20240523121007(transitive)
- Removed@module-federation/third-party-dts-extractor@0.0.0-next-20240523121007(transitive)
- Removed@module-federation/webpack-bundler-runtime@0.0.0-next-20240523121007(transitive)
Updated@module-federation/dts-plugin@0.0.0-next-20240523224941
Updated@module-federation/managers@0.0.0-next-20240523224941
Updated@module-federation/manifest@0.0.0-next-20240523224941
Updated@module-federation/runtime-tools@0.0.0-next-20240523224941