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.
importmap-shim
<head>
<body>
1 parent 16630ae commit 2c687f1Copy full SHA for 2c687f1
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