How to use multiple JS modules

Hi,

I’d like to create a reusable library of Kotlin-compiling-to-JS. In my first attempt, I included the library module in my project, as an imported module. When I build my project I get separate .js files for the two JS modules. Is there a way to compile everything into one .js file?

thanks,
Rob

We don't have standard way for that. Use external tools(e.g. closure-compiler). In IDEA You can setup artifact and use "post-processing" or use File Whatcher