I’m having some problems with a multi module project and kotlin2js.
My main module depends on my other module using compile project(":common")
which makes it compile just fine but the output javascript file tries to import the other project using require('common')
which fails since there is no module named common
. For now I’ve just set the output file of common
to be node_modules/common.js
but it would like to find a better solution to this problem.