hello,i'm currently developing a Plugin for Jira,i have a JavaScript service file and i want to export some methods so other files files can use them.both files are declared as a resource in atlassian-plugin.xml
when i try to import them from my main JavaScript file and run the plugin i receive this error :
[INFO] Compiling javascript using YUI
[ERROR] syntax error
export function sayHello() {
[ERROR] syntax error
console.log("####################TEST Import######################################################################################");
[ERROR] syntax error
};
[ERROR] Compilation produced 3 syntax errors.
is it possible to import methods or do i have to write all my code in one file ?