I have three modules:
common <--(expectedBy)-- platform-js-module <--(compile dependency)-- kotlinjs module.
When creating a bundle the code from common seems to assume that kotlin is defined in the global namespace and not the one included in the bundle. Is this a known issue?