For our team, the slow continuous build process of...
# javascript
b
For our team, the slow continuous build process of kotlin/js is still one of the biggest pain points. Is there a solution to reduce this hot reload times? As far as I understand, it is always one big js created that also includes all the library code when hot reloading. Can this be split to the unchanged library code with only the specific project code been rebundeld? Any other idea is welcome, sourceMaps = false is already active.
r
Use the legacy compiler for development and IR for production builds.
b
There's also an experimental incremental compilation flag as well (search around, can't remember the key)
d
For the gradle.properties kotlin.incremental.js.ir=true