Looking at the changelog, you can not see many new...
# javascript
r
Looking at the changelog, you can not see many new things between 1.3.21 and 1.3.30. It's mostly a bugfix release. So why
kotlin.js
is more than 10% larger (+200KB)? This has a significant impact on the size of the output files for Kotlin/JS apps.
i
Mostly it's new operations for unsigned arrays. Do you use any tool to strip out unused code?
r
Yes, I'm using DCE and webpack minification, but the size increase is still noticeable.
It could be also the size of serialization-runtime ...
When not used by a simple app, the previous version of
kotlinx-serialization-runtime-js.js
was reduced by DCE to 10KB, but the current version for the same app is reduced to 165KB.
So it's probably the serialization runtime "fault".