the JavaScript needs to be executed as template because this components may need other resources. inside each js something like this may be found:
{{ with resources.Get "components/componentOne/style.css" }}
Question: How can I get rid of the absolute path for the resource and just get files next to the *.js in the folder? Keep in mind that this line is within a resource, not a Page
this does not work. But expresses what I’m looking for:
jmooring, you are amazing, thaks for this solution and the clarity you manage to add to all of your answers, you already helped me a lot to understand HUGO better.