I need to reference a static resource JS file from the header of a community portal.
What would be the appropriate way to get the url for the static resource? Right now I have the JS code of the resource loaded in the header but it's massive and I would like to move it out of the header.