> The instruction `binaries.executable()` expli...
# javascript
c
The instruction
binaries.executable()
explicitly instructs the Kotlin compiler to emit executable
.js
files. This is the default behavior when using the current Kotlin/JS compiler, but the instruction is explicitly required if you are working with the Kotlin/JS IR compiler, or have set
kotlin.js.generate.executable.default=false
in the
gradle.properties
file.
https://kotlinlang.org/docs/js-project-setup.html#execution-environments
Isn't the IR compiler the only one available now?
👌 2
t
Now it's single
c
So
binaries.executable()
is never the default now, right? Should the documentation be changed? It's very confusing
(my initial question was "is
kotlin.js.generate.executable.default=false
still use")
t
Should the documentation be changed?
Yes, PR is required 😉
(my initial question was "is
kotlin.js.generate.executable.default=false
still use")
false
duplicates default and has no sense
c
Thanks!
Yes, PR is required 😉
I wish I had the time… Is there a way to track this somehow?
t
It can be done on GitHub in 2 clicks/2 minutes 😉