@module-federation/sdk 0.1.15 → 0.1.17
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 +1 -0
- package/dist/index.esm.js +1 -0
- package/dist/package.json +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -836,6 +836,7 @@ function createLink(url, cb) {
|
|
|
836
836
|
if (!link) {
|
|
837
837
|
link = document.createElement('link');
|
|
838
838
|
link.setAttribute('href', url);
|
|
839
|
+
link.setAttribute('crossorigin', 'anonymous');
|
|
839
840
|
if (createLinkHook) {
|
|
840
841
|
var createLinkRes = createLinkHook(url);
|
|
841
842
|
if (_instanceof(createLinkRes, HTMLLinkElement)) {
|
package/dist/index.esm.js
CHANGED
|
@@ -832,6 +832,7 @@ function createLink(url, cb) {
|
|
|
832
832
|
if (!link) {
|
|
833
833
|
link = document.createElement('link');
|
|
834
834
|
link.setAttribute('href', url);
|
|
835
|
+
link.setAttribute('crossorigin', 'anonymous');
|
|
835
836
|
if (createLinkHook) {
|
|
836
837
|
var createLinkRes = createLinkHook(url);
|
|
837
838
|
if (_instanceof(createLinkRes, HTMLLinkElement)) {
|
package/dist/package.json
CHANGED