Alright, I have looked on this site and have found several different answers, none of which have worked for me. Basically had a js file that had many functions in it along
function show_message(){ alert("Hello"); } export { show_message };
and
import { show_message } from './functions'
i think this should do the trick. this is a named export/import technique. you can under this name find more information if you desire it.