@module-federation/runtime 1.0.0-canary.2 → 1.0.0-canary.4
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 +1 -2
- package/index.esm.js +1 -2
- package/package.json +1 -2
- package/share.cjs.js +1 -1
- package/share.esm.js +1 -1
package/index.cjs.js
CHANGED
|
@@ -912,7 +912,6 @@ function preloadAssets(remoteInfo, host, assets) {
|
|
|
912
912
|
cssEl.setAttribute('rel', 'preload');
|
|
913
913
|
cssEl.setAttribute('href', cssUrl);
|
|
914
914
|
cssEl.setAttribute('as', 'style');
|
|
915
|
-
cssEl.setAttribute('crossorigin', 'anonymous');
|
|
916
915
|
fragment.appendChild(cssEl);
|
|
917
916
|
});
|
|
918
917
|
document.head.appendChild(fragment);
|
|
@@ -1847,7 +1846,7 @@ class FederationHost {
|
|
|
1847
1846
|
generatePreloadAssets: new AsyncHook('generatePreloadAssets'),
|
|
1848
1847
|
afterPreloadRemote: new AsyncHook()
|
|
1849
1848
|
});
|
|
1850
|
-
this.version = '1.0.0-canary.
|
|
1849
|
+
this.version = '1.0.0-canary.3';
|
|
1851
1850
|
this.moduleCache = new Map();
|
|
1852
1851
|
this.loaderHook = new PluginSystem({
|
|
1853
1852
|
// FIXME: may not be suitable
|
package/index.esm.js
CHANGED
|
@@ -909,7 +909,6 @@ function preloadAssets(remoteInfo, host, assets) {
|
|
|
909
909
|
cssEl.setAttribute('rel', 'preload');
|
|
910
910
|
cssEl.setAttribute('href', cssUrl);
|
|
911
911
|
cssEl.setAttribute('as', 'style');
|
|
912
|
-
cssEl.setAttribute('crossorigin', 'anonymous');
|
|
913
912
|
fragment.appendChild(cssEl);
|
|
914
913
|
});
|
|
915
914
|
document.head.appendChild(fragment);
|
|
@@ -1844,7 +1843,7 @@ class FederationHost {
|
|
|
1844
1843
|
generatePreloadAssets: new AsyncHook('generatePreloadAssets'),
|
|
1845
1844
|
afterPreloadRemote: new AsyncHook()
|
|
1846
1845
|
});
|
|
1847
|
-
this.version = '1.0.0-canary.
|
|
1846
|
+
this.version = '1.0.0-canary.3';
|
|
1848
1847
|
this.moduleCache = new Map();
|
|
1849
1848
|
this.loaderHook = new PluginSystem({
|
|
1850
1849
|
// FIXME: may not be suitable
|
package/package.json
CHANGED
package/share.cjs.js
CHANGED
|
@@ -184,7 +184,7 @@ function getGlobalFederationConstructor() {
|
|
|
184
184
|
function setGlobalFederationConstructor(FederationConstructor) {
|
|
185
185
|
if (isDebugMode()) {
|
|
186
186
|
Global.__FEDERATION__.__DEBUG_CONSTRUCTOR__ = FederationConstructor;
|
|
187
|
-
Global.__FEDERATION__.__DEBUG_CONSTRUCTOR_VERSION__ = '1.0.0-canary.
|
|
187
|
+
Global.__FEDERATION__.__DEBUG_CONSTRUCTOR_VERSION__ = '1.0.0-canary.3';
|
|
188
188
|
}
|
|
189
189
|
}
|
|
190
190
|
// eslint-disable-next-line @typescript-eslint/ban-types
|
package/share.esm.js
CHANGED
|
@@ -182,7 +182,7 @@ function getGlobalFederationConstructor() {
|
|
|
182
182
|
function setGlobalFederationConstructor(FederationConstructor) {
|
|
183
183
|
if (isDebugMode()) {
|
|
184
184
|
Global.__FEDERATION__.__DEBUG_CONSTRUCTOR__ = FederationConstructor;
|
|
185
|
-
Global.__FEDERATION__.__DEBUG_CONSTRUCTOR_VERSION__ = '1.0.0-canary.
|
|
185
|
+
Global.__FEDERATION__.__DEBUG_CONSTRUCTOR_VERSION__ = '1.0.0-canary.3';
|
|
186
186
|
}
|
|
187
187
|
}
|
|
188
188
|
// eslint-disable-next-line @typescript-eslint/ban-types
|