Task works fine, webpack starts and I can debug the app
However, as soon as I run
browserProductionWebpack
I get a Problem while
processDceKotlinJs
is running
error: at ... (1546, 185): invalid property id
error: at ... (3946, 181): invalid property id
This looks pretty much like Issue 1077 where the use of the legacy-union package is suggested.
Before trying that however, I wanted to check out, if by now I couldn't just switch from LEGACY to IR.
However as soon as I change to IR, when gradle is confiured all the browser... tasks are gone - without any error.
What could be the issue?
here's the relevant part of build.gradle.kts:
t
turansky
03/16/2022, 8:43 PM
For legacy -
legacy-union
is required in most cases to avoid DCE problems
In IR there is no such problem
👍 1
i
iari
03/16/2022, 8:47 PM
But how can I even work with IR if the gradle tasks are gone?
the whole group "kotlin browser" isn't there anymore as soon as i switch to IR