natpryce03/07/2023, 5:33 PM
This project currently uses the Kotlin/JS Legacy compiler backend, which has been deprecated and will be removed in a future release.
Please migrate your project to the new IR-based compiler (https://kotl.in/jsir).
Because your build tool will not support the new Kotlin/JS compiler, you will also need to migrate to Gradle.
You can continue to use the deprecated legacy compiler in the current version of the toolchain by providing the compiler option -Xuse-deprecated-legacy-compiler.
jw03/07/2023, 5:35 PM
to see the arguments passed to the compiler and then copy them
turansky03/07/2023, 11:27 PM
./gradlew build -Pkotlin.js.compiler=ir
./gradlew build -Pkotlin.js.compiler=legacy
jw03/08/2023, 12:48 AM