As I understand, client side must always load the kotlin.js file first, then our application js files. I guess, client will never need kotlin.meta.js (123 KB) and this file is only used when transpile kotlin to js, is that correct?
The kotlin.js file size is 1.21 MB. If I minify this file, I will get ~600 KB (use jscompress.com). Compress the minified js to gz will reduce size to ~100 KB (Result of http://archive.online-convert.com/convert-to-gz). For comparison, here is the size of other frameworks: https://gist.github.com/Restuta/cda69e50a853aa64912d. Size of React is quite small when compare to Kotlin or Angular 2.
Don't you think it is too big when using for web frontend because user needs to wait to download a big js file? Is there a plan to separate into smaller modules and only include what we need? Or does anyone have ideas to improve startup time when user visit our website the first time?