Is `sourceContent` supposed to be populated when c...
# javascript
e
Is
sourceContent
supposed to be populated when creating source maps? My settings are:
Copy code
sourceMap = true
sourceMapEmbedSources = "always"
sourceMapNamesPolicy = "fully-qualified-names"
fyi @Artem Kobzar I recall they were indeed present at some point
a
Seems like a bug, could you please create a ticket for it?
e
@Artem Kobzar will do. Some time ago we had a discussion on this exact topic and source maps were working correctly, and I could see that content. https://kotlinlang.slack.com/archives/C0B8L3U69/p1688467944646069
a
@Edoardo Luppi, I've just leaved a comment to your ticket, so, you could fix this problem on your side: https://youtrack.jetbrains.com/issue/KT-61318/KMP-JS-generated-source-maps-have-empty-sourcesContent-array#focus=Comments-27-8017562.0-0
gratitude thank you 1
e
@Artem Kobzar ahh damn, my fault then, haven't read enough docs probably, sorry
a
It's not your fault. We have this ambiguity in our DSL, so, it's our fault that we provide the ability for such confusion.