Robert Jaros
02/10/2021, 5:58 PMprojectName.js
file processed by webpack, which makes all require()
directives resolved and added to the final bundle. It probably does not impact typical use cases, but for modular framework like KVision it makes a difference. I can't just work with an empty template project with all modules in build.gradle.kts
, because the bundle is very large even though the application is just a "hello world". It's a bit surprising for me considering IR should make final bundles lighter šMarc Knaup
02/10/2021, 6:14 PMjsjoda
is in that bundle and it doesnāt even use it. And it cannot optimize within a bundle. It either imports everything or nothing.
Bot will likely be improved in the future.