https://kotlinlang.org logo
#compose-web
Title
# compose-web
s

spierce7

05/04/2021, 2:44 PM
Compose for web is only available with the JS IR compiler, which doesn’t support source-maps, right?
o

Oleksandr Karpovich [JB]

05/04/2021, 3:08 PM
b

bashor

05/04/2021, 3:22 PM
That’s right, but it’s temporary limitation.
s

spierce7

05/04/2021, 6:34 PM
@bashor Any idea how long until source maps are supported? I’d potentially be interested in trying compose web to ship something unimportant in a month or 2, but lack of source-maps kind of makes that a difficult pill to swallow.
c

Carter

05/06/2021, 1:08 PM
Related, is there a way to disable the warning about lack of source map support at compile time? I’ve got
allWarningsAsErrors
set to true, which fails my build when enabling the IR backend. I can toggle that off temporarily, but prefer to keep it enabled.
b

bashor

05/06/2021, 6:16 PM
@spierce7 maybe 1.5.20 we will manage to provide a basic support.
@Carter there is no warning since 1.5.20 https://youtrack.jetbrains.com/issue/KT-45754
Stay tuned! 😉
c

Carter

05/06/2021, 6:24 PM
Thank you!