@module-federation/webpack-bundler-runtime 1.0.0-canary.2 → 1.0.0-canary.3
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/index.cjs.js +2 -3
- package/index.esm.js +2 -3
- package/package.json +2 -2
package/index.cjs.js
CHANGED
|
@@ -374,7 +374,7 @@ function getGlobalFederationConstructor() {
|
|
|
374
374
|
function setGlobalFederationConstructor(FederationConstructor) {
|
|
375
375
|
if (isDebugMode$1()) {
|
|
376
376
|
Global.__FEDERATION__.__DEBUG_CONSTRUCTOR__ = FederationConstructor;
|
|
377
|
-
Global.__FEDERATION__.__DEBUG_CONSTRUCTOR_VERSION__ = "1.0.0-canary.
|
|
377
|
+
Global.__FEDERATION__.__DEBUG_CONSTRUCTOR_VERSION__ = "1.0.0-canary.4";
|
|
378
378
|
}
|
|
379
379
|
}
|
|
380
380
|
// eslint-disable-next-line @typescript-eslint/ban-types
|
|
@@ -2367,7 +2367,6 @@ function preloadAssets(remoteInfo, host, assets) {
|
|
|
2367
2367
|
cssEl.setAttribute("rel", "preload");
|
|
2368
2368
|
cssEl.setAttribute("href", cssUrl);
|
|
2369
2369
|
cssEl.setAttribute("as", "style");
|
|
2370
|
-
cssEl.setAttribute("crossorigin", "anonymous");
|
|
2371
2370
|
fragment.appendChild(cssEl);
|
|
2372
2371
|
});
|
|
2373
2372
|
document.head.appendChild(fragment);
|
|
@@ -3112,7 +3111,7 @@ var FederationHost = /*#__PURE__*/ function() {
|
|
|
3112
3111
|
generatePreloadAssets: new AsyncHook("generatePreloadAssets"),
|
|
3113
3112
|
afterPreloadRemote: new AsyncHook()
|
|
3114
3113
|
});
|
|
3115
|
-
this.version = "1.0.0-canary.
|
|
3114
|
+
this.version = "1.0.0-canary.4";
|
|
3116
3115
|
this.moduleCache = new Map();
|
|
3117
3116
|
this.loaderHook = new PluginSystem({
|
|
3118
3117
|
// FIXME: may not be suitable
|
package/index.esm.js
CHANGED
|
@@ -372,7 +372,7 @@ function getGlobalFederationConstructor() {
|
|
|
372
372
|
function setGlobalFederationConstructor(FederationConstructor) {
|
|
373
373
|
if (isDebugMode$1()) {
|
|
374
374
|
Global.__FEDERATION__.__DEBUG_CONSTRUCTOR__ = FederationConstructor;
|
|
375
|
-
Global.__FEDERATION__.__DEBUG_CONSTRUCTOR_VERSION__ = "1.0.0-canary.
|
|
375
|
+
Global.__FEDERATION__.__DEBUG_CONSTRUCTOR_VERSION__ = "1.0.0-canary.4";
|
|
376
376
|
}
|
|
377
377
|
}
|
|
378
378
|
// eslint-disable-next-line @typescript-eslint/ban-types
|
|
@@ -2365,7 +2365,6 @@ function preloadAssets(remoteInfo, host, assets) {
|
|
|
2365
2365
|
cssEl.setAttribute("rel", "preload");
|
|
2366
2366
|
cssEl.setAttribute("href", cssUrl);
|
|
2367
2367
|
cssEl.setAttribute("as", "style");
|
|
2368
|
-
cssEl.setAttribute("crossorigin", "anonymous");
|
|
2369
2368
|
fragment.appendChild(cssEl);
|
|
2370
2369
|
});
|
|
2371
2370
|
document.head.appendChild(fragment);
|
|
@@ -3110,7 +3109,7 @@ var FederationHost = /*#__PURE__*/ function() {
|
|
|
3110
3109
|
generatePreloadAssets: new AsyncHook("generatePreloadAssets"),
|
|
3111
3110
|
afterPreloadRemote: new AsyncHook()
|
|
3112
3111
|
});
|
|
3113
|
-
this.version = "1.0.0-canary.
|
|
3112
|
+
this.version = "1.0.0-canary.4";
|
|
3114
3113
|
this.moduleCache = new Map();
|
|
3115
3114
|
this.loaderHook = new PluginSystem({
|
|
3116
3115
|
// FIXME: may not be suitable
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"public": true,
|
|
3
3
|
"name": "@module-federation/webpack-bundler-runtime",
|
|
4
|
-
"version": "1.0.0-canary.
|
|
4
|
+
"version": "1.0.0-canary.3",
|
|
5
5
|
"description": "Module Federation Runtime for webpack",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"Module Federation",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"module": "./index.esm.js",
|
|
16
16
|
"types": "./index.cjs.d.ts",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@module-federation/runtime": "1.0.0-canary.
|
|
18
|
+
"@module-federation/runtime": "1.0.0-canary.4"
|
|
19
19
|
},
|
|
20
20
|
"peerDependencies": {}
|
|
21
21
|
}
|