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.
1 parent ef3397f commit f85d3d0Copy full SHA for f85d3d0
ImportMap/ImportMapRenderer.php
@@ -91,6 +91,7 @@ public function render(string|array $entryPoint, array $attributes = []): string
91
$scriptAttributes = $this->createAttributesString($attributes);
92
$importMapJson = json_encode(['imports' => $importMap], \JSON_THROW_ON_ERROR | \JSON_PRETTY_PRINT | \JSON_UNESCAPED_SLASHES | \JSON_HEX_TAG);
93
$output .= <<<HTML
94
+
95
<script type="importmap"$scriptAttributes>
96
$importMapJson
97
</script>
0 commit comments