hfhbd
10/02/2023, 12:27 PMkotlin.js.ir.output.granularity
?Edoardo Luppi
10/02/2023, 12:31 PMbinaries.withType<JsIrBinary>().configureEach {
linkTask.configure {
outputGranularity
...
Edoardo Luppi
10/02/2023, 12:34 PMhfhbd
10/02/2023, 12:34 PMEdoardo Luppi
10/02/2023, 12:35 PMEdoardo Luppi
10/02/2023, 1:02 PMIlya Goncharov [JB]
10/03/2023, 12:17 PMEdoardo Luppi
10/03/2023, 1:20 PMIlya Goncharov [JB]
10/03/2023, 1:31 PMyou mean a single non-configurable mode?Yes By webpack, I does not mean webpack exactly, but any bundler IMHO compiler can just output standard js project with multiple files and ES modules. And then they can be bundled via webpack/rollup/etc. So Kotlin/JS looks like black box which has input as Kotlin files, and just output as JS files, and then they can be consumed by any JS tooling.
Edoardo Luppi
10/03/2023, 1:34 PMEdoardo Luppi
10/03/2023, 1:37 PMhfhbd
10/03/2023, 1:45 PMhfhbd
10/03/2023, 1:46 PMEdoardo Luppi
10/03/2023, 1:51 PMhfhbd
10/03/2023, 1:54 PMhfhbd
10/03/2023, 1:55 PM