I would like to add the async property to the resulting script tag when I use the @Html.Script Razor syntax
@if (!SitefinityContext.IsBackend) { @Html.Script("/Path/to/javascript/file/products.min.js", "bottom") }
I know there is also this one:
@Html.Raw("<script src='/Path/to/javascript/file/products.min.js' async></script>")
But with this I can't specify the "bottom" parameter as above. Any idea?