Hey Arshath. Right now we do not support the js module system in front-end
Although you can have multiple js files and include all of them inside template.html
Refer Async Defer Scripts to check how to order the script tags. Hope this helps!
Stumbled across this feed and realised I might have been trying to use a node function that is not yet supported. Any idea if there will be support for “require” between multiple .js files? (modules)