I found a lot of problems with wepback on 2.1.20-B...
# javascript
a
I found a lot of problems with wepback on 2.1.20-Beta2: • The optimization does not work as expected (https://youtrack.jetbrains.com/issue/KT-74869/KJS-jsBrowserProductionWebpack-does-not-minify-output-with-2.1.20-Beta2). I get 10 Mb file where I expect 4-6 Mb file. • It takes tons of time and CPU to build webpack bundle • It started producing additional chunks without asking, and I can't find a way to disable it. Does anybody know why this happened and how to fix it?
It seems like chunks are produced by
Copy code
importAsync
r
Isn't it the expected result of using
importAsync
from kotlin-wrappers?
a
It's a known issue. I'm working on a fix and it will be landed before 2.1.20 release will be available!
gratitude thank you 1