Skip to content

Commit e7af234

Browse files
Merge pull request #24 from marco-gallinari/patch-2
IE11 support
2 parents 132f2f0 + 625e127 commit e7af234

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/mf/src/utils/dynamic-federation.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export function loadRemoteEntry(remoteEntry: string, remoteName: string): Promis
5454
resolve();
5555
}
5656

57-
document.body.append(script);
57+
document.body.appendChild(script);
5858
});
5959
}
6060

@@ -63,4 +63,4 @@ export async function loadRemoteModule<T = any>(options: LoadRemoteModuleOptions
6363
await loadRemoteEntry(options.remoteEntry, options.remoteName);
6464
}
6565
return await lookupExposedModule<T>(options.remoteName, options.exposedModule);
66-
}
66+
}

0 commit comments

Comments
 (0)