Javascript common functions graalvm.js 22.3.1

Hi everyone, we are looking for the best way to use javascript common functions into a javascript script task

Camunda platform spring boot starter v7.17
org.graalvm.js 22.3.1

The best way that I could was include a common.js in /src/resources

image

image

It is working rigth now, but I guess there is a smarter way, isn’t it?

Thanks in advance for your ideas