For now quite some time, I am no longer able to build my JavaScript targets using dependency substitutions applied to composite builds (either include or includeBuild). The main benefit was that one could skip the publishToMavenLocal step and therefore boost productivity. This works nicely for other targets, but not for JS. I have tried to get attention by filling an issue and creating a sample project (
https://youtrack.jetbrains.com/issue/KT-50064), but alas without much success as Kotlin 1.6.20 still exhibits the same problem. I am therefore wondering if any of you has found a good setup where one doesn’t need to resort to creating artifacts during the development cycles but still eventually be able to publish these artifacts once stable.