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 0e27aef commit 592cca3Copy full SHA for 592cca3
dotcom-rendering/src/lib/assets.ts
@@ -126,15 +126,12 @@ export const generateScriptTags = (scripts: string[]): string[] =>
126
if (
127
script.match(WEB) ??
128
script.match(WEB_VARIANT_SCRIPT) ??
129
+ script.match(APPS_SCRIPT) ??
130
script.match(EDITIONS_CROSSWORD_SCRIPT)
131
) {
132
return `<script type="module" src="${script}"></script>`;
133
}
134
- if (script.match(APPS_SCRIPT)) {
135
- return `<script src="${script}"></script>`;
136
- }
137
-
138
return [
139
'<!-- The following script does not vary between browsers that support modules and those that do not -->',
140
`<script defer src="${script}"></script>`,
0 commit comments