I've got a static resource with some javascript I've written which requires another static resource to work.
I would like to include the reference to the required static resource within my static resource, so that I only have to make the reference in one place, as opposed to creating a separate component with both references in/ referencing both resources each time they are used.
I think if I make a component with both references in I'll have to create one visualforce component and one component for lightning, perhaps another for web components?
So, it'll be easier to just reference it in the javascript. Is this possible?