I have many js files where have a more function.Something like that:
// first file
function name1(){...}
function name2(){...}
function name3(){...}
function name4(){...}
...
// ...second file
function name(){...}
...
And have an entry point where I want to import that module and concatenate all namespace for webpack bundling, but I can`t use
import * as alias from "modules/myModules";
cause in my HTML I have attributes onclick, where I don`t write alias. I need something like:
import { * } from "module/myModules"
What can I do in this situation? (Do I write alias in HTML, or is there a better idea?)