Multiple Javascript files for themes

Added by Sioz Soluopogoz over 1 year ago

Is there a way to use multiple javascript files for themes, with Redmine?
I know that a theme.js file is automatically parsed by Redmine, but what if I need to have more than one file? I tried importing one file to another with no success, getting the error below:
SyntaxError: import declarations may only appear at top level of a module.

Thank you in advance,