@module-federation/rspack 0.1.16 → 0.1.18
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 +7 -2
- package/dist/index.esm.js +7 -2
- package/dist/package.json +1 -1
- package/package.json +6 -6
package/dist/index.cjs.js
CHANGED
|
@@ -164,7 +164,7 @@ var ModuleFederationPlugin = /*#__PURE__*/ function() {
|
|
|
164
164
|
});
|
|
165
165
|
if (!disableManifest) {
|
|
166
166
|
new manifest.StatsPlugin(options, {
|
|
167
|
-
pluginVersion: "0.1.
|
|
167
|
+
pluginVersion: "0.1.18",
|
|
168
168
|
bundler: 'rspack'
|
|
169
169
|
}).apply(compiler);
|
|
170
170
|
}
|
|
@@ -200,7 +200,12 @@ var ModuleFederationPlugin = /*#__PURE__*/ function() {
|
|
|
200
200
|
break;
|
|
201
201
|
}
|
|
202
202
|
if (cacheGroup.chunks === 'all') {
|
|
203
|
-
cacheGroup.chunks =
|
|
203
|
+
cacheGroup.chunks = function(chunk) {
|
|
204
|
+
if (chunk.name && (chunk.name === name || chunk.name === name + '_partial')) {
|
|
205
|
+
return false;
|
|
206
|
+
}
|
|
207
|
+
return true;
|
|
208
|
+
};
|
|
204
209
|
break;
|
|
205
210
|
}
|
|
206
211
|
if (cacheGroup.chunks === 'initial') {
|
package/dist/index.esm.js
CHANGED
|
@@ -160,7 +160,7 @@ var ModuleFederationPlugin = /*#__PURE__*/ function() {
|
|
|
160
160
|
});
|
|
161
161
|
if (!disableManifest) {
|
|
162
162
|
new StatsPlugin(options, {
|
|
163
|
-
pluginVersion: "0.1.
|
|
163
|
+
pluginVersion: "0.1.18",
|
|
164
164
|
bundler: 'rspack'
|
|
165
165
|
}).apply(compiler);
|
|
166
166
|
}
|
|
@@ -196,7 +196,12 @@ var ModuleFederationPlugin = /*#__PURE__*/ function() {
|
|
|
196
196
|
break;
|
|
197
197
|
}
|
|
198
198
|
if (cacheGroup.chunks === 'all') {
|
|
199
|
-
cacheGroup.chunks =
|
|
199
|
+
cacheGroup.chunks = function(chunk) {
|
|
200
|
+
if (chunk.name && (chunk.name === name || chunk.name === name + '_partial')) {
|
|
201
|
+
return false;
|
|
202
|
+
}
|
|
203
|
+
return true;
|
|
204
|
+
};
|
|
200
205
|
break;
|
|
201
206
|
}
|
|
202
207
|
if (cacheGroup.chunks === 'initial') {
|
package/dist/package.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@module-federation/rspack",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.18",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Module Federation",
|
|
@@ -19,11 +19,11 @@
|
|
|
19
19
|
"module": "./dist/index.esm.js",
|
|
20
20
|
"types": "./dist/index.cjs.d.ts",
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@module-federation/sdk": "0.1.
|
|
23
|
-
"@module-federation/runtime-tools": "0.1.
|
|
24
|
-
"@module-federation/manifest": "0.1.
|
|
25
|
-
"@module-federation/managers": "0.1.
|
|
26
|
-
"@module-federation/dts-plugin": "0.1.
|
|
22
|
+
"@module-federation/sdk": "0.1.18",
|
|
23
|
+
"@module-federation/runtime-tools": "0.1.18",
|
|
24
|
+
"@module-federation/manifest": "0.1.18",
|
|
25
|
+
"@module-federation/managers": "0.1.18",
|
|
26
|
+
"@module-federation/dts-plugin": "0.1.18"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@rspack/core": "0.5.0"
|