I’m testing out Kotlin 2.1.20-Beta2. My JS bundle...
# eap
c
I’m testing out Kotlin 2.1.20-Beta2. My JS bundle size increased ~7x (from 1.21mb with 2.1.10 to 8.5mb with 2.1.20-Beta2). Is this a bug? Or is there some build script configuration change I need to make?
youtrack new 1
1
i
Can you create an issue and attach a sample project, please?
a
There is also something strange with CPU usage on production build. It skyrockets and completely blocks computer from functioning. I do not remember it bahaving like this before.
i
@altavir Does it happen with JS compilation? Can you create a separate issue?
a
Yes, the problem arises on production webpack. The development build is OK.
i
Thank you! Can you create a separate issue in YT?
a
I am not sure I will be able to compare build time and CPU load with the old version.
i
Can you just attach a reproducer and CPU snapshot?
a
I will try to do it tomorrow
🙏 1
I also found that Webpack is not produces additional chunks and I can't seem to disable it. Still no issue since I can't compare performance with old version.
i
cc @Artem Kobzar
a
The problem with additional chunks is solved. They are produced by importAsync.
🙏 1
a
Hey @Carter. We're investigating the problem right now, and I will back-port the fix into 2.1.20-RC as soon as we have one (the current estimation is one week)
c
Thank you! Glad we could identity this issue prior to the release of 2.1.20. I’ll look forward to trying the RC when it is available.
🙏 1
a
I believe this is the main goal of such a release process cat salute So, thank you a lot for sharing your issues with us 🙏🏻