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