We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7edb1f1 + 2c687f1 commit 9897a1fCopy full SHA for 9897a1f
libs/native-federation-runtime/src/lib/utils/add-import-map.ts
@@ -1,7 +1,7 @@
1
import { ImportMap } from '../model/import-map';
2
3
export function appendImportMap(importMap: ImportMap) {
4
- document.body.appendChild(
+ document.head.appendChild(
5
Object.assign(document.createElement('script'), {
6
type: 'importmap-shim',
7
innerHTML: JSON.stringify(importMap),
0 commit comments