Add version to a static file URL during load defined in the footer.blade file
I have a footer.blade.php file where I load all the JavaScript files.
Now I want to append the version to the URL dynamically.
Where globalFileVersion is defined in a separate file which I will not cache using nginx.
I have tried a couple of ways to achieve this, but I failed every time.
First
Second