Damn, checkmate - I want to use Kotlin/JS in a Com...
# javascript
d
Damn, checkmate - I want to use Kotlin/JS in a Composite build. This requires the IR compiler, but whenever I enable the IR compiler the 'Webpack' Gradle task disappears. Is webpack not available from the IR compiler yet? Only 'nodejs' is visible - does this mean the IR compiler can only be used for back-end JS at present?
r
No. It should work.
d
Odd, the moment I set compiler to IR, either in the Gradle project or properties file, then the entire Gradle task group 'kotlin browser' disappears (and all the webpack tasks along with it).
...but the nodejs one remains.
r
do you have
binaries.executable()
in
js
section?
you need that for IR
d
...and 'kotlin browser' comes back! I failed to RTFM 🤭 and take the shame. Thank you @Robert Jaros 🙏
👍 1