I am using Omeka Classis and I need to include an external JS file (@babel/polyfill) to get Internet Explorer to display my site correctly (due to some other JS libraries I am using).
The js file I’m trying to include is big and causing a hit so I only want it to load for IE users. I can’t do this with queue_js_file as this PHP execution will happen server side.
(I’ve omitted the logic for testing for IE)
I think this is to do with the framework and MVC preventing me because I’m trying to work outside the way it works.
Is there a way I can access the underlying file structure to reference this file directly from the client side?