Add type=module where needed

This commit is contained in:
Pieter Vander Vennet 2023-01-17 03:51:46 +01:00
parent 49f7deed3a
commit 14e2d71937
6 changed files with 7 additions and 7 deletions

View file

@ -270,8 +270,8 @@ async function createLandingPage(layout: LayoutConfig, manifest, whiteIcons, alr
layout.shortDescription.textFor(targetLanguage)
)
.replace(
'<script src="./index.ts"></script>',
`<script src='./index_${layout.id}.ts'></script>`
'<script type="module" src="./index.ts"></script>',
`<script type="module" src='./index_${layout.id}.ts'></script>`
)
0
try {