Olexandr Marchuk
10/30/2024, 3:29 PMjs(IR) {
generateTypeScriptDefinitions()
browser()
binaries.library()
}
And added kotlinx.coroutines.core
as commonMain dependency:
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:
"../../../../../../../../../../../mnt/agent/work/88b0986a7186d029/atomicfu/src/commonMain/kotlin/kotlinx/atomicfu/AtomicFU.common.kt"
or
../../../../../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?