Skip to content

Commit

Permalink
fix: use defer, it will be sure that the polyfill is executed before …
Browse files Browse the repository at this point in the history
…app script
  • Loading branch information
lweijian committed Oct 1, 2022
1 parent 605bf97 commit ee6dc1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/node/build.ts
Expand Up @@ -253,7 +253,7 @@ class SSGBuilder {
${helmet?.meta.toString() || ''}
${helmet?.link.toString() || ''}
${helmet?.style.toString() || ''}
<script async src='https://ga.jspm.io/npm:es-module-shims@1.6.0/dist/es-module-shims.js'></script>
<script defer src='https://ga.jspm.io/npm:es-module-shims@1.6.0/dist/es-module-shims.js'></script>
<script type="importmap">
{
"imports": {
Expand Down

0 comments on commit ee6dc1c

Please sign in to comment.