@module-federation/rspack 0.5.2 → 0.6.1
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/dist/index.cjs.js +6 -3
- package/dist/index.esm.js +6 -3
- package/dist/package.json +1 -1
- package/package.json +7 -7
package/dist/index.cjs.js
CHANGED
|
@@ -146,8 +146,11 @@ var ModuleFederationPlugin = /*#__PURE__*/ function() {
|
|
|
146
146
|
this._patchChunkSplit(compiler, options.name);
|
|
147
147
|
options.implementation = options.implementation || RuntimeToolsPath;
|
|
148
148
|
var disableManifest = options.manifest === false;
|
|
149
|
-
|
|
150
|
-
|
|
149
|
+
var disableDts = options.dts === false;
|
|
150
|
+
if (!disableDts) {
|
|
151
|
+
// @ts-ignore
|
|
152
|
+
new dtsPlugin.DtsPlugin(options).apply(compiler);
|
|
153
|
+
}
|
|
151
154
|
if (!disableManifest && options.exposes) {
|
|
152
155
|
try {
|
|
153
156
|
var containerManager = new managers.ContainerManager();
|
|
@@ -174,7 +177,7 @@ var ModuleFederationPlugin = /*#__PURE__*/ function() {
|
|
|
174
177
|
});
|
|
175
178
|
if (!disableManifest) {
|
|
176
179
|
this._statsPlugin = new manifest.StatsPlugin(options, {
|
|
177
|
-
pluginVersion: "0.
|
|
180
|
+
pluginVersion: "0.6.1",
|
|
178
181
|
bundler: 'rspack'
|
|
179
182
|
});
|
|
180
183
|
// @ts-ignore
|
package/dist/index.esm.js
CHANGED
|
@@ -136,8 +136,11 @@ var ModuleFederationPlugin = /*#__PURE__*/ function() {
|
|
|
136
136
|
this._patchChunkSplit(compiler, options.name);
|
|
137
137
|
options.implementation = options.implementation || RuntimeToolsPath;
|
|
138
138
|
var disableManifest = options.manifest === false;
|
|
139
|
-
|
|
140
|
-
|
|
139
|
+
var disableDts = options.dts === false;
|
|
140
|
+
if (!disableDts) {
|
|
141
|
+
// @ts-ignore
|
|
142
|
+
new DtsPlugin(options).apply(compiler);
|
|
143
|
+
}
|
|
141
144
|
if (!disableManifest && options.exposes) {
|
|
142
145
|
try {
|
|
143
146
|
var containerManager = new ContainerManager();
|
|
@@ -164,7 +167,7 @@ var ModuleFederationPlugin = /*#__PURE__*/ function() {
|
|
|
164
167
|
});
|
|
165
168
|
if (!disableManifest) {
|
|
166
169
|
this._statsPlugin = new StatsPlugin(options, {
|
|
167
|
-
pluginVersion: "0.
|
|
170
|
+
pluginVersion: "0.6.1",
|
|
168
171
|
bundler: 'rspack'
|
|
169
172
|
});
|
|
170
173
|
// @ts-ignore
|
package/dist/package.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@module-federation/rspack",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Module Federation",
|
|
@@ -19,12 +19,12 @@
|
|
|
19
19
|
"module": "./dist/index.esm.js",
|
|
20
20
|
"types": "./dist/index.cjs.d.ts",
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@module-federation/sdk": "0.
|
|
23
|
-
"@module-federation/bridge-react-webpack-plugin": "0.
|
|
24
|
-
"@module-federation/runtime-tools": "0.
|
|
25
|
-
"@module-federation/manifest": "0.
|
|
26
|
-
"@module-federation/managers": "0.
|
|
27
|
-
"@module-federation/dts-plugin": "0.
|
|
22
|
+
"@module-federation/sdk": "0.6.1",
|
|
23
|
+
"@module-federation/bridge-react-webpack-plugin": "0.6.1",
|
|
24
|
+
"@module-federation/runtime-tools": "0.6.1",
|
|
25
|
+
"@module-federation/manifest": "0.6.1",
|
|
26
|
+
"@module-federation/managers": "0.6.1",
|
|
27
|
+
"@module-federation/dts-plugin": "0.6.1"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@rspack/core": "0.5.0"
|