Both from reading documentation and experimentation it's relatively easy to configure kotlin-maven-plugin
in a multimodule maven project so that kotlin code in one module depending on code in some other module successfully resolves this dependency.
However, I don't understand how bundle all dependencies into a single file but rather used all compiled files independently.
So, my question is - speaking of maven, what is the minimal configuration for compiling to javascript target and bundle all project dependencies into a file?