#98927JS async option of includeJS broke by file in includeJSFooter
Description
To reproduce, have a Typoscript like:
page {
includeJS {
headerJSfile = EXT:example/Resources/Public/JavaScript/headerJSfile.js
headerJSfile.async = 1
}
includeJSFooter {
footerJSfile = EXT:example/Resources/Public/JavaScript/footerJSfile.js
}
}
Expected behavior it a HTML code like:
@<script src="/typo3temp/assets/compressed/merged-e942e6f0ca1ee79f54a389342a8850b9-78533bc4645ca634f7c62a6bbc42edef.js?1665838235" async="async"></script>async=“async”@ is not present because of the file configured in includeJSFooter.
Instead