Hello! I am trying to build multiplatform library ...
# multiplatform
o
Hello! I am trying to build multiplatform library for js with multiplatform-library-template. I've added the following configuration gradle:
Copy code
js(IR) {
        generateTypeScriptDefinitions()
        browser()
        binaries.library()
    }
And added
kotlinx.coroutines.core
as commonMain dependency:
Copy code
val commonMain by getting {
            dependencies {
                implementation(libs.kotlinx.coroutines.core)
            }
        }
When I build the library with `jsBrowserProductionLibraryDistribution`/`jsBrowserDevelopmentLibraryDistribution` , the compiled
*.js.map
files for dependencies have incorrect path to sources, like:
Copy code
"../../../../../../../../../../../mnt/agent/work/88b0986a7186d029/atomicfu/src/commonMain/kotlin/kotlinx/atomicfu/AtomicFU.common.kt"
or
Copy code
../../../../../library/build/compileSync/js/main/developmentLibrary/kotlin/js/runtime/globalThis.kt
And in both cases there are no
.kt
files on this path. How to fix the path to sources for compiled dependencies?