Hello and apologies for what seems like a simple problem.
The easy solution would be to provide an absolute path but this breaks the ability to easily test and deploy in multiple environments. Is there an option I can pass to tell it to build a path to the root asset folder.
Examples (assuming a script called script.js)
Thanks in advance :)