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 10a864b commit 93a1b28Copy full SHA for 93a1b28
web/landing/src/Flow/Website/Twig/ImportMapExtension.php
@@ -39,6 +39,14 @@ public function renderImportmap(string $entryPoint = 'app') : string
39
$html
40
);
41
42
+ // Remove async from es-module-shims to prevent race condition
43
+ // The polyfill must load before module scripts execute
44
+ $html = \str_replace(
45
+ '<script async src="https://ga.jspm.io/npm:es-module-shims',
46
+ '<script src="https://ga.jspm.io/npm:es-module-shims',
47
+ $html
48
+ );
49
+
50
return $html;
51
}
52
0 commit comments