@umijs/mfsu 4.0.0-beta.14 → 4.0.0-beta.15
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/mfsu.js +3 -1
- package/package.json +4 -4
package/dist/mfsu.js
CHANGED
|
@@ -97,7 +97,9 @@ class MFSU {
|
|
|
97
97
|
name: '__',
|
|
98
98
|
remotes: {
|
|
99
99
|
[mfName]: this.opts.runtimePublicPath
|
|
100
|
-
?
|
|
100
|
+
? // ref:
|
|
101
|
+
// https://webpack.js.org/concepts/module-federation/#promise-based-dynamic-remotes
|
|
102
|
+
`
|
|
101
103
|
promise new Promise(resolve => {
|
|
102
104
|
const remoteUrlWithVersion = window.publicPath + '${constants_1.REMOTE_FILE_FULL}';
|
|
103
105
|
const script = document.createElement('script');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@umijs/mfsu",
|
|
3
|
-
"version": "4.0.0-beta.
|
|
3
|
+
"version": "4.0.0-beta.15",
|
|
4
4
|
"description": "@umijs/mfsu",
|
|
5
5
|
"homepage": "https://github.com/umijs/umi-next/tree/master/packages/mfsu#readme",
|
|
6
6
|
"bugs": "https://github.com/umijs/umi-next/issues",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dev": "pnpm build -- --watch"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@umijs/bundler-esbuild": "4.0.0-beta.
|
|
25
|
-
"@umijs/bundler-utils": "4.0.0-beta.
|
|
26
|
-
"@umijs/utils": "4.0.0-beta.
|
|
24
|
+
"@umijs/bundler-esbuild": "4.0.0-beta.15",
|
|
25
|
+
"@umijs/bundler-utils": "4.0.0-beta.15",
|
|
26
|
+
"@umijs/utils": "4.0.0-beta.15"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@types/express": "4.17.13",
|