Is there a way to loop through some files in script tag in html head section?
I am looking for something like this:
<head>
<script>
let path = './areas/js/build/bundles/";
foreach(file in path) {
// do something
}
</script>
</head>
There are some dynamically created bundles that I need to loop through them in my script tag of my html file.
Thanks for your help