@module-federation/esbuild 0.0.0-next-20240524213250 → 0.0.0-next-20240524225331
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/esbuild.cjs.js +3 -2
- package/dist/esbuild.esm.js +3 -2
- package/package.json +2 -2
package/dist/esbuild.cjs.js
CHANGED
|
@@ -980,8 +980,9 @@ const moduleFederationPlugin = (config)=>({
|
|
|
980
980
|
return acc;
|
|
981
981
|
}, {});
|
|
982
982
|
for (const [expose, value] of Object.entries(exposedConfig)){
|
|
983
|
-
//@ts-ignore
|
|
984
|
-
|
|
983
|
+
const exposedFound = //@ts-ignore
|
|
984
|
+
outputMapWithoutExt[value.replace('./', '')] || //@ts-ignore
|
|
985
|
+
outputMapWithoutExt[expose.replace('./', '')];
|
|
985
986
|
if (exposedFound) {
|
|
986
987
|
exposedEntries[expose] = {
|
|
987
988
|
entryPoint: exposedFound.entryPoint,
|
package/dist/esbuild.esm.js
CHANGED
|
@@ -968,8 +968,9 @@ const moduleFederationPlugin = (config)=>({
|
|
|
968
968
|
return acc;
|
|
969
969
|
}, {});
|
|
970
970
|
for (const [expose, value] of Object.entries(exposedConfig)){
|
|
971
|
-
//@ts-ignore
|
|
972
|
-
|
|
971
|
+
const exposedFound = //@ts-ignore
|
|
972
|
+
outputMapWithoutExt[value.replace('./', '')] || //@ts-ignore
|
|
973
|
+
outputMapWithoutExt[expose.replace('./', '')];
|
|
973
974
|
if (exposedFound) {
|
|
974
975
|
exposedEntries[expose] = {
|
|
975
976
|
entryPoint: exposedFound.entryPoint,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@module-federation/esbuild",
|
|
3
|
-
"version": "0.0.0-next-
|
|
3
|
+
"version": "0.0.0-next-20240524225331",
|
|
4
4
|
"author": "Zack Jackson (@ScriptedAlchemy)",
|
|
5
5
|
"main": "./dist/index.cjs.js",
|
|
6
6
|
"module": "./dist/index.esm.js",
|
|
@@ -65,6 +65,6 @@
|
|
|
65
65
|
"esbuild": "^0.18.12",
|
|
66
66
|
"npmlog": "^6.0.2",
|
|
67
67
|
"acorn": "^8.8.1",
|
|
68
|
-
"@module-federation/sdk": "0.0.0-next-
|
|
68
|
+
"@module-federation/sdk": "0.0.0-next-20240524225331"
|
|
69
69
|
}
|
|
70
70
|
}
|